From 1bbe24ad5ee4aceef29aa3d5442096b6c2516904 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 17 Dec 2023 18:03:11 +0900 Subject: [PATCH 1/3] Bump to v2.2. Updated Gamemode nofication --- config/hypr/scripts/GameMode.sh | 4 ++-- config/hypr/{v2.1.19 => v2.2} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename config/hypr/{v2.1.19 => v2.2} (100%) diff --git a/config/hypr/scripts/GameMode.sh b/config/hypr/scripts/GameMode.sh index 50aed7c..579f366 100755 --- a/config/hypr/scripts/GameMode.sh +++ b/config/hypr/scripts/GameMode.sh @@ -15,13 +15,13 @@ if [ "$HYPRGAMEMODE" = 1 ] ; then keyword general:border_size 1;\ keyword decoration:rounding 0" swww kill - dunstify -u low -i "$dunst_notif" "animations off" + dunstify -u low -i "$dunst_notif" "gamemode enabled. All animations off" exit else swww init && swww img "$HOME/.config/rofi/.current_wallpaper" sleep 0.5 ${SCRIPTSDIR}/RefreshNoWaybar.sh - dunstify -u low -i "$dunst_notif" "Animations turned on" + dunstify -u low -i "$dunst_notif" "gamemode disabled. All animations normal" exit fi hyprctl reload diff --git a/config/hypr/v2.1.19 b/config/hypr/v2.2 similarity index 100% rename from config/hypr/v2.1.19 rename to config/hypr/v2.2 From c5ac32b6a52284103ae5ccf3c424d327c51c9892 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 17 Dec 2023 19:15:07 +0900 Subject: [PATCH 2/3] maybe final changes? --- config/dunst/dunstrc | 8 ++++---- config/hypr/initial-boot.sh | 2 +- config/hypr/scripts/GameMode.sh | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/dunst/dunstrc b/config/dunst/dunstrc index 77fd1ce..bef9244 100755 --- a/config/dunst/dunstrc +++ b/config/dunst/dunstrc @@ -54,7 +54,7 @@ frame_width = 2 # Defines color of the frame around the notification window. - frame_color = "#838383" + frame_color = "#4D0EB5" # Define a color for the separator. # possible values are: @@ -232,7 +232,7 @@ # Otherwise the "#" and following would be interpreted as a comment. background = "#00000095" foreground = "#fafafa" - frame_color = "#838383" + frame_color = "#4D0EB5" timeout = 2 # Icon for notifications with low urgency, uncomment to enable icon = $HOME/.config/dunst/images/bell.png @@ -240,7 +240,7 @@ [urgency_normal] background = "#00000095" foreground = "#fafafa" - frame_color = "#838383" + frame_color = "#4D0EB5" timeout = 5 # Icon for notifications with normal urgency, uncomment to enable icon = $HOME/.config/dunst/images/bell.png @@ -248,7 +248,7 @@ [urgency_critical] background = "#00000095" foreground = "#fafafa" - frame_color = "#838383" + frame_color = "#4D0EB5" timeout = 0 # Icon for notifications with critical urgency, uncomment to enable icon = $HOME/.config/dunst/images/bell.png diff --git a/config/hypr/initial-boot.sh b/config/hypr/initial-boot.sh index 7fc5c77..a992353 100755 --- a/config/hypr/initial-boot.sh +++ b/config/hypr/initial-boot.sh @@ -31,7 +31,7 @@ if [ ! -f ~/.config/hypr/.initial_startup_done ]; then # initiate GTK dark mode and apply icon and cursor theme gsettings set org.gnome.desktop.interface gtk-theme Tokyonight-Dark-BL-LB > /dev/null 2>&1 & - gsettings set org.gnome.desktop.interface icon-theme TokyoNight-Dark > /dev/null 2>&1 & + gsettings set org.gnome.desktop.interface icon-theme Tokyonight-Dark > /dev/null 2>&1 & gsettings set org.gnome.desktop.interface cursor-theme Bibata-Modern-Ice > /dev/null 2>&1 & gsettings set org.gnome.desktop.interface cursor-size 24 > /dev/null 2>&1 & diff --git a/config/hypr/scripts/GameMode.sh b/config/hypr/scripts/GameMode.sh index 579f366..fe3fed7 100755 --- a/config/hypr/scripts/GameMode.sh +++ b/config/hypr/scripts/GameMode.sh @@ -20,7 +20,7 @@ if [ "$HYPRGAMEMODE" = 1 ] ; then else swww init && swww img "$HOME/.config/rofi/.current_wallpaper" sleep 0.5 - ${SCRIPTSDIR}/RefreshNoWaybar.sh + ${SCRIPTSDIR}/Refresh.sh dunstify -u low -i "$dunst_notif" "gamemode disabled. All animations normal" exit fi From d34cf9f4fa5744617711f2cf7f13ba45f142dcdf Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 17 Dec 2023 19:36:01 +0900 Subject: [PATCH 3/3] Separate PywalSwww & Refresh.sh, Now I remember :) --- config/hypr/scripts/Refresh.sh | 3 --- config/hypr/scripts/RefreshNoWaybar.sh | 8 ++++---- config/hypr/scripts/Wallpaper.sh | 1 + config/hypr/scripts/WallpaperSelect.sh | 1 + 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/config/hypr/scripts/Refresh.sh b/config/hypr/scripts/Refresh.sh index c9ad2a6..0d91de8 100755 --- a/config/hypr/scripts/Refresh.sh +++ b/config/hypr/scripts/Refresh.sh @@ -18,9 +18,6 @@ sleep 0.1 # Relaunch dunst with pywal-borders ${SCRIPTSDIR}/PywalDunst.sh & -# Pywal refresh -${SCRIPTSDIR}/PywalSwww.sh & - # Relaunching rainbow borders sleep 1 ${SCRIPTSDIR}/RainbowBorders.sh & diff --git a/config/hypr/scripts/RefreshNoWaybar.sh b/config/hypr/scripts/RefreshNoWaybar.sh index f177438..c834a53 100755 --- a/config/hypr/scripts/RefreshNoWaybar.sh +++ b/config/hypr/scripts/RefreshNoWaybar.sh @@ -14,13 +14,13 @@ for _prs in "${_ps[@]}"; do fi done -sleep 0.1 -# Relaunch dunst with pywal-borders -${SCRIPTSDIR}/PywalDunst.sh & - # Pywal refresh ${SCRIPTSDIR}/PywalSwww.sh & +sleep 0.5 +# Relaunch dunst with pywal-borders +${SCRIPTSDIR}/PywalDunst.sh & + # Relaunching rainbow borders sleep 1 ${SCRIPTSDIR}/RainbowBorders.sh & diff --git a/config/hypr/scripts/Wallpaper.sh b/config/hypr/scripts/Wallpaper.sh index e670dc6..38444b3 100755 --- a/config/hypr/scripts/Wallpaper.sh +++ b/config/hypr/scripts/Wallpaper.sh @@ -18,6 +18,7 @@ SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration swww query || swww init && swww img ${RANDOMPICS} $SWWW_PARAMS +${SCRIPTSDIR}/PywalSwww.sh sleep 1 ${SCRIPTSDIR}/Refresh.sh diff --git a/config/hypr/scripts/WallpaperSelect.sh b/config/hypr/scripts/WallpaperSelect.sh index 61049e5..cde4822 100755 --- a/config/hypr/scripts/WallpaperSelect.sh +++ b/config/hypr/scripts/WallpaperSelect.sh @@ -80,5 +80,6 @@ fi main +${SCRIPTSDIR}/PywalSwww.sh sleep 1 ${SCRIPTSDIR}/Refresh.sh