diff options
| author | JaKooLit <jimmielovejay@gmail.com> | 2023-11-27 13:27:28 +0900 |
|---|---|---|
| committer | JaKooLit <jimmielovejay@gmail.com> | 2023-11-27 13:27:28 +0900 |
| commit | da34f03bab6b200c699be2a9b3aaf727d1c87a2a (patch) | |
| tree | cb29346e728c6ddaf3ccbf9089e5ffc8c256b7bc /config/hypr | |
| parent | 816475928f186a6ff4486a3d1138a78ffcffd898 (diff) | |
updated dunts and Dark Light script
Diffstat (limited to 'config/hypr')
| -rwxr-xr-x | config/hypr/scripts/DarkLight.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/config/hypr/scripts/DarkLight.sh b/config/hypr/scripts/DarkLight.sh index b734abc3..e91f07a2 100755 --- a/config/hypr/scripts/DarkLight.sh +++ b/config/hypr/scripts/DarkLight.sh @@ -5,6 +5,8 @@ wallpaper_path="$HOME/Pictures/wallpapers/Dynamic-Wallpapers" hypr_config_path="$HOME/.config/hypr" waybar_config="$HOME/.config/waybar" SCRIPTSDIR="$HOME/.config/hypr/scripts" +dunst_notif="$HOME/.config/dunst/images/bell.png" + dark_rofi_pywal="$HOME/.cache/wal/colors-rofi-dark.rasi" light_rofi_pywal="$HOME/.cache/wal/colors-rofi-light.rasi" @@ -24,9 +26,9 @@ swww query || swww init swww="swww img" effect="--transition-bezier .43,1.19,1,.4 --transition-fps 30 --transition-type random --transition-pos 0.925,0.977 --transition-duration 2" -# Define functions for notifying user and updating symlinks + notify_user() { - notify-send -h string:x-canonical-private-synchronous:sys-notify -u normal "Switching to $1 mode" + dunstify -u normal -i "$dunst_notif" "Switching to $1 mode" } # Determine the current wallpaper mode by checking a configuration file |
