This commit is contained in:
2025-10-02 17:57:29 +03:00
parent d201ddf5ef
commit f52e34d2ff
5 changed files with 15 additions and 12 deletions

View File

@@ -2,7 +2,7 @@
pkill -9 waybar > /dev/null
hyprctl dispatch exec "GTK_THEME=Adwaita LC_TIME=lv_LV.UTF-8 waybar -c ~/config/config/waybar/config -s ~/config/config/waybar/style.css" > /dev/null &
hyprctl dispatch exec "GTK_THEME=Adwaita waybar -c ~/config/config/waybar/config -s ~/config/config/waybar/style.css" > /dev/null &
hyprctl reload > /dev/null &
ROBLOX_PID="$(pidof sober)"
@@ -11,13 +11,15 @@ HYPRPAPER_PID="$(pidof hyprpaper)"
# echo ${#ROBLOX_PID}
if [ ${#ROBLOX_PID} -lt 1 ]; then
trap "rm /tmp/.regretevator_state" EXIT > /dev/null
trap "rm /tmp/.regretevator_state" EXIT > /dev/null
fi
# shit
if [ ${#HYPRPAPER_PID} -lt 1 ]; then
hyprctl dispatch exec hyprpaper
sleep 1
bash ~/config/scripts/load-wallpaper.sh
if [[ "$(hostname)" == "gentoo" ]]; then
if [ ${#HYPRPAPER_PID} -lt 1 ]; then
hyprctl dispatch exec hyprpaper
sleep 1
bash ~/config/scripts/load-wallpaper.sh
fi
fi