about summary refs log tree commit diff
path: root/awesome/.config
diff options
context:
space:
mode:
Diffstat (limited to 'awesome/.config')
-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),