diff options
| author | JaKooLit <ejhay.games@gmail.com> | 2025-01-27 11:11:28 +0900 |
|---|---|---|
| committer | JaKooLit <ejhay.games@gmail.com> | 2025-01-27 11:11:39 +0900 |
| commit | 1f972b97f3b853f71e182737416c1ad485e53381 (patch) | |
| tree | 988a2e3d81c53e231db045bf1528b569176d6047 | |
| parent | 31b1aa05196433e7c287eee68bdbce84b8be351a (diff) | |
replaced the bell logo for swaync in some scripts with own Discord logo
| -rwxr-xr-x | config/hypr/UserScripts/WallpaperEffects.sh | 6 | ||||
| -rwxr-xr-x | config/hypr/UserScripts/ZshChangeTheme.sh | 8 | ||||
| -rwxr-xr-x | config/hypr/scripts/AirplaneMode.sh | 2 | ||||
| -rwxr-xr-x | config/hypr/scripts/ChangeBlur.sh | 2 | ||||
| -rwxr-xr-x | config/hypr/scripts/ChangeLayout.sh | 2 | ||||
| -rwxr-xr-x | config/hypr/scripts/GameMode.sh | 2 | ||||
| -rwxr-xr-x | config/hypr/scripts/SwitchKeyboardLayout.sh | 2 | ||||
| -rwxr-xr-x | config/hypr/scripts/TouchPad.sh | 2 | ||||
| -rw-r--r-- | config/swaync/images/ja.png | bin | 0 -> 45191 bytes |
9 files changed, 13 insertions, 13 deletions
diff --git a/config/hypr/UserScripts/WallpaperEffects.sh b/config/hypr/UserScripts/WallpaperEffects.sh index 1e84742b..481489e9 100755 --- a/config/hypr/UserScripts/WallpaperEffects.sh +++ b/config/hypr/UserScripts/WallpaperEffects.sh @@ -49,7 +49,7 @@ no-effects() { sleep 2 "$SCRIPTSDIR/Refresh.sh" - notify-send -u low -i "$iDIR/bell.png" "No wallpaper" "effects applied" + notify-send -u low -i "$iDIR/ja.png" "No wallpaper" "effects applied" # copying wallpaper for rofi menu cp "$current_wallpaper" "$wallpaper_output" } @@ -71,7 +71,7 @@ main() { no-effects elif [[ "${effects[$choice]+exists}" ]]; then # Apply selected effect - notify-send -u normal -i "$iDIR/bell.png" "Applying:" "$choice effects" + notify-send -u normal -i "$iDIR/ja.png" "Applying:" "$choice effects" eval "${effects[$choice]}" # Wait for effects to be applied sleep 1 @@ -85,7 +85,7 @@ main() { sleep 0.5 # Refresh rofi, waybar, wallust palettes "${SCRIPTSDIR}/Refresh.sh" - notify-send -u low -i "$iDIR/bell.png" "$choice" "effects applied" + notify-send -u low -i "$iDIR/ja.png" "$choice" "effects applied" else echo "Effect '$choice' not recognized." fi diff --git a/config/hypr/UserScripts/ZshChangeTheme.sh b/config/hypr/UserScripts/ZshChangeTheme.sh index 5132cd66..93cc4bf7 100755 --- a/config/hypr/UserScripts/ZshChangeTheme.sh +++ b/config/hypr/UserScripts/ZshChangeTheme.sh @@ -29,7 +29,7 @@ main() { # if nothing selected, script won't change anything if [ -z "$choice" ]; then - notify-send -u low -i "$iDIR/bell.png" "No theme selected." "No changes made!" + notify-send -u low -i "$iDIR/ja.png" "No theme selected." "No changes made!" exit 0 fi @@ -40,16 +40,16 @@ main() { # Pick a random theme from the original themes_array (excluding "Random") random_theme=${themes_array[$((RANDOM % (${#themes_array[@]} - 1) + 1))]} theme_to_set="$random_theme" - notify-send -i "$iDIR/bell.png" "Random theme:" "selected: $random_theme" + notify-send -i "$iDIR/ja.png" "Random theme:" "selected: $random_theme" else # Set theme to the selected choice theme_to_set="$choice" - notify-send -i "$iDIR/bell.png" "Theme selected:" "$choice" + notify-send -i "$iDIR/ja.png" "Theme selected:" "$choice" fi if [ -f "$zsh_path" ]; then sed -i "s/^$var_name=.*/$var_name=\"$theme_to_set\"/" "$zsh_path" - notify-send -i "$iDIR/bell.png" "OMZ theme" "applied. restart your terminal" + notify-send -i "$iDIR/ja.png" "OMZ theme" "applied. restart your terminal" else notify-send "Error:" "~.zshrc file not found!" fi diff --git a/config/hypr/scripts/AirplaneMode.sh b/config/hypr/scripts/AirplaneMode.sh index 93526b66..4379935d 100755 --- a/config/hypr/scripts/AirplaneMode.sh +++ b/config/hypr/scripts/AirplaneMode.sh @@ -2,7 +2,7 @@ # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## # Airplane Mode. Turning on or off all wifi using rfkill. -notif="$HOME/.config/swaync/images/bell.png" +notif="$HOME/.config/swaync/images/ja.png" # Check if any wireless device is blocked wifi_blocked=$(rfkill list wifi | grep -o "Soft blocked: yes") diff --git a/config/hypr/scripts/ChangeBlur.sh b/config/hypr/scripts/ChangeBlur.sh index c9d8c25c..46aaad68 100755 --- a/config/hypr/scripts/ChangeBlur.sh +++ b/config/hypr/scripts/ChangeBlur.sh @@ -2,7 +2,7 @@ # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## # Script for changing blurs on the fly -notif="$HOME/.config/swaync/images/bell.png" +notif="$HOME/.config/swaync/images/ja.png" STATE=$(hyprctl -j getoption decoration:blur:passes | jq ".int") diff --git a/config/hypr/scripts/ChangeLayout.sh b/config/hypr/scripts/ChangeLayout.sh index b13142cf..b083fcdc 100755 --- a/config/hypr/scripts/ChangeLayout.sh +++ b/config/hypr/scripts/ChangeLayout.sh @@ -2,7 +2,7 @@ # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## # for changing Hyprland Layouts (Master or Dwindle) on the fly -notif="$HOME/.config/swaync/images/bell.png" +notif="$HOME/.config/swaync/images/ja.png" LAYOUT=$(hyprctl -j getoption general:layout | jq '.str' | sed 's/"//g') diff --git a/config/hypr/scripts/GameMode.sh b/config/hypr/scripts/GameMode.sh index 7ab6f451..a5915cfb 100755 --- a/config/hypr/scripts/GameMode.sh +++ b/config/hypr/scripts/GameMode.sh @@ -2,7 +2,7 @@ # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## # Game Mode. Turning off all animations -notif="$HOME/.config/swaync/images/bell.png" +notif="$HOME/.config/swaync/images/ja.png" SCRIPTSDIR="$HOME/.config/hypr/scripts" diff --git a/config/hypr/scripts/SwitchKeyboardLayout.sh b/config/hypr/scripts/SwitchKeyboardLayout.sh index f1f8b244..f505fa6c 100755 --- a/config/hypr/scripts/SwitchKeyboardLayout.sh +++ b/config/hypr/scripts/SwitchKeyboardLayout.sh @@ -4,7 +4,7 @@ layout_file="$HOME/.cache/kb_layout" settings_file="$HOME/.config/hypr/UserConfigs/UserSettings.conf" -notif_icon="$HOME/.config/swaync/images/bell.png" +notif_icon="$HOME/.config/swaync/images/ja.png" # Refined ignore list with patterns or specific device names ignore_patterns=( diff --git a/config/hypr/scripts/TouchPad.sh b/config/hypr/scripts/TouchPad.sh index 5174968e..8509d79f 100755 --- a/config/hypr/scripts/TouchPad.sh +++ b/config/hypr/scripts/TouchPad.sh @@ -5,7 +5,7 @@ # use hyprctl devices to get your system touchpad device name # source https://github.com/hyprwm/Hyprland/discussions/4283?sort=new#discussioncomment-8648109 -notif="$HOME/.config/swaync/images/bell.png" +notif="$HOME/.config/swaync/images/ja.png" export STATUS_FILE="$XDG_RUNTIME_DIR/touchpad.status" diff --git a/config/swaync/images/ja.png b/config/swaync/images/ja.png Binary files differnew file mode 100644 index 00000000..6d9f28b8 --- /dev/null +++ b/config/swaync/images/ja.png |
