diff options
| author | JaKooLit <ejhay.games@gmail.com> | 2025-03-20 18:08:17 +0900 |
|---|---|---|
| committer | JaKooLit <ejhay.games@gmail.com> | 2025-03-20 18:08:17 +0900 |
| commit | c414b2b4bb3a5be82ce48c054b35803a04c8517e (patch) | |
| tree | a55fe5f2c0907ad0ab379fe88325278ff0f3861e /config/hypr/UserScripts | |
| parent | dffd296b92f06b1606f8d03137fbf235a39d261b (diff) | |
updated some scripts to reflect new images on swaync
Diffstat (limited to 'config/hypr/UserScripts')
| -rwxr-xr-x | config/hypr/UserScripts/WallpaperSelect.sh | 8 | ||||
| -rwxr-xr-x | config/hypr/UserScripts/ZshChangeTheme.sh | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/config/hypr/UserScripts/WallpaperSelect.sh b/config/hypr/UserScripts/WallpaperSelect.sh index fa4d9c54..e26dcd46 100755 --- a/config/hypr/UserScripts/WallpaperSelect.sh +++ b/config/hypr/UserScripts/WallpaperSelect.sh @@ -21,7 +21,7 @@ SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration # Check if package bc exists if ! command -v bc &>/dev/null; then - notify-send -i "$iDIR/ja.png" "bc missing" "Install package bc first" + notify-send -i "$iDIR/error.png" "bc missing" "Install package bc first" exit 1 fi @@ -31,7 +31,7 @@ focused_monitor=$(hyprctl monitors -j | jq -r '.[] | select(.focused) | .name') # Ensure focused_monitor is detected if [[ -z "$focused_monitor" ]]; then - notify-send -i "$iDIR/ja.png" "E-R-R-O-R" "Could not detect focused monitor" + notify-send -i "$iDIR/error.png" "E-R-R-O-R" "Could not detect focused monitor" exit 1 fi @@ -104,7 +104,7 @@ set_sddm_wallpaper() { # Check if terminal exists if ! command -v "$terminal" &>/dev/null; then - notify-send -i "$iDIR/ja.png" "Missing $terminal" "Install $terminal to enable setting of wallpaper background" + notify-send -i "$iDIR/error.png" "Missing $terminal" "Install $terminal to enable setting of wallpaper background" exit 1 fi @@ -167,7 +167,7 @@ apply_video_wallpaper() { # Check if mpvpaper is installed if ! command -v mpvpaper &> /dev/null; then - notify-send -i "$iDIR/ja.png" "E-R-R-O-R" "mpvpaper not found" + notify-send -i "$iDIR/error.png" "E-R-R-O-R" "mpvpaper not found" return 1 fi kill_wallpaper_for_video diff --git a/config/hypr/UserScripts/ZshChangeTheme.sh b/config/hypr/UserScripts/ZshChangeTheme.sh index 4919a890..cffaf5cb 100755 --- a/config/hypr/UserScripts/ZshChangeTheme.sh +++ b/config/hypr/UserScripts/ZshChangeTheme.sh @@ -10,7 +10,7 @@ iDIR="$HOME/.config/swaync/images" rofi_theme="$HOME/.config/rofi/config-zsh-theme.rasi" if [ -n "$(grep -i nixos < /etc/os-release)" ]; then - notify-send -i "$iDIR/ja.png" "NOT Supported" "Sorry NixOS does not support this KooL feature" + notify-send -i "$iDIR/note.png" "NOT Supported" "Sorry NixOS does not support this KooL feature" exit 1 fi @@ -57,7 +57,7 @@ main() { sed -i "s/^$var_name=.*/$var_name=\"$theme_to_set\"/" "$zsh_path" notify-send -i "$iDIR/ja.png" "OMZ theme" "applied. restart your terminal" else - notify-send -i "$iDIR/ja.png" "Error:" "~.zshrc file not found!" + notify-send -i "$iDIR/error.png" "E-R-R-O-R" "~.zshrc file not found!" fi } |
