add autostart script isntead
This commit is contained in:
parent
861fb05ebd
commit
2db310a772
10
config/awesome/autostart.sh
Executable file
10
config/awesome/autostart.sh
Executable file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
## run (only once) processes which spawn with the same name
|
||||||
|
function run {
|
||||||
|
if (command -v $1 && ! pgrep $1); then
|
||||||
|
$@&
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
run keepassxc
|
|
@ -584,9 +584,5 @@ client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_n
|
||||||
-- Gaps for dopamine
|
-- Gaps for dopamine
|
||||||
beautiful.useless_gap = 10
|
beautiful.useless_gap = 10
|
||||||
|
|
||||||
-- making better autostart
|
-- autostart
|
||||||
local startupApps = {
|
awful.util.spawn_with_shell("~/.config/awesome/autostart.sh")
|
||||||
'keepassxc',
|
|
||||||
}
|
|
||||||
|
|
||||||
awful.spawn.single_instance(startupApps)
|
|
||||||
|
|
Loading…
Reference in a new issue