diff options
| author | Blista Kanjo | 2023-08-23 08:15:12 -0400 |
|---|---|---|
| committer | Blista Kanjo | 2023-08-23 08:15:12 -0400 |
| commit | 1ecd0f518fce785e4272d7a053cd187a6187ebf7 (patch) | |
| tree | 9dcaaa9bd4e05638df10edb0c50611d49087e873 | |
| parent | dfdcfd4173cecc1aacdd6cf5954b8a2476a8afc3 (diff) | |
feat: add `0` tag
| -rw-r--r-- | .config/awesome/rc.lua | 6 |
1 files changed, 3 insertions, 3 deletions
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, |
