add autorun to awesome

This commit is contained in:
vincent 2018-10-02 21:06:03 +02:00
parent 4da212630f
commit 8d8764fdfe
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,14 @@
#!/usr/bin/env bash
function run {
if ! pgrep $1;
then
$@&
fi
}
run compton -b
run /usr/lib/polkit-kde-authentication-agent-1
run xinput set-prop 13 291 1
run xinput set-prop 13 283 1

View File

@ -558,3 +558,7 @@ end)
client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus end)
client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
-- }}}
--
--include autorun file
awful.spawn.with_shell("~/.config/awesome/autorun.sh")