fixed autostart secondary scripts

This commit is contained in:
iceyrazor 2025-05-26 16:52:03 -05:00
parent e6577b4106
commit c31571d643
2 changed files with 3 additions and 4 deletions

View File

@ -1,7 +1,5 @@
local ok, lualine = pcall(require, 'lualine') local ok, lualine = pcall(require, 'lualine')
if ok then if ok then
-- require('lualine').setup()
local custom_gruvbox = require'lualine.themes.base16' local custom_gruvbox = require'lualine.themes.base16'
-- Change the background of lualine_c section for normal mode -- Change the background of lualine_c section for normal mode

View File

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
cd "$(dirname "$0")"
extra=0 extra=0
if [ "$(cat /etc/hostname)" == "Kasino" ]; then if [ "$(cat /etc/hostname)" == "Kasino" ]; then
@ -42,10 +43,10 @@ if [ "$WAYLAND_DISPLAY" ]; then
fi fi
if [ -z $(pgrep -f newsboat-fetch.sh) ]; then if [ -z $(pgrep -f newsboat-fetch.sh) ]; then
~/.config/dwm/newsboat-fetch.sh & ./newsboat-fetch.sh &
fi fi
if [ -z $(pgrep -f lessons-loop.sh) ]; then if [ -z $(pgrep -f lessons-loop.sh) ]; then
~/.config/dwm/lessons-loop.sh & ./lessons-loop.sh &
fi fi
if [ -z $(pgrep wezterm) ]; then if [ -z $(pgrep wezterm) ]; then