From 1ecd0f518fce785e4272d7a053cd187a6187ebf7 Mon Sep 17 00:00:00 2001 From: Blista Kanjo Date: Wed, 23 Aug 2023 08:15:12 -0400 Subject: feat: add `0` tag --- .config/awesome/rc.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.config/awesome') diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 64e6563..b274c0b 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -163,7 +163,7 @@ mytextclock = wibox.widget.textclock(" %m/%d (%a) %H%M ") screen.connect_signal("request::desktop_decoration", function(s) -- each screen has its own tag table. - awful.tag({ " 1 ", " 2 ", " 3 ", " 4 ", " 5 ", " 6 ", " 7 ", " 8 ", " 9 " }, s, awful.layout.layouts[1]) + awful.tag({ " 1 ", " 2 ", " 3 ", " 4 ", " 5 ", " 6 ", " 7 ", " 8 ", " 9 ", " 0 " }, s, awful.layout.layouts[1]) -- create a promptbox for each screen s.mypromptbox = awful.widget.prompt() @@ -685,7 +685,7 @@ client.connect_signal("request::default_keybindings", function() return end - local tag = client.focus.screen.tags[(t.name - 2) % 9 + 1] + local tag = client.focus.screen.tags[(t.name - 2) % 10 + 1] client.focus:move_to_tag(tag) awful.tag.viewprev() end, @@ -697,7 +697,7 @@ client.connect_signal("request::default_keybindings", function() return end - local tag = client.focus.screen.tags[(t.name % 9) + 1] + local tag = client.focus.screen.tags[(t.name % 10) + 1] client.focus:move_to_tag(tag) awful.tag.viewnext() end, -- cgit v1.2.3