diff options
Diffstat (limited to '.config/awesome/misc/autostart')
| -rw-r--r-- | .config/awesome/misc/autostart/init.lua | 4 | ||||
| -rw-r--r-- | .config/awesome/misc/autostart/programs.sh | 22 |
2 files changed, 0 insertions, 26 deletions
diff --git a/.config/awesome/misc/autostart/init.lua b/.config/awesome/misc/autostart/init.lua deleted file mode 100644 index e0d4efb..0000000 --- a/.config/awesome/misc/autostart/init.lua +++ /dev/null @@ -1,4 +0,0 @@ -local awful = require "awful" -local gfs = require "gears.filesystem" - -awful.spawn.once("bash " .. gfs.get_configuration_dir() .. "/misc/autostart/programs.sh") diff --git a/.config/awesome/misc/autostart/programs.sh b/.config/awesome/misc/autostart/programs.sh deleted file mode 100644 index dbafe44..0000000 --- a/.config/awesome/misc/autostart/programs.sh +++ /dev/null @@ -1,22 +0,0 @@ -function exe () { - local cmd=$@ - if ! pgrep -x $(echo $cmd | cut -d " " -f1); then - $cmd & - fi -} - -function exe_lax () { - local cmd=$@ - if ! pgrep $(echo $cmd | cut -d " " -f1); then - $cmd & - fi -} - -exe "picom -b" -exe sxhkd -exe clipcatd -exe_lax wezterm -exe_lax "wezterm start --class code_term" -exe firefox -exe spotify -exe discord |
