mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2026-03-23 05:55:12 +00:00
fix logout menu
This commit is contained in:
parent
b2e9ccb013
commit
28ad916308
2
rc.lua
2
rc.lua
|
|
@ -77,7 +77,7 @@ awful.spawn.with_shell(
|
||||||
'if (xrdb -query | grep -q "^awesome\\.started:\\s*true$"); then exit; fi;'
|
'if (xrdb -query | grep -q "^awesome\\.started:\\s*true$"); then exit; fi;'
|
||||||
.. 'xrdb -merge <<< "awesome.started:true";'
|
.. 'xrdb -merge <<< "awesome.started:true";'
|
||||||
-- list each of your autostart commands, followed by ; inside single quotes, followed by ..
|
-- 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
|
||||||
)
|
)
|
||||||
--]]
|
--]]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -225,6 +225,9 @@ function theme.at_screen_connect(s)
|
||||||
onlock = function()
|
onlock = function()
|
||||||
awful.spawn.with_shell "slock"
|
awful.spawn.with_shell "slock"
|
||||||
end,
|
end,
|
||||||
|
onpoweroff = function()
|
||||||
|
awful.spawn.with_shell "shoutdown -h now"
|
||||||
|
end,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue