From b850b78adbf170132cb58213b311023c93be7646 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 19 Feb 2025 19:41:07 +0900 Subject: bumping to v2.3.12 --- config/hypr/scripts/WaybarLayout.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/hypr/scripts/WaybarLayout.sh') diff --git a/config/hypr/scripts/WaybarLayout.sh b/config/hypr/scripts/WaybarLayout.sh index 33f31842..604ec3af 100755 --- a/config/hypr/scripts/WaybarLayout.sh +++ b/config/hypr/scripts/WaybarLayout.sh @@ -9,6 +9,7 @@ waybar_layouts="$HOME/.config/waybar/configs" waybar_config="$HOME/.config/waybar/config" SCRIPTSDIR="$HOME/.config/hypr/scripts" rofi_config="$HOME/.config/rofi/config-waybar-layout.rasi" +msg=' 🎌 NOTE: Some waybar LAYOUT NOT fully compatible with some STYLES' # Function to display menu options menu() { @@ -23,13 +24,12 @@ menu() { # Apply selected configuration apply_config() { ln -sf "$waybar_layouts/$1" "$waybar_config" - #restart_waybar_if_needed "${SCRIPTSDIR}/Refresh.sh" & } # Main function main() { - choice=$(menu | rofi -i -dmenu -config "$rofi_config") + choice=$(menu | rofi -i -dmenu -config "$rofi_config" -mesg "$msg") if [[ -z "$choice" ]]; then echo "No option selected. Exiting." -- cgit v1.2.3 From d9257e3377abba6fe81edd5876dc432b8218df48 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 22 Feb 2025 21:46:08 +0900 Subject: some final changes for next release --- config/hypr/UserScripts/RofiBeats.sh | 5 +++- config/hypr/scripts/RofiThemeSelector.sh | 4 ++-- config/hypr/scripts/WaybarLayout.sh | 2 +- config/hypr/scripts/WaybarStyles.sh | 2 +- config/rofi/themes/KooL_style-1.rasi | 2 +- config/rofi/themes/KooL_style-10-Fancy-v2.rasi | 5 ++++ config/rofi/themes/KooL_style-10-Fancy.rasi | 2 +- .../rofi/themes/KooL_style-11-Win11-list-dark.rasi | 2 +- .../themes/KooL_style-11-Win11-list-light.rasi | 2 +- config/rofi/themes/KooL_style-12-TOP-Docu.rasi | 2 +- config/rofi/themes/KooL_style-13-Vertical.rasi | 2 +- config/rofi/themes/KooL_style-2-Dark.rasi | 2 +- config/rofi/themes/KooL_style-2-Light.rasi | 2 +- config/rofi/themes/KooL_style-3-FullScreen-v1.rasi | 2 +- config/rofi/themes/KooL_style-3-Fullscreen-v2.rasi | 2 +- config/rofi/themes/KooL_style-4.rasi | 2 +- config/rofi/themes/KooL_style-5.rasi | 2 +- config/rofi/themes/KooL_style-6.rasi | 2 +- config/rofi/themes/KooL_style-7.rasi | 2 +- config/rofi/themes/KooL_style-8.rasi | 2 +- config/rofi/themes/KooL_style-9.rasi | 2 +- copy.sh | 28 ++++++++++++++-------- 22 files changed, 47 insertions(+), 31 deletions(-) (limited to 'config/hypr/scripts/WaybarLayout.sh') diff --git a/config/hypr/UserScripts/RofiBeats.sh b/config/hypr/UserScripts/RofiBeats.sh index 1f2f3e48..74a8fe54 100755 --- a/config/hypr/UserScripts/RofiBeats.sh +++ b/config/hypr/UserScripts/RofiBeats.sh @@ -79,7 +79,9 @@ shuffle_local_music() { # Main function for playing online music play_online_music() { - choice=$(printf "%s\n" "${!online_music[@]}" | rofi -i -dmenu -config $rofi_theme) + choice=$(for online in "${!online_music[@]}"; do + echo "$online" + done | sort | rofi -i -dmenu -config "$rofi_theme") if [ -z "$choice" ]; then exit 1 @@ -93,6 +95,7 @@ play_online_music() { mpv --shuffle --vid=no "$link" } + # Check if an online music process is running and send a notification, otherwise run the main function pkill mpv && notify-send -u low -i "$iDIR/music.png" "Music stopped" || { diff --git a/config/hypr/scripts/RofiThemeSelector.sh b/config/hypr/scripts/RofiThemeSelector.sh index 2e840ea1..6fd8a6f8 100755 --- a/config/hypr/scripts/RofiThemeSelector.sh +++ b/config/hypr/scripts/RofiThemeSelector.sh @@ -15,8 +15,8 @@ rofi_theme="$HOME/.config/rofi/config-rofi-theme.rasi" menu() { options=() while IFS= read -r file; do - options+=("$(basename "$file")") - done < <(find -L "$rofi_theme_dir" -maxdepth 1 -type f -exec basename {} \; | sort) + options+=("$file") + done < <(find -L "$rofi_theme_dir" -maxdepth 1 -type f -exec basename {} \; | sort -V) printf '%s\n' "${options[@]}" } diff --git a/config/hypr/scripts/WaybarLayout.sh b/config/hypr/scripts/WaybarLayout.sh index 604ec3af..0bea6ffe 100755 --- a/config/hypr/scripts/WaybarLayout.sh +++ b/config/hypr/scripts/WaybarLayout.sh @@ -16,7 +16,7 @@ menu() { options=() while IFS= read -r file; do options+=("$(basename "$file")") - done < <(find -L "$waybar_layouts" -maxdepth 1 -type f -exec basename {} \; | sort) + done < <(find -L "$waybar_layouts" -maxdepth 1 -type f -exec basename {} \; | sort ) printf '%s\n' "${options[@]}" } diff --git a/config/hypr/scripts/WaybarStyles.sh b/config/hypr/scripts/WaybarStyles.sh index 5cba7d6a..246a66a2 100755 --- a/config/hypr/scripts/WaybarStyles.sh +++ b/config/hypr/scripts/WaybarStyles.sh @@ -18,7 +18,7 @@ menu() { if [ -f "$waybar_styles/$file" ]; then options+=("$(basename "$file" .css)") fi - done < <(find -L "$waybar_styles" -maxdepth 1 -type f -name '*.css' -exec basename {} \; | sort) + done < <(find -L "$waybar_styles" -maxdepth 1 -type f -name '*.css' -exec basename {} \; | sort ) printf '%s\n' "${options[@]}" } diff --git a/config/rofi/themes/KooL_style-1.rasi b/config/rofi/themes/KooL_style-1.rasi index 444807d8..1bae71f3 100644 --- a/config/rofi/themes/KooL_style-1.rasi +++ b/config/rofi/themes/KooL_style-1.rasi @@ -35,7 +35,7 @@ configuration { /*****-- Elements Font Size -----*****/ element-text { - font: "JetBrainsMono Nerd Font SemiBold 12"; + font: "JetBrainsMono Nerd Font SemiBold 13"; } /* ---- Window ---- */ window { diff --git a/config/rofi/themes/KooL_style-10-Fancy-v2.rasi b/config/rofi/themes/KooL_style-10-Fancy-v2.rasi index 654428b4..fe5afcdb 100644 --- a/config/rofi/themes/KooL_style-10-Fancy-v2.rasi +++ b/config/rofi/themes/KooL_style-10-Fancy-v2.rasi @@ -24,6 +24,11 @@ line-style: "none"; } +/*****-- Elements Font Size -----*****/ +element-text { + font: "JetBrainsMono Nerd Font SemiBold 13"; +} + prompt-box { background-color : transparent; } diff --git a/config/rofi/themes/KooL_style-10-Fancy.rasi b/config/rofi/themes/KooL_style-10-Fancy.rasi index a4045a73..52c9363f 100644 --- a/config/rofi/themes/KooL_style-10-Fancy.rasi +++ b/config/rofi/themes/KooL_style-10-Fancy.rasi @@ -44,7 +44,7 @@ configuration { /*****-- Elements Font Size -----*****/ element-text { - font: "JetBrainsMono Nerd Font SemiBold 12"; + font: "JetBrainsMono Nerd Font SemiBold 13"; } window { diff --git a/config/rofi/themes/KooL_style-11-Win11-list-dark.rasi b/config/rofi/themes/KooL_style-11-Win11-list-dark.rasi index a34ba1af..44532d76 100644 --- a/config/rofi/themes/KooL_style-11-Win11-list-dark.rasi +++ b/config/rofi/themes/KooL_style-11-Win11-list-dark.rasi @@ -34,7 +34,7 @@ configuration { /*****-- Elements Font Size -----*****/ element-text { - font: "JetBrainsMono Nerd Font SemiBold 12"; + font: "JetBrainsMono Nerd Font SemiBold 13"; } element-icon, element-text, scrollbar { diff --git a/config/rofi/themes/KooL_style-11-Win11-list-light.rasi b/config/rofi/themes/KooL_style-11-Win11-list-light.rasi index 8ad7504a..fdcd4f1a 100644 --- a/config/rofi/themes/KooL_style-11-Win11-list-light.rasi +++ b/config/rofi/themes/KooL_style-11-Win11-list-light.rasi @@ -34,7 +34,7 @@ configuration { /*****-- Elements Font Size -----*****/ element-text { - font: "JetBrainsMono Nerd Font SemiBold 12"; + font: "JetBrainsMono Nerd Font SemiBold 13"; } element-icon, element-text, scrollbar { diff --git a/config/rofi/themes/KooL_style-12-TOP-Docu.rasi b/config/rofi/themes/KooL_style-12-TOP-Docu.rasi index 77d0754e..824eb543 100644 --- a/config/rofi/themes/KooL_style-12-TOP-Docu.rasi +++ b/config/rofi/themes/KooL_style-12-TOP-Docu.rasi @@ -40,7 +40,7 @@ entry { /*****-- Elements Font Size -----*****/ element-text { - font: "JetBrainsMono Nerd Font SemiBold 12"; + font: "JetBrainsMono Nerd Font SemiBold 13"; } inputbar { diff --git a/config/rofi/themes/KooL_style-13-Vertical.rasi b/config/rofi/themes/KooL_style-13-Vertical.rasi index d8464177..a7cb340a 100644 --- a/config/rofi/themes/KooL_style-13-Vertical.rasi +++ b/config/rofi/themes/KooL_style-13-Vertical.rasi @@ -35,7 +35,7 @@ configuration { /*****-- Elements Font Size -----*****/ element-text { - font: "JetBrainsMono Nerd Font SemiBold 12"; + font: "JetBrainsMono Nerd Font SemiBold 13"; } /* ---- Window ---- */ diff --git a/config/rofi/themes/KooL_style-2-Dark.rasi b/config/rofi/themes/KooL_style-2-Dark.rasi index 45afe5b2..957bf8a9 100644 --- a/config/rofi/themes/KooL_style-2-Dark.rasi +++ b/config/rofi/themes/KooL_style-2-Dark.rasi @@ -25,7 +25,7 @@ configuration { } /*****-- Elements Font Size -----*****/ element-text { - font: "JetBrainsMono Nerd Font SemiBold 12"; + font: "JetBrainsMono Nerd Font SemiBold 13"; } /*****----- Main Window -----*****/ diff --git a/config/rofi/themes/KooL_style-2-Light.rasi b/config/rofi/themes/KooL_style-2-Light.rasi index 9b9280ce..93f68908 100644 --- a/config/rofi/themes/KooL_style-2-Light.rasi +++ b/config/rofi/themes/KooL_style-2-Light.rasi @@ -25,7 +25,7 @@ configuration { } /*****-- Elements Font Size -----*****/ element-text { - font: "JetBrainsMono Nerd Font SemiBold 12"; + font: "JetBrainsMono Nerd Font SemiBold 13"; } /*****----- Main Window -----*****/ diff --git a/config/rofi/themes/KooL_style-3-FullScreen-v1.rasi b/config/rofi/themes/KooL_style-3-FullScreen-v1.rasi index fa419d56..79b68c65 100644 --- a/config/rofi/themes/KooL_style-3-FullScreen-v1.rasi +++ b/config/rofi/themes/KooL_style-3-FullScreen-v1.rasi @@ -36,7 +36,7 @@ configuration { /*****-- Elements Font Size -----*****/ element-text { - font: "JetBrainsMono Nerd Font SemiBold 12"; + font: "JetBrainsMono Nerd Font SemiBold 13"; } /* ---- Global Properties ---- */ diff --git a/config/rofi/themes/KooL_style-3-Fullscreen-v2.rasi b/config/rofi/themes/KooL_style-3-Fullscreen-v2.rasi index 5fb434c1..807a57c3 100644 --- a/config/rofi/themes/KooL_style-3-Fullscreen-v2.rasi +++ b/config/rofi/themes/KooL_style-3-Fullscreen-v2.rasi @@ -58,7 +58,7 @@ configuration { /*****-- Elements Font Size -----*****/ element-text { - font: "JetBrainsMono Nerd Font SemiBold 12"; + font: "JetBrainsMono Nerd Font SemiBold 13"; } /*****----- Main Window -----*****/ diff --git a/config/rofi/themes/KooL_style-4.rasi b/config/rofi/themes/KooL_style-4.rasi index 07cbd5fe..8a7b8ed7 100644 --- a/config/rofi/themes/KooL_style-4.rasi +++ b/config/rofi/themes/KooL_style-4.rasi @@ -57,7 +57,7 @@ configuration { /*****-- Elements Font Size -----*****/ element-text { - font: "JetBrainsMono Nerd Font SemiBold 12"; + font: "JetBrainsMono Nerd Font SemiBold 13"; } /*****----- Main Window -----*****/ diff --git a/config/rofi/themes/KooL_style-5.rasi b/config/rofi/themes/KooL_style-5.rasi index d2b8161f..44f6da65 100644 --- a/config/rofi/themes/KooL_style-5.rasi +++ b/config/rofi/themes/KooL_style-5.rasi @@ -36,7 +36,7 @@ configuration { /*****-- Elements Font Size -----*****/ element-text { - font: "JetBrainsMono Nerd Font SemiBold 12"; + font: "JetBrainsMono Nerd Font SemiBold 13"; } /* ---- Window ---- */ diff --git a/config/rofi/themes/KooL_style-6.rasi b/config/rofi/themes/KooL_style-6.rasi index 4b8b3dd6..255554cf 100644 --- a/config/rofi/themes/KooL_style-6.rasi +++ b/config/rofi/themes/KooL_style-6.rasi @@ -36,7 +36,7 @@ configuration { /*****-- Elements Font Size -----*****/ element-text { - font: "JetBrainsMono Nerd Font SemiBold 12"; + font: "JetBrainsMono Nerd Font SemiBold 13"; } /* ---- Window ---- */ diff --git a/config/rofi/themes/KooL_style-7.rasi b/config/rofi/themes/KooL_style-7.rasi index cc8731d1..89e9af48 100644 --- a/config/rofi/themes/KooL_style-7.rasi +++ b/config/rofi/themes/KooL_style-7.rasi @@ -31,7 +31,7 @@ configuration { } /*****-- Elements Font Size -----*****/ element-text { - font: "JetBrainsMono Nerd Font SemiBold 12"; + font: "JetBrainsMono Nerd Font SemiBold 13"; } /*****----- Main Window -----*****/ diff --git a/config/rofi/themes/KooL_style-8.rasi b/config/rofi/themes/KooL_style-8.rasi index 516d4d22..ead645bb 100644 --- a/config/rofi/themes/KooL_style-8.rasi +++ b/config/rofi/themes/KooL_style-8.rasi @@ -30,7 +30,7 @@ configuration { /*****-- Elements Font Size -----*****/ element-text { - font: "JetBrainsMono Nerd Font SemiBold 12"; + font: "JetBrainsMono Nerd Font SemiBold 13"; } /* ---- Window ---- */ diff --git a/config/rofi/themes/KooL_style-9.rasi b/config/rofi/themes/KooL_style-9.rasi index db7f8b50..95507ea8 100644 --- a/config/rofi/themes/KooL_style-9.rasi +++ b/config/rofi/themes/KooL_style-9.rasi @@ -37,7 +37,7 @@ configuration { /*****-- Elements Font Size -----*****/ element-text { - font: "JetBrainsMono Nerd Font SemiBold 12"; + font: "JetBrainsMono Nerd Font SemiBold 13"; } /* ---- Window ---- */ diff --git a/copy.sh b/copy.sh index 3e93e2da..9a186ca2 100755 --- a/copy.sh +++ b/copy.sh @@ -63,10 +63,10 @@ echo -e "\e[35m printf "\n%.0s" {1..1} ####### Announcement -echo "${WARNING} A T T E N T I O N !${RESET}" -echo "${SKY_BLUE}KooL Hyprland v2.3.11 have some Minor Keybinds changes!${RESET}" -echo "${YELLOW}SUPER H for Keyhints and/or SUPER SHIFT K to search for Keybinds ${RESET}" -echo "${MAGENTA} Once Logged in to Kool Hyprland! ${RESET}" +echo "${YELLOW}A T T E N T I O N !${RESET}" +echo "${SKY_BLUE}This version requires nwg-displays!${RESET}" +echo "${YELLOW}previous version: Some Keybinds changes${RESET}" +echo "${MAGENTA}Kindly visit KooL Hyprland Own Wiki for the changelog${RESET}" printf "\n%.0s" {1..1} # Create Directory for Copy Logs @@ -332,8 +332,8 @@ if [ "$resolution" == "< 1440p" ]; then # Change rofi font size find "$themes_dir" -type f | while read -r file; do - if grep -Pzoq 'element-text {\n font: "JetBrainsMono Nerd Font SemiBold 12";\n}' "$file"; then - sed -i 's/font: "JetBrainsMono Nerd Font SemiBold 12"/font: "JetBrainsMono Nerd Font SemiBold 10"/' "$file" + if grep -Pzoq 'element-text {\n font: "JetBrainsMono Nerd Font SemiBold 13";\n}' "$file"; then + sed -i 's/font: "JetBrainsMono Nerd Font SemiBold 13"/font: "JetBrainsMono Nerd Font SemiBold 11"/' "$file" fi done @@ -493,15 +493,23 @@ for DIR2 in $DIRS; do # restoring waybar config and style automatically if [ "$DIR2" = "waybar" ]; then - rm -f "$HOME/.config/waybar/config" "$HOME/.config/waybar/style.css" || true - cp -L "$DIRPATH-backup-$BACKUP_DIR/config" "$HOME/.config/waybar/config" || true - cp -L "$DIRPATH-backup-$BACKUP_DIR/style.css" "$HOME/.config/waybar/style.css" || true + rm -f "$HOME/.config/waybar/config" "$HOME/.config/waybar/style.css" + cp -L "$DIRPATH-backup-$BACKUP_DIR/config" "$HOME/.config/waybar/config" + cp -L "$DIRPATH-backup-$BACKUP_DIR/style.css" "$HOME/.config/waybar/style.css" find "$DIRPATH-backup-$BACKUP_DIR/configs" -type f -exec cp -n "{}" "$HOME/.config/waybar/configs/" \; find "$DIRPATH-backup-$BACKUP_DIR/style" -type f -exec cp -n "{}" "$HOME/.config/waybar/style/" \; - echo -e "${OK} - waybar configs and styles restored automatically" 2>&1 | tee -a "$LOG" + echo -e "${OK} - unique waybar configs and styles restored automatically" 2>&1 | tee -a "$LOG" fi + + # restoring rofi themes + if [ "$DIR2" = "rofi" ]; then + find "$DIRPATH-backup-$BACKUP_DIR/themes" -type f -exec cp -n "{}" "$HOME/.config/rofi/themes/" \; + + echo -e "${OK} - unique rofi themes restored automatically" 2>&1 | tee -a "$LOG" + fi + break ;; [Nn]* ) -- cgit v1.2.3