How can I have only icons of apps tasklist in Awesome wm ver 3.5?

In Awesome 3.4 I it was possible to do this by modifying this line:
mytasklist[s] = awful.widget.tasklist(function(c)
local task = { awful.widget.tasklist.label.currenttags(c, s) }
return '', task[2], task[3], task[4]
end, mytasklist.buttons)
This would remove the title of the applications and leave only the icons, but in 3.5 that doesn't work anymore.

In awesome 3.5 this doesn't work anymore since label functions (as the anonymous function in your modified line) were replaced with filter functions which work differently. From a user's point of view (i.e. by only modifying rc.lua and theme.lua) I don't see a possibility to change or remove the tasklist text. If you really want this, one quick (and somewhat dirty) solution would be to modify the tasklist file and adding an option to toggle this in your theme file:
--- a/usr/share/awesome/lib/awful/widget/tasklist.lua
+++ b/usr/share/awesome/lib/awful/widget/tasklist_no_names.lua
@@ -61,10 +61,12 @@ local function tasklist_label(c, args)
if c.maximized_vertical then name = name .. maximized_vertical end
end
- if c.minimized then
- name = name .. (util.escape(c.icon_name) or util.escape(c.name) or util.escape("<untitled>"))
- else
- name = name .. (util.escape(c.name) or util.escape("<untitled>"))
- end
+ if theme.tasklist_show_names then
+ if c.minimized then
+ name = name .. (util.escape(c.icon_name) or util.escape(c.name) or util.escape("<untitled>"))
+ else
+ name = name .. (util.escape(c.name) or util.escape("<untitled>"))
+ end
+ end
if capi.client.focus == c then
bg = bg_focus
+++ theme.lua
+ theme.tasklist_show_names = false
Don't forget to merge the .pacnew file when updating awesome.

Similar Messages

  • How can i have a contect, whats app backup after i update iso 8.1.2 even my notes

    how can i have a contect, whats app backup after i update iso 8.1.2 even my notes

    const MAXSPEED:Number = 6;
    level < 5 ? tempEnemy.speed = enemyBaseSpeed + ((level - 1) * speedLevelInc) : tempEnemy.speed = MAXSPEED ;

  • I bought my iphone in February 2014, but I found that iphoto, pages an these programs are paid while it should be free. how can I have it as free apps?

    I bought my iphone in February 2014, but I found that iphoto, pages an these programs are paid while it should be free. how can I have it as free apps?

    See this link:
    How to get all the iWork apps, iPhoto, and iMovie for free on an eligible iPhone or iPad
    -- Léonie

  • How can I have only a specific smart folder in Finder displayed in coverflow and all other folders in icon view?

    There are a couple of smart folders actually that i want in coverflow mode only, but the rest i want in icon view. Is there a way to do this? i thought i had it figured out, but then it would revert back to the icon view for everything.

    Open one of the folders that keeps changing. Set it to the view mode you prefer. Press Command-J (Show View Options in View menu).
    At the top of the View Options screen is an item which allows one to set "Always open in xxx view". Chekmark that.
    Repeat for each folder you want.
    This is a per-folder setting. Note that the View Options screen is 'live" - you can leave it open, and as you open successive folders it will display the settings for each in turn.

  • How can I have 2 versions of Numbers but only 1 app?  Read

    This is the weirdest thing I ever saw. It's driving me crazy and making me look like  fool.
    In an earlier post I mentioned that something happened to my numbers.  The window looked very different from this afternoon when I created 2 new spread-sheets.  I must have sounded crazy to qinn below in my answer.
    Now I clicked the Numbers icon in the dock and it opened to my original Numbers 09 (2.3).  So I tried to open a sheet I created a few hours ago and it says I can't open that file, I need a later version of Numbers. OMG
    Just a though so I opened the finder, went to the applications folder and I only have ONE Numbers.app.  So I clicked on that and low-and-behold the new 3.2.2 opened!!!!!!!
    How can I have 2 versions of numbers but only one app????  I thought I was going crazy.  Now I know something isn't right.
      HELP PLEASE!!!
    Allen

    Hi Allen,
    Look in your Applications folder for an other folder "iWork '09".
    Breathe.
    Know that you are not alone. Wayne made a user tip and it is not just for you.
    Need newer version of Numbers to open file
    quinn

  • This is a silly question, but I cannot fix it! The icons that appear on my photos after I edit them, have gone away. The only way I can see them is in the Grid view. How can I get the icons back on the thumbnail photos of the full gallery that is loaded?

    This is a silly question, but I cannot fix it! The icons that appear on my photos after I edit them, have gone away. The only way I can see them is in the Grid view.
    How can I get the icons back on the thumbnail photos of the full gallery that is loaded? TIA =)

    You have likely dragged the size of the filmstrip thumbnails to a small size that prevents Lightroom from displaying the badges. Using your mouse, mouse over the top line of the filmstrip and then drag it supports to increase the size.

  • How can I have apps such as Words With Friends only update when on WiFi?

    After only having my iPhone for 5 days I have used 65% of my data, and I believe most of it is due to words with friends and chess with friends and hanging with friends.  How can I have apps such as those only update when on Wifi, or only update when I tell them to?
    I appreciate all feedback.

    Hold down the app till it jiggles then a minus sign will appear, tap the sign and the app is gone

  • How can I "archive" mails in Mail App to another internal drive/partition to save space but still have it searchable in spotlight (and preferably visible, searchable, draggable in Mail App)?

    How can I "archive" mails in Mail App to another internal drive/partition to save space but still have it searchable in spotlight (and preferably visible, searchable, draggable in Mail App)?
    Background:
    I am using Mountain Lion and Mail App and running out of space on my small primary SSD drive (where I keep OS, apps, key user preferences/data and mail for speed). The mail data is the big variable (many GBs) and I want to "archive"/move some of the old mail to my 2nd drive inside the Mac. But I still want it searchable inside spotlight and preferably even inside Mail too. And I'd like to be able to still drag and drop old mails into this archive folder.
    What I've tried that seems to work:
    This seemed to work:
    1. Move the archive folder/mailbox to the 2nd drive/partition/folder (don't delete anything inside Mail App)
    2. Create a symbolic link from its new location to the original/old location
    This seems to work, it looks as "normal" and as if nothing happened inside Mail App but the folder now resides elsewhere and seems searchable etc. But I'm not sure that once caches refresh or over time with updates etc if stuff will break horribly or corrupt.
    Is that the right way to "archive" mails in Mail App to another internal drive/partition to save space but still have it searchable in spotlight and visible, searchable, draggable in Mail App?
    Thanks in advance!
    Cheers,
    Daniel

    I'm having a similar but slightly different problem. My company just migrated to Gmail, and it's saving mail drafts every 30 seconds into my Trash folder.
    I unchecked the "Show in IMAP" preference in the Gmail settings, but my Drafts folder completely disappeared. I went back and checked it and the folder reappeared (with my drafts still in there).
    I like the idea if starting an email on my laptop and having the option of finishing it on my iPhone or iPad, so only saving Drafts locally would not be ideal.

  • Accidentally deleted an App Store app.  how can I get the icon back on my home screen?  when I search for it in the App Store it comes up 'open'. thanks.

    accidently deleted an app Store app.  how can I get the icon back on my home screen?  in the app store it comes up 'open' instead of install.

    What happens if you tap on open?
    Remember, if you ever want to find an app quickly, you can slide all the way to the left (iOS 6 and lower) or pull down (iOS 7 and later) to get to an app.
    If you know for certain that you have deleated the app, please try restarting your phone. There are many ways to do this, but the safest way would be to hold down the power button and then slide to power down.
    Once powered down, restart and try to find the icon on your screen. If you still can't find it, go into the App Store and then find the app you were trying to access. It should have an iCloud download symbol since you've purchased it before, rather than saying "install."

  • My home page only displays computers and settings icons. No other icon. How can I get other icons?

    My home page only displays computers and settings icons. No other icon. How can I get other icons?

    Looks like a sudden error being thrown up on many ATV2 units.  Yesterday, mine was fine and today I now only have 2 icons like so many other posters.
    No amounts of restarts or restores, disconnecting and reconnecting power, restarting routers, re-logging in to iTunes has any effect at all.

  • HT204053 i RECENTLY PURCHASED ANOTHER IPHONE.  MY INTERNET IS NOT WORKING.  I JUST CREATED AN APPLE ID.  WHAT'S NEXT?  I NOW HAVE TWO DIFFERENT ACCOUNTS WITH DIFFERENT USER NAMES.  HOW CAN I USE ONLY ONE ACCOUNT FOR ITUNES, ICLOUD APPLE ID ETC???

    I RECENTLY PURCHASED ANOTHER IPHONE.  MY INTERNET IS NOT WORKING.  I JUST CREATED AN APPLE ID.  WHAT'S NEXT?  I NOW HAVE TWO DIFFERENT ACCOUNTS WITH DIFFERENT USER NAMES.  HOW CAN I USE ONLY ONE ACCOUNT FOR ITUNES, ICLOUD APPLE ID ETC???

    Welcome to the Apple community.
    iTunes and iCloud and different accounts, you will need to delete both accounts from your device before adding the new details in their place.
    For iCloud go to settings > iCloud, scroll down and hit the delete button. You can then sign back in using your correct details. For iTunes go to settings >store, tap your account ID and then sign out, you can then sign back in using your correct Apple ID.

  • I have OSX Maverick on an iMac using Outlook e-mail.  PDF attachments are included in the e-mail  as the whole document rather than just the PDF icon.  How can i have just the PDF icon as an attachment?

    In Outlook my PDF attachments appear as whole documents and not just the PDF icon.  How can I have attachments included as PDF icons and not the documents?

    For your own viewing, you can of course control-click on the attachment and select "View as Icon".
    For others' viewing, it depends upon their email reader.  To ensure that attachments are not displayed expicitly you can put them all in a zip file (via control click and "Compress") then attaching them, or you can use third party stuff like Attachment Tamer.
    charlie

  • On my mac when i click on pages, a new document doesn't open instantly  but a window with my files open and then  have to click on the left bottom new document in order to open one. How can i have directly a new document when i click on pages icon

    On my mac when i click on pages, a new document doesn't open instantly  but a window with my files open and then  have to click on the left bottom < new document> in order to open one. How can i have directly a new document when i click on pages icon

    How to open an existing Pages document?
    Click Pages icon in the Dock to launch Pages.
    When Pages is open, click File menu in the  Pages menu bar.
    Select “Open”.
    When the select document  dialog box opens up, highlight/select the document and click “Open”
    at the bottom right corner of the dialog box.
    s
    https://support.apple.com/kb/PH15304?locale=en_US

  • How can i print only pages which have been highlighted, from a multi page file?

    How can i print only pages which have been highlighted, in a multi page file.

    Ah, I see want you mean. This might not be practical for you, but if you select one instance of the highlighted text and add a [space] to the little sticky note, all of the highlighted text on that page will appear in the summary.

  • In iTunes 11.0.2.26, an Albums search by track names returns albums as if they only have one track on them, but I still want to access the entire album. How can I have the search results show the entire album (with just the searched for name highlighted)?

    Hello, all.
    In iTunes 11.0.2.26, an Albums search by track names returns albums as if they only have one track on them, but I still want to access the entire album. How can I have the search results show the entire album (with just the searched for name highlighted)? For instance, I'm wanting to play an album with a particular track on it or I'm searching for albums that include that track. iTunes incorrectly assumes that all I'm after is that one track and then incorrectly displays the album as if there is only one ttrack on it. This is a bonkers default setting. Can I change this?

    Click the search magnifying glass and uncheck "Search entire library".
    Type in the name of the track.
    Click the album of interest to show tracks.
    Select the track.
    Press the X in the search box to clear the search.
    Double click the track you want to start playing first.
    tt2

Maybe you are looking for