You are not logged in.
Hi,
I'm trying to do what this poster said he was doing here: https://bbs.archlinux.org/viewtopic.php … 39#p563139
Specifically, I'm trying to save myself some trouble using mod-l each time I start up. I usually press it 5 times on each screen, so I'm guessing I want 80%.
He used
awful.tag.setmwfact(0.65, tags[s][tagnumber])so I thought I would just have to change it to 0.80, but that doesn't work (it gives me a double set of tags at the top of each (of 2) monitors and then an error). I don't know if this is because awesome has changed to support multiple monitors since you wrote your post and I'm using 2 OR if it's because I'm doing something else wrong.
My tags section is currently like this:
-- {{{ Tags
-- Define a tag table which hold all screen tags.
tags = {}
for s = 1, screen.count() do
-- Each screen has its own tag table.
tags[s] = awful.tag({ 1, 2, 3, 4, 5, 6, 7, 8, 9 }, s, layouts[4])
end
-- }}}(I like each tag to load in with layout 4 because I'm using two monitors rotated to portrait view.)
Do you know what I need to do to <<essentially mod-L each tag about 5 times>>?
My attempt to change it was to add this below the previous section:
awful.tag.setmwfact(0.80, tags[s][tagnumber])But that didn't work (instead it gave me two sets of numbers for tags at the top of each monitor, and then a red error message).
Thank you,
Rick
Last edited by rabarrett (2013-03-20 19:48:47)
Offline
I don't change the master width anymore, but when I did, I used awful.tag.setproperty()
Something like:
tags = {}
for s = 1, screen.count() do
tags[s] = awful.tag({ 1, 2, 3, 4, 5, 6, 7, 8, 9 }, s, layouts[4])
for t = 1, 9 do awful.tag.setproperty(tags[s][t], "mwfact", 0.80) end
endEdt: just tried #setmwfact() and it works for me:
tags = {}
for s = 1, screen.count() do
tags[s] = awful.tag({ 1, 2, 3, 4, 5, 6, 7, 8, 9 }, s, layouts[4])
for t = 1, 9 do awful.tag.setmwfact(0.80, tags[s][t]) end
endLast edited by tdy (2013-03-19 17:49:45)
Offline
That worked nicely, thank you!
Offline