From 59fe023e9fe81292f7f4bd068d13aee6e6dfcaa2 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Mon, 28 Apr 2025 22:40:23 +0800 Subject: walls(update): ghostty -> kitty --- walls/swww.sh | 3 ++- walls/update.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'walls') 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 & ) & -- cgit v1.2.3