Guest User

Untitled

a guest
Jan 11th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.74 KB | None | 0 0
  1. diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua
  2. index e99c54d..e50c92b 100644
  3. --- a/.config/awesome/rc.lua
  4. +++ b/.config/awesome/rc.lua
  5. @@ -343,7 +343,9 @@ for i = 1, keynumber do
  6.          awful.key({ modkey, "Shift" }, "#" .. i + 9,
  7.                    function ()
  8.                        if client.focus and tags[client.focus.screen][i] then
  9. -                          awful.client.movetotag(tags[client.focus.screen][i])
  10. +                          local screen = client.focus.screen
  11. +                          awful.client.movetotag(tags[screen][i])
  12. +                          awful.tag.viewonly(tags[screen][i])
  13.                        end
  14.                    end),
  15.          awful.key({ modkey, "Control", "Shift" }, "#" .. i + 9,
Add Comment
Please, Sign In to add comment