You are not logged in.

#1 2013-08-11 21:44:20

metal-0-1
Member
Registered: 2013-08-11
Posts: 8

Awesome WM and Shifty - I want numerical tag names

Started to use Awesome together with Shifty. However it looks like I can't rename my tags to numerical values like in Awesome itself without Shifty. It only allows me names starting with letters. I can use something like "_1" "_2" but it's not what I want. Lua code, which defines tag names, looks like this:

shifty.config.tags = {
    tagname = {
        layout    = awful.layout.suit.max,
        mwfact    = 0.60,
        exclusive = false,
        position  = 1,
        init      = true,
        screen    = 1,
        slave     = true,
    },
    tagname2 = {
        layout      = awful.layout.suit.tile.bottom,
        mwfact      = 0.65,
        exclusive   = true,
        max_clients = 1,
        position    = 4,
        init      = true,
        spawn       = browser,
    },
}

How can I change tagname and tagname2 to simply 1 and 2 ? I dont know anything about complex Lua code, so please give me a full example

Offline

#2 2013-11-13 16:29:23

bijan
Member
Registered: 2013-11-13
Posts: 3

Re: Awesome WM and Shifty - I want numerical tag names

just encountered the same problem and solved it (then decided to register to ArchLinux so if you are still wondering ...) simply remove tag names from tags definition:

-- Shifty configured tags.
shifty.config.tags = {
    {
        init      = true,
        layout    = awful.layout.suit.floating,
        exclusive = false,
    },
    {
        init      = true,
        layout    = awful.layout.suit.floating,
        exclusive = false,
    },
    {
        init      = true,
        layout    = awful.layout.suit.floating,
        exclusive = false,
    },
}

this will create 3 numerical Tags (1, 2, 3) in the startup smile also, you may found interesting information here too http://awesome.naquadah.org/wiki/Shifty#Tags

Offline

Board footer

Powered by FluxBB