about summary refs log tree commit diff
path: root/awesome/.config/awesome/rc.lua
diff options
context:
space:
mode:
authorNguyễn Gia Phong <vn.mcsinyx@gmail.com>2019-09-27 20:09:50 +0700
committerNguyễn Gia Phong <vn.mcsinyx@gmail.com>2019-09-27 20:09:50 +0700
commit9cef11d0147e1c66c3145962a0ae1b88b511ffb3 (patch)
tree883c39591a05a73c25601b6d7889ddaa5b2d83d7 /awesome/.config/awesome/rc.lua
parent6b9a1b1a3de10899b87a8a2c6e4074341d29cd02 (diff)
downloaddotfiles-9cef11d0147e1c66c3145962a0ae1b88b511ffb3.tar.gz
Update 2019-09-27
Diffstat (limited to 'awesome/.config/awesome/rc.lua')
-rw-r--r--awesome/.config/awesome/rc.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua
index 08a2b8c..46a7af5 100644
--- a/awesome/.config/awesome/rc.lua
+++ b/awesome/.config/awesome/rc.lua
@@ -525,8 +525,8 @@ local globalkeys = awful.util.table.join(
   awful.key({modkey},
             "XF86Display",
             function ()
-              awful.spawn".screenlayout/single.sh"
-              awesome.restart()
+              awful.spawn.easy_async(".screenlayout/single.sh",
+                                     function () awesome.restart() end)
             end,
             {description = "switch to single display", group = "multimedia"}),
   awful.key({}, "Print", nil, spawner(scrot_select),