diff options
| -rwxr-xr-x | walls/swww.sh | 3 | ||||
| -rwxr-xr-x | walls/update.sh | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/walls/swww.sh b/walls/swww.sh index 0ba9afc..ea66152 100755 --- a/walls/swww.sh +++ b/walls/swww.sh @@ -38,7 +38,8 @@ while true; do swaync-client --reload-css - gdbus call --session --dest com.mitchellh.ghostty --object-path /com/mitchellh/ghostty --method org.gtk.Actions.Activate reload-config [] [] & + # gdbus call --session --dest com.mitchellh.ghostty --object-path /com/mitchellh/ghostty --method org.gtk.Actions.Activate reload-config [] [] & + kitten @ action load_config_file current_bg=$(cat $XDG_CACHE_HOME/current.bg) echo $wallpappath > $XDG_CACHE_HOME/current.bg diff --git a/walls/update.sh b/walls/update.sh index e2d9bbe..390f3f2 100755 --- a/walls/update.sh +++ b/walls/update.sh @@ -32,7 +32,8 @@ ffmpeg -hwaccel cuda -i "$WALLPAPER" -y "$XDG_CACHE_HOME/bg.png" swaync-client --reload-css & - gdbus call --session --dest com.mitchellh.ghostty --object-path /com/mitchellh/ghostty --method org.gtk.Actions.Activate reload-config [] [] & + # gdbus call --session --dest com.mitchellh.ghostty --object-path /com/mitchellh/ghostty --method org.gtk.Actions.Activate reload-config [] [] & + kitten @ action load_config_file killall -USR2 hyprlock & ) & |
