From 816475928f186a6ff4486a3d1138a78ffcffd898 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 27 Nov 2023 13:02:18 +0900 Subject: [PATCH] refer to my previous commit message --- config/hypr/configs/Execs.conf | 2 +- config/hypr/scripts/Brightness.sh | 2 +- config/hypr/scripts/Volume.sh | 6 ++---- config/hypr/scripts/WallpaperRandom.sh | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/config/hypr/configs/Execs.conf b/config/hypr/configs/Execs.conf index 2cf5946..478eac2 100644 --- a/config/hypr/configs/Execs.conf +++ b/config/hypr/configs/Execs.conf @@ -10,7 +10,7 @@ exec-once = $HOME/.config/hypr/initial-boot.sh # wallpaper stuff exec-once = swww query || swww init -exec-once = $SwwwRandom $WallpaperPath # random wallpaper switcher every 5 minutes +exec-once = $SwwwRandom $WallpaperPath # random wallpaper switcher every 15 minutes #exec-once = swww query || swww init && swww img $HOME/Pictures/wallpapers/mecha-nostalgia.png # persistent wallpaper # Startup diff --git a/config/hypr/scripts/Brightness.sh b/config/hypr/scripts/Brightness.sh index 72cff89..c5c0b80 100755 --- a/config/hypr/scripts/Brightness.sh +++ b/config/hypr/scripts/Brightness.sh @@ -26,7 +26,7 @@ get_icon() { # Notify notify_user() { - notify-send -h string:x-dunst-stack-tag:brightness_notif -h int:value:$current -u low -i "$icon" "Brightness : $current%" + dunstify -h string:x-dunst-stack-tag:brightness_notif -h int:value:$current -u low -i "$icon" "Brightness : $current%" } # Change brightness diff --git a/config/hypr/scripts/Volume.sh b/config/hypr/scripts/Volume.sh index c5eab80..a51999d 100755 --- a/config/hypr/scripts/Volume.sh +++ b/config/hypr/scripts/Volume.sh @@ -24,8 +24,7 @@ get_icon() { # Notify notify_user() { -# notify-send -h string:x-canonical-private-synchronous:sys-notify -u normal -i "$(get_icon)" "Volume : $(get_volume) %" - notify-send -h int:value:$(get_volume) -h "string:x-dunst-stack-tag:volume_notif" -u low -i "$(get_icon)" "Volume : $(get_volume) %" + dunstify -h int:value:$(get_volume) -h "string:x-dunst-stack-tag:volume_notif" -u low -i "$(get_icon)" "Volume : $(get_volume) %" } @@ -71,8 +70,7 @@ get_mic_icon() { } # Notify notify_mic_user() { -# notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$(get_mic_icon)" "Mic-Level : $(pamixer --default-source --get-volume) %" - notify-send -h int:value:$(pamixer --default-source --get-volume) -h "string:x-dunst-stack-tag:volume_notif" -u low -i "$(get_mic_icon)" "Mic-Level : $(pamixer --default-source --get-volume) %" + dunstify -h int:value:$(pamixer --default-source --get-volume) -h "string:x-dunst-stack-tag:volume_notif" -u low -i "$(get_mic_icon)" "Mic-Level : $(pamixer --default-source --get-volume) %" } # Increase MIC Volume diff --git a/config/hypr/scripts/WallpaperRandom.sh b/config/hypr/scripts/WallpaperRandom.sh index 35bfcf8..910093a 100755 --- a/config/hypr/scripts/WallpaperRandom.sh +++ b/config/hypr/scripts/WallpaperRandom.sh @@ -21,7 +21,7 @@ export SWWW_TRANSITION_STEP=2 export SWWW_TRANSITION_TYPE=random # This controls (in seconds) when to switch to the next image -INTERVAL=600 +INTERVAL=900 while true; do find "$1" \