#!/bin/bash hyprctl reload > /dev/null & ROBLOX_PID="$(pidof sober)" HYPRPAPER_PID="$(pidof hyprpaper)" # echo ${#ROBLOX_PID} if [ ${#ROBLOX_PID} -lt 1 ]; then trap "rm /tmp/.regretevator_state" EXIT > /dev/null fi # shit if [[ "$(hostname)" == "gentoo" ]]; then if [ ${#HYPRPAPER_PID} -lt 1 ]; then hyprctl dispatch exec hyprpaper sleep 1 bash /etc/nixos/scripts/load-wallpaper.sh fi fi