From 0b00425dc338e739404bd200a1e2078237df71a9 Mon Sep 17 00:00:00 2001 From: installer Date: Sat, 15 Feb 2025 17:41:55 +0900 Subject: Updated rofi stuff --- config/hypr/scripts/Animations.sh | 4 ++-- config/hypr/scripts/RofiThemeSelector-modified.sh | 2 +- config/hypr/scripts/RofiThemeSelector.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'config/hypr/scripts') diff --git a/config/hypr/scripts/Animations.sh b/config/hypr/scripts/Animations.sh index 62c32257..4f49d47a 100755 --- a/config/hypr/scripts/Animations.sh +++ b/config/hypr/scripts/Animations.sh @@ -13,12 +13,12 @@ SCRIPTSDIR="$HOME/.config/hypr/scripts" animations_dir="$HOME/.config/hypr/animations" UserConfigs="$HOME/.config/hypr/UserConfigs" rofi_theme="~/.config/rofi/config-Animations.rasi" - +msg='❗NOTE:❗ This will copy animations into UserAnimations.conf' # list of animation files, sorted alphabetically with numbers first animations_list=$(find -L "$animations_dir" -maxdepth 1 -type f | sed 's/.*\///' | sed 's/\.conf$//' | sort -V) # Rofi Menu -chosen_file=$(echo "$animations_list" | rofi -i -dmenu -config $rofi_theme) +chosen_file=$(echo "$animations_list" | rofi -i -dmenu -config $rofi_theme -mesg "$msg") # Check if a file was selected if [[ -n "$chosen_file" ]]; then diff --git a/config/hypr/scripts/RofiThemeSelector-modified.sh b/config/hypr/scripts/RofiThemeSelector-modified.sh index 2af75a73..2cfc2d24 100755 --- a/config/hypr/scripts/RofiThemeSelector-modified.sh +++ b/config/hypr/scripts/RofiThemeSelector-modified.sh @@ -219,7 +219,7 @@ then # Send notification with the selected theme name selection="${theme_names[${SELECTED}]}" if [ -n "$NOTIFY_SEND" ]; then - notify-send -u low -i "$iDIR/ja.png" "Rofi Theme" "applied: $selection" + notify-send -u low -i "$iDIR/ja.png" "Rofi Theme applied:" "$selection" fi fi diff --git a/config/hypr/scripts/RofiThemeSelector.sh b/config/hypr/scripts/RofiThemeSelector.sh index 968d1f30..2e840ea1 100755 --- a/config/hypr/scripts/RofiThemeSelector.sh +++ b/config/hypr/scripts/RofiThemeSelector.sh @@ -65,7 +65,7 @@ main() { exit 0 fi add_theme_to_config "$choice" - notify-send -i "$iDIR/ja.png" -u low 'Rofi Theme' "$choice applied." + notify-send -i "$iDIR/ja.png" -u low 'Rofi Theme applied:' "$choice" } if pgrep -x "rofi" >/dev/null; then -- cgit v1.2.3