about summary refs log tree commit diff
path: root/awesome
diff options
context:
space:
mode:
authorNguyễn Gia Phong <vn.mcsinyx@gmail.com>2019-09-20 22:13:46 +0700
committerNguyễn Gia Phong <vn.mcsinyx@gmail.com>2019-09-20 22:13:46 +0700
commit6b9a1b1a3de10899b87a8a2c6e4074341d29cd02 (patch)
tree0d6c6924434be153eb09dd81886f5218244d09c3 /awesome
parent3030db8ff09ab6da0f1f941518ef5c071053c5f8 (diff)
downloaddotfiles-6b9a1b1a3de10899b87a8a2c6e4074341d29cd02.tar.gz
Update 2019-09-20
Diffstat (limited to 'awesome')
-rw-r--r--awesome/.config/awesome/rc.lua9
1 files changed, 7 insertions, 2 deletions
diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua
index 2aa8d00..08a2b8c 100644
--- a/awesome/.config/awesome/rc.lua
+++ b/awesome/.config/awesome/rc.lua
@@ -480,8 +480,6 @@ local globalkeys = awful.util.table.join(
             {description = "open Thunderbird", group = "launcher"}),
   awful.key({modkey, "Shift"}, "g", spawner"gimp",
             {description = "open GIMP", group = "launcher"}),
-  awful.key({modkey, "Shift"}, "m", spawner"moodledesktop",
-            {description = "open Moodle Desktop", group = "launcher"}),
   awful.key({modkey}, "r", spawner(ranger),
             {description = "open ranger file manager", group = "launcher"}),
   awful.key({modkey, "Shift"}, "r", spawner(ranger .. " Documents/B2"),
@@ -524,6 +522,13 @@ local globalkeys = awful.util.table.join(
             {description = "Audacious: next track", group = "multimedia"}),
   awful.key({}, "XF86Display", spawner"arandr",
             {description = "open Arandr", group = "multimedia"}),
+  awful.key({modkey},
+            "XF86Display",
+            function ()
+              awful.spawn".screenlayout/single.sh"
+              awesome.restart()
+            end,
+            {description = "switch to single display", group = "multimedia"}),
   awful.key({}, "Print", nil, spawner(scrot_select),
             {description = "shoot a window or rectangle selected with a mouse",
              group = "multimedia"}),