eww widgets and theme cycle with waybar button
This commit is contained in:
@@ -1,11 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
killall -SIGUSR2 waybar 2>/dev/null
|
||||
# Reload Waybar if running, otherwise start it
|
||||
if pgrep -x waybar >/dev/null; then
|
||||
killall -SIGUSR2 waybar
|
||||
else
|
||||
setsid waybar &>/dev/null &
|
||||
fi
|
||||
|
||||
# Restart hyprpaper
|
||||
pkill hyprpaper 2>/dev/null
|
||||
setsid hyprpaper &>/dev/null &
|
||||
|
||||
pkill -f wallpaper-cycle.sh 2>/dev/null
|
||||
setsid ~/.config/hypr/wallpaper-cycle.sh &>/dev/null &
|
||||
# Restart wallpaper cycle script
|
||||
pkill -f theme-cycle.sh 2>/dev/null
|
||||
setsid ~/.config/hypr/theme-cycle.sh &>/dev/null &
|
||||
|
||||
# Reload Hyprland config
|
||||
hyprctl reload
|
||||
Reference in New Issue
Block a user