aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/DarkLight.sh
diff options
context:
space:
mode:
authorJaKooLit <jimmielovejay@gmail.com>2023-11-27 13:27:28 +0900
committerJaKooLit <jimmielovejay@gmail.com>2023-11-27 13:27:28 +0900
commitda34f03bab6b200c699be2a9b3aaf727d1c87a2a (patch)
treecb29346e728c6ddaf3ccbf9089e5ffc8c256b7bc /config/hypr/scripts/DarkLight.sh
parent816475928f186a6ff4486a3d1138a78ffcffd898 (diff)
updated dunts and Dark Light script
Diffstat (limited to 'config/hypr/scripts/DarkLight.sh')
-rwxr-xr-xconfig/hypr/scripts/DarkLight.sh6
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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage