fix: auto start

This commit is contained in:
hesam-init 2024-02-12 19:07:57 +03:30
parent 32fa7aff42
commit dbd120d535
3 changed files with 6 additions and 2 deletions

View file

@ -14,8 +14,8 @@ exec-once = swaybg -i ~/Wallpapers/macos.png &
# exec-once = swww init; swww kill; swww init # idk why tbh
# status bar :
exec-once = sleep 1 && $scr_path/waybar-launch.sh &
exec-once = sleep 1 && $scr_path/dunst-launch.sh &
exec-once = ~/.config/hypr/scripts/waybar-launch.sh
exec-once = ~/.config/hypr/scripts/dunst-launch.sh
# exec-once = eww daemon && eww open bar
# exec-once = swayidle -w timeout 300 'gtklock' before-sleep 'gtklock' &
# exec-once = swayidle -w timeout 450 'pidof java || systemctl suspend' & # dont sleep if playing minecraft, else nvidia will fuck up

View file

@ -18,6 +18,9 @@ if [[ ! -d "$dunst_dir" ]]; then
exit 1
fi
pkill dunst
sleep 1
while true; do
logger -i "$0: Starting dunst in the background..."
dunst &

View file

@ -8,6 +8,7 @@ if [[ ! -d "$waybar_dir" ]]; then
fi
pkill waybar
sleep 1
while true; do
logger -i "$0: Starting waybar in the background..."