add autorun to awesome
This commit is contained in:
parent
4da212630f
commit
8d8764fdfe
14
awesome/.config/awesome/autorun.sh
Executable file
14
awesome/.config/awesome/autorun.sh
Executable 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
|
||||||
|
|
@ -558,3 +558,7 @@ end)
|
|||||||
client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus 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)
|
client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
|
||||||
-- }}}
|
-- }}}
|
||||||
|
--
|
||||||
|
--include autorun file
|
||||||
|
awful.spawn.with_shell("~/.config/awesome/autorun.sh")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user