added monitor navigation
This commit is contained in:
parent
87a0c319b7
commit
e458ea034b
1 changed files with 8 additions and 4 deletions
|
@ -381,8 +381,8 @@ for s = 1, screen.count() do
|
||||||
-- right_layout:add(yawn.widget)
|
-- right_layout:add(yawn.widget)
|
||||||
-- right_layout:add(tempicon)
|
-- right_layout:add(tempicon)
|
||||||
-- right_layout:add(tempwidget)
|
-- right_layout:add(tempwidget)
|
||||||
right_layout:add(baticon)
|
-- right_layout:add(baticon)
|
||||||
right_layout:add(batwidget)
|
-- right_layout:add(batwidget)
|
||||||
right_layout:add(clockicon)
|
right_layout:add(clockicon)
|
||||||
right_layout:add(mytextclock)
|
right_layout:add(mytextclock)
|
||||||
|
|
||||||
|
@ -416,7 +416,7 @@ end
|
||||||
|
|
||||||
-- {{{ Mouse Bindings
|
-- {{{ Mouse Bindings
|
||||||
root.buttons(awful.util.table.join(
|
root.buttons(awful.util.table.join(
|
||||||
awful.button({ }, 3, function () mymainmenu:toggle() end),
|
-- awful.button({ }, 3, function () mymainmenu:toggle() end),
|
||||||
awful.button({ }, 4, awful.tag.viewnext),
|
awful.button({ }, 4, awful.tag.viewnext),
|
||||||
awful.button({ }, 5, awful.tag.viewprev)
|
awful.button({ }, 5, awful.tag.viewprev)
|
||||||
))
|
))
|
||||||
|
@ -428,9 +428,13 @@ globalkeys = awful.util.table.join(
|
||||||
-- https://github.com/copycat-killer/dots/blob/master/bin/screenshot
|
-- https://github.com/copycat-killer/dots/blob/master/bin/screenshot
|
||||||
awful.key({ altkey }, "p", function() os.execute("screenshot") end),
|
awful.key({ altkey }, "p", function() os.execute("screenshot") end),
|
||||||
|
|
||||||
|
-- Monitor navigation
|
||||||
|
awful.key({ modkey }, "F1", function() awful.screen.focus(1) end),
|
||||||
|
awful.key({ modkey }, "F2", function() awful.screen.focus(2) end),
|
||||||
|
|
||||||
-- Lock Screen
|
-- Lock Screen
|
||||||
-- awful.key({ modkey }, "l", function() awful.util.spawn("python3 /home/sqozz/programming/python3/BackgroundChanger/bgchanger.py") end),
|
-- awful.key({ modkey }, "l", function() awful.util.spawn("python3 /home/sqozz/programming/python3/BackgroundChanger/bgchanger.py") end),
|
||||||
awful.key({ modkey }, "l", function() awful.util.spawn("slock") end),
|
awful.key({ modkey, "Shift" }, "l", function() awful.util.spawn("slock") end),
|
||||||
|
|
||||||
-- Tag browsing
|
-- Tag browsing
|
||||||
awful.key({ modkey }, "Left", awful.tag.viewprev ),
|
awful.key({ modkey }, "Left", awful.tag.viewprev ),
|
||||||
|
|
Loading…
Reference in a new issue