You are not logged in.

#1 2010-06-17 13:24:55

syltman
Member
Registered: 2010-06-12
Posts: 39

Removing tasklist icons from awesome?

Hello I'm having a hard time trying to figure out how to remove the icons from the tasklist in awesome. I tried the guide on http://awesome.naquadah.org/wiki/Remove_icons but it didn't work. I believe it's outdated or something because all I get is a blank bar after it and I need to go to another workspace and recover the original.

edit: Oh and if it helps, this is how it currently looks and it was the default

    
-- Create a tasklist widget
    mytasklist[s] = awful.widget.tasklist(function(c)
                                                 return awful.widget.tasklist.label.currenttags(c, s)
                                         end, mytasklist.buttons)

Last edited by syltman (2010-06-17 13:31:50)

Offline

#2 2010-06-17 15:16:48

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

Re: Removing tasklist icons from awesome?

Interesting question to which I don't readily have an answer!
But have you looked at the mailing list at http://www.mail-archive.com/awesome@naquadah.org/ ?
Searching with 'icons tasklist' yields some posts on this kind of topic, for example:
http://www.mail-archive.com/awesome@naq … 01825.html

Offline

#3 2011-09-11 12:32:05

polpot
Member
Registered: 2011-09-07
Posts: 4

Re: Removing tasklist icons from awesome?

I know I'm well beyond a year late here, but the answer provided by ninian worked perfectly -- for me at least.

Replace the corresponding code in rc.lua with

mytasklist[s] = awful.widget.tasklist.new(
  function(c)
    local text, bg, status_image, icon = 
awful.widget.tasklist.label.currenttags(c, s)
    return text, bg, status_image, nil
  end,
  mytasklist.buttons
)

This thread should be marked as solved.


When I tell the truth, it is not for the sake of convincing those who do not know it, but for the sake of defending those that do.
                                                                                                                                                                                    -- William Blake

Offline

Board footer

Powered by FluxBB