diff --git a/rc.lua b/rc.lua index b736a5c..826c676 100644 --- a/rc.lua +++ b/rc.lua @@ -77,7 +77,7 @@ awful.spawn.with_shell( 'if (xrdb -query | grep -q "^awesome\\.started:\\s*true$"); then exit; fi;' .. 'xrdb -merge <<< "awesome.started:true";' -- list each of your autostart commands, followed by ; inside single quotes, followed by .. - .. 'dex --environment Awesome --autostart --search-paths "$XDG_CONFIG_DIRS/autostart:$XDG_CONFIG_HOME/autostart"' -- https://github.com/jceb/dex + .. 'dex --environment Awesome --autostart --search-paths "$XDG_CONFIG_DIRS/autostart:$HOME/.config/autostart"' -- https://github.com/jceb/dex ) --]] diff --git a/themes/multicolor/theme.lua b/themes/multicolor/theme.lua index 444b0e5..f979371 100644 --- a/themes/multicolor/theme.lua +++ b/themes/multicolor/theme.lua @@ -225,6 +225,9 @@ function theme.at_screen_connect(s) onlock = function() awful.spawn.with_shell "slock" end, + onpoweroff = function() + awful.spawn.with_shell "shoutdown -h now" + end, }, }, }