From 5f92adac04ab956a91861447ed1337e13c9c4aff Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 16 Feb 2025 11:47:32 +0900 Subject: updated SUPER H menu to show the rofi themes menu keybinds --- config/hypr/scripts/KeyHints.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/hypr/scripts/KeyHints.sh b/config/hypr/scripts/KeyHints.sh index d69f5de8..982a97e5 100755 --- a/config/hypr/scripts/KeyHints.sh +++ b/config/hypr/scripts/KeyHints.sh @@ -62,6 +62,8 @@ GDK_BACKEND=$BACKEND yad \ " ALT SPACEBAR" "Toggle all windows to float" "all windows" \ " ALT O" "Toggle Blur" "normal or less blur" \ " Shift A" "Animations Menu" "Choose Animations via rofi" \ +" CTRL R" "Rofi Themes Menu" "Choose Rofi Themes via rofi" \ +" CTRLL Shift R" "Rofi Themes Menu v2" "Choose Rofi Themes via Theme Selector (modified)" \ " SHIFT G" "Gamemode! All animations OFF or ON" "toggle" \ " ALT E" "Rofi Emoticons" "Emoticon" \ " ALT V" "Clipboard Manager" "cliphist" \ -- cgit v1.2.3 From 159e260dd9acdb58676215a953c1f697e8e367a1 Mon Sep 17 00:00:00 2001 From: installer Date: Sun, 16 Feb 2025 17:28:11 +0900 Subject: add notification to relogin after update using notification --- config/hypr/scripts/KooLsDotsUpdate.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/config/hypr/scripts/KooLsDotsUpdate.sh b/config/hypr/scripts/KooLsDotsUpdate.sh index d0d454e6..269efadb 100755 --- a/config/hypr/scripts/KooLsDotsUpdate.sh +++ b/config/hypr/scripts/KooLsDotsUpdate.sh @@ -48,8 +48,10 @@ else cd $KooL_Dots_DIR && git stash && git pull && - ./copy.sh + ./copy.sh && + notify-send -u critical -i $iDIR 'Update Completed:' 'Kindly Log out and relogin to take effect' " + else if ! command -v kitty &> /dev/null; then notify-send -i $iDIR "Need Kitty:" "Kitty terminal not found. Please install Kitty terminal." @@ -59,7 +61,8 @@ else git clone --depth=1 https://github.com/JaKooLit/Hyprland-Dots.git $KooL_Dots_DIR && cd $KooL_Dots_DIR && chmod +x copy.sh && - ./copy.sh + ./copy.sh && + notify-send -u critical -i $iDIR 'Update Completed:' 'Kindly Log out and relogin to take effect' " fi ;; -- cgit v1.2.3 From 3d7fa52ddd4da1bb260cc14d6489e2a6fb86083b Mon Sep 17 00:00:00 2001 From: installer Date: Sun, 16 Feb 2025 17:31:39 +0900 Subject: updated notification script for update --- config/hypr/scripts/KooLsDotsUpdate.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/hypr/scripts/KooLsDotsUpdate.sh b/config/hypr/scripts/KooLsDotsUpdate.sh index 269efadb..4996da82 100755 --- a/config/hypr/scripts/KooLsDotsUpdate.sh +++ b/config/hypr/scripts/KooLsDotsUpdate.sh @@ -49,7 +49,7 @@ else git stash && git pull && ./copy.sh && - notify-send -u critical -i $iDIR 'Update Completed:' 'Kindly Log out and relogin to take effect' + notify-send -u critical -i $iDIR 'Update Completed:' 'Kindly log out and relogin to take effect' " else @@ -62,7 +62,7 @@ else cd $KooL_Dots_DIR && chmod +x copy.sh && ./copy.sh && - notify-send -u critical -i $iDIR 'Update Completed:' 'Kindly Log out and relogin to take effect' + notify-send -u critical -i $iDIR 'Update Completed:' 'Kindly log out and relogin to take effect' " fi ;; -- cgit v1.2.3 From 837926761f60b556f77bf6efcaab44cc4278004a Mon Sep 17 00:00:00 2001 From: installer Date: Sun, 16 Feb 2025 19:23:41 +0900 Subject: updated rofi beats stations --- config/hypr/UserScripts/RofiBeats.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/config/hypr/UserScripts/RofiBeats.sh b/config/hypr/UserScripts/RofiBeats.sh index 38ff8829..1f2f3e48 100755 --- a/config/hypr/UserScripts/RofiBeats.sh +++ b/config/hypr/UserScripts/RofiBeats.sh @@ -10,20 +10,22 @@ rofi_theme_1="~/.config/rofi/config-rofi-Beats-menu.rasi" # Online Stations. Edit as required declare -A online_music=( - ["Radio - Lofi Girl 🎧🎶"]="https://play.streamafrica.net/lofiradio" - ["Radio - Chillhop 🎧🎶"]="http://stream.zeno.fm/fyn8eh3h5f8uv" ["FM - Easy Rock 96.3 📻🎶"]="https://radio-stations-philippines.com/easy-rock" ["FM - Easy Rock - Baguio 91.9 📻🎶"]="https://radio-stations-philippines.com/easy-rock-baguio" ["FM - Love Radio 90.7 📻🎶"]="https://radio-stations-philippines.com/love" ["FM - WRock - CEBU 96.3 📻🎶"]="https://onlineradio.ph/126-96-3-wrock.html" ["FM - Fresh Philippines 📻🎶"]="https://onlineradio.ph/553-fresh-fm.html" + ["Radio - Lofi Girl 🎧🎶"]="https://play.streamafrica.net/lofiradio" + ["Radio - Chillhop 🎧🎶"]="http://stream.zeno.fm/fyn8eh3h5f8uv" + ["Radio - Ibiza Global 🎧🎶"]="https://filtermusic.net/ibiza-global" + ["Radio - Metal Music 🎧🎶"]="https://tunein.com/radio/mETaLmuSicRaDio-s119867/" ["YT - Wish 107.5 YT Pinoy HipHop 📻🎶"]="https://youtube.com/playlist?list=PLkrzfEDjeYJnmgMYwCKid4XIFqUKBVWEs&si=vahW_noh4UDJ5d37" ["YT - Youtube Top 100 Songs Global 📹🎶"]="https://youtube.com/playlist?list=PL4fGSI1pDJn6puJdseH2Rt9sMvt9E2M4i&si=5jsyfqcoUXBCSLeu" ["YT - Wish 107.5 YT Wishclusives 📹🎶"]="https://youtube.com/playlist?list=PLkrzfEDjeYJn5B22H9HOWP3Kxxs-DkPSM&si=d_Ld2OKhGvpH48WO" ["YT - Relaxing Piano Music 🎹🎶"]="https://youtu.be/6H7hXzjFoVU?si=nZTPREC9lnK1JJUG" ["YT - Youtube Remix 📹🎶"]="https://youtube.com/playlist?list=PLeqTkIUlrZXlSNn3tcXAa-zbo95j0iN-0" ["YT - Korean Drama OST 📹🎶"]="https://youtube.com/playlist?list=PLUge_o9AIFp4HuA-A3e3ZqENh63LuRRlQ" - ["YT - AfroBeatz 2024 📹🎶"]="https://www.youtube.com/watch?v=7uB-Eh9XVZQ" + ["YT - lofi hip hop radio beats 📹🎶"]="https://www.youtube.com/live/jfKfPfyJRdk?si=PnJIA9ErQIAw6-qd" ["YT - Relaxing Piano Jazz Music 🎹🎶"]="https://youtu.be/85UEqRat6E4?si=jXQL1Yp2VP_G6NSn" ) -- cgit v1.2.3 From 95cfbad03007b28c0a3728530e4d59b0e56ff4af Mon Sep 17 00:00:00 2001 From: installer Date: Sun, 16 Feb 2025 21:01:03 +0900 Subject: minor update UserKeybinds inorder to still launch rofi menu even launching the rofi theme selector --- config/hypr/UserConfigs/UserKeybinds.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/hypr/UserConfigs/UserKeybinds.conf b/config/hypr/UserConfigs/UserKeybinds.conf index 862ffa45..0538ee72 100644 --- a/config/hypr/UserConfigs/UserKeybinds.conf +++ b/config/hypr/UserConfigs/UserKeybinds.conf @@ -14,7 +14,7 @@ $UserScripts = $HOME/.config/hypr/UserScripts # common shortcuts #bindr = $mainMod, $mainMod_L, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window # Super Key to Launch rofi menu -bind = $mainMod, D, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window # Main Menu (APP Launcher) +bind = $mainMod, D, exec, pkill rofi || true && rofi -show drun -modi drun,filebrowser,run,window # Main Menu (APP Launcher) bind = $mainMod, B, exec, xdg-open "http:// &" # default browser bind = $mainMod, A, exec, pkill rofi || true && ags -t 'overview' # desktop overview (if installed) bind = $mainMod, Return, exec, $term #terminal @@ -30,8 +30,8 @@ bind = $mainMod ALT, O, exec, $scriptsDir/ChangeBlur.sh # Toggle blur settings bind = $mainMod SHIFT, G, exec, $scriptsDir/GameMode.sh # Toggle animations ON/OFF bind = $mainMod ALT, L, exec, $scriptsDir/ChangeLayout.sh # Toggle Master or Dwindle Layout bind = $mainMod ALT, V, exec, $scriptsDir/ClipManager.sh # Clipboard Manager -bind = $mainMod CTRL, R, exec, $scriptsDir/RofiThemeSelector.sh # modified Rofi Theme Selector -bind = $mainMod CTRL SHIFT, R, exec, $scriptsDir/RofiThemeSelector-modified.sh # modified Rofi Theme Selector +bind = $mainMod CTRL, R, exec, $scriptsDir/RofiThemeSelector.sh # KooL Rofi Menu Theme Selector +bind = $mainMod CTRL SHIFT, R, exec, pkill rofi || true && $scriptsDir/RofiThemeSelector-modified.sh # modified Rofi Theme Selector bind = $mainMod SHIFT, F, fullscreen # whole full screen bind = $mainMod CTRL, F, fullscreen, 1 # fake full screen -- cgit v1.2.3 From fe11fa7c5ab3283b90f0b9cd338cb7a1381c5344 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 17 Feb 2025 02:12:40 +0900 Subject: fixed some width issues on some rofi configs --- config/rofi/config-calc.rasi | 4 ++++ config/rofi/config-emoji.rasi | 5 +++++ config/rofi/config-waybar-layout.rasi | 13 +++++++++---- config/rofi/config-waybar-style.rasi | 6 +++++- 4 files changed, 23 insertions(+), 5 deletions(-) diff --git a/config/rofi/config-calc.rasi b/config/rofi/config-calc.rasi index 1dfd1887..87082d76 100644 --- a/config/rofi/config-calc.rasi +++ b/config/rofi/config-calc.rasi @@ -10,6 +10,10 @@ mainbox { height: inherit; } +/* ---- Window ---- */ +window { + width: 30%; +} /* ---- Entry ---- */ entry { diff --git a/config/rofi/config-emoji.rasi b/config/rofi/config-emoji.rasi index c107bdc3..4a698957 100644 --- a/config/rofi/config-emoji.rasi +++ b/config/rofi/config-emoji.rasi @@ -9,6 +9,11 @@ mainbox { [ "inputbar", "message", "listview"]; } +/* ---- Window ---- */ +window { + width: 45%; +} + /* ---- Entry ---- */ entry { width: 37%; diff --git a/config/rofi/config-waybar-layout.rasi b/config/rofi/config-waybar-layout.rasi index c179a362..ae47f30d 100644 --- a/config/rofi/config-waybar-layout.rasi +++ b/config/rofi/config-waybar-layout.rasi @@ -3,15 +3,20 @@ @import "~/.config/rofi/config.rasi" +/* ---- Mainbox ---- */ +mainbox { + children: + [ "inputbar", "listview"]; +} + /* ---- Configuration ---- */ configuration { modi: "drun"; } -/* ---- Mainbox ---- */ -mainbox { - children: - [ "inputbar", "listview"]; +/* ---- Window ---- */ +window { + width: 45%; } /* ---- Entry ---- */ diff --git a/config/rofi/config-waybar-style.rasi b/config/rofi/config-waybar-style.rasi index 12c5a757..e0e6161a 100644 --- a/config/rofi/config-waybar-style.rasi +++ b/config/rofi/config-waybar-style.rasi @@ -14,13 +14,17 @@ configuration { modi: "drun"; } +/* ---- Window ---- */ +window { + width: 45%; +} + /* ---- Entry ---- */ entry { expand: true; placeholder: " 🖼️ Search / Choose Waybar Style"; } - /* ---- Listview ---- */ listview { columns: 2; -- cgit v1.2.3 From 7b54d08a223d143afc8627a7e8a60ca3403628cc Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 17 Feb 2025 09:50:02 +0900 Subject: updated monitor resolution options which seems confused other people --- copy.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/copy.sh b/copy.sh index 98d48920..0127ce2a 100755 --- a/copy.sh +++ b/copy.sh @@ -266,12 +266,12 @@ printf "\n" # Action to do for better appearance while true; do - echo "${NOTE} ${SKY_BLUE} By default, KooL's Dots are configured for 1440p!" + echo "${NOTE} ${SKY_BLUE} By default, KooL's Dots are configured for 1440p or 2k." echo "${WARN} If you dont select proper resolution, Hyprlock will look FUNKY!" echo "${INFO} If you are not sure what is your resolution, choose 1 here!" echo "${MAGENTA}Select monitor resolution to properly configure appearance and fonts:" - echo "$YELLOW -- Enter 1. for monitor resolution 1200p or less (< 1200p)" - echo "$YELLOW -- Enter 2. for monitor resolution higher than 1440p (≥ 1440p)" + echo "$YELLOW -- Enter 1. for monitor resolution less than 1440p (< 1440p)" + echo "$YELLOW -- Enter 2. for monitor resolution equal to or higher than 1440p (≥ 1440p)" read -p "$CAT Enter the number of your choice (1 or 2): " res_choice case $res_choice in -- cgit v1.2.3 From 4e253b575df2501ded903961c2a92a39952808ed Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 17 Feb 2025 10:33:47 +0900 Subject: improved some rofi themes --- config/rofi/themes/KooL_LonerOrZ.rasi | 2 +- config/rofi/themes/KooL_style-10-Fancy-v2.rasi | 12 ++++++------ config/rofi/themes/KooL_style-11-Win11-list-dark.rasi | 3 ++- config/rofi/themes/KooL_style-11-Win11-list-light.rasi | 5 +++-- config/rofi/themes/KooL_style-12-TOP-Docu.rasi | 8 ++++---- config/rofi/themes/KooL_style-3-Fullscreen-v2.rasi | 2 +- config/rofi/themes/KooL_style-4.rasi | 9 ++++----- config/rofi/themes/KooL_style-5.rasi | 8 ++++---- config/rofi/themes/KooL_style-6.rasi | 8 ++++---- config/rofi/themes/KooL_style-7.rasi | 2 +- config/rofi/themes/KooL_style-8.rasi | 4 ++-- config/rofi/themes/KooL_style-9.rasi | 2 +- 12 files changed, 33 insertions(+), 32 deletions(-) diff --git a/config/rofi/themes/KooL_LonerOrZ.rasi b/config/rofi/themes/KooL_LonerOrZ.rasi index 5afd1f6b..ca8e30c9 100644 --- a/config/rofi/themes/KooL_LonerOrZ.rasi +++ b/config/rofi/themes/KooL_LonerOrZ.rasi @@ -65,7 +65,7 @@ entry { placeholder-color: @FG; expand: true; horizontal-align: 0; - placeholder: "Search..."; + placeholder: "Search 👀 NOTE: CTRL TAB to change MODE"; blink: true; border: 0px 0px 2px 0px; border-color: @BDR; diff --git a/config/rofi/themes/KooL_style-10-Fancy-v2.rasi b/config/rofi/themes/KooL_style-10-Fancy-v2.rasi index 3e4a55c7..21c5c41e 100644 --- a/config/rofi/themes/KooL_style-10-Fancy-v2.rasi +++ b/config/rofi/themes/KooL_style-10-Fancy-v2.rasi @@ -69,12 +69,12 @@ listview { } /* ---- Scrollbar ---- */ scrollbar { - border: 1px; - border-radius: 10px; - background-color: @blue; - handle-color: @orange; - handle-width: 5px ; - padding: 0; + border: 1px; + border-radius: 10px; + background-color: @blue; + handle-color: @orange; + handle-width: 5px ; + padding: 0; } element { border: 0px; 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 229a5297..ed8544ba 100644 --- a/config/rofi/themes/KooL_style-11-Win11-list-dark.rasi +++ b/config/rofi/themes/KooL_style-11-Win11-list-dark.rasi @@ -77,8 +77,9 @@ icon-search { } entry { - placeholder : "Type here to search"; + placeholder : "Search 👀 NOTE: CTRL TAB to change MODE"; text-color : @fg1; + horizontal-align : 0.5; } listview { 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 8d5082e6..1c2b8fa5 100644 --- a/config/rofi/themes/KooL_style-11-Win11-list-light.rasi +++ b/config/rofi/themes/KooL_style-11-Win11-list-light.rasi @@ -77,8 +77,9 @@ icon-search { } entry { - placeholder : "Type here to search"; - placeholder-color : @fg1; + placeholder : "Search 👀 NOTE: CTRL TAB to change MODE"; + text-color : @fg1; + horizontal-align : 0.5; } listview { diff --git a/config/rofi/themes/KooL_style-12-TOP-Docu.rasi b/config/rofi/themes/KooL_style-12-TOP-Docu.rasi index 55fbb0b7..f70896f5 100644 --- a/config/rofi/themes/KooL_style-12-TOP-Docu.rasi +++ b/config/rofi/themes/KooL_style-12-TOP-Docu.rasi @@ -11,10 +11,10 @@ configuration { modi: "drun,run,filebrowser"; show-icons: true; - display-drun: "Apps"; - display-run: "Run"; - display-filebrowser: "Files"; - display-window: "Windows"; + display-drun: "  "; + display-run: "  "; + display-filebrowser: "  "; + display-window: "  "; drun-display-format: "{name}"; window-format: "{w} · {c} · {t}"; dpi: 1; diff --git a/config/rofi/themes/KooL_style-3-Fullscreen-v2.rasi b/config/rofi/themes/KooL_style-3-Fullscreen-v2.rasi index 0dbf45bc..3b66d2b7 100644 --- a/config/rofi/themes/KooL_style-3-Fullscreen-v2.rasi +++ b/config/rofi/themes/KooL_style-3-Fullscreen-v2.rasi @@ -124,7 +124,7 @@ entry { background-color: transparent; text-color: @foreground; cursor: text; - placeholder: " Search"; + placeholder: " Search 👀 NOTE: CTRL TAB to change MODE"; placeholder-color: inherit; } diff --git a/config/rofi/themes/KooL_style-4.rasi b/config/rofi/themes/KooL_style-4.rasi index 7eb03c45..73ab3dfa 100644 --- a/config/rofi/themes/KooL_style-4.rasi +++ b/config/rofi/themes/KooL_style-4.rasi @@ -6,11 +6,10 @@ configuration { modi: "drun,run,filebrowser"; show-icons: true; - display-drun: " Apps"; - display-run: " Run"; - display-filebrowser: " Files"; - display-window: " Window"; - display-ssh: " SSH"; + display-drun: "  apps"; + display-run: "  term"; + display-filebrowser: "  file"; + display-window: "  window"; drun-display-format: "{name}"; window-format: "{w} · {c} · {t}"; dpi: 1; diff --git a/config/rofi/themes/KooL_style-5.rasi b/config/rofi/themes/KooL_style-5.rasi index 8609dcaf..e943abde 100644 --- a/config/rofi/themes/KooL_style-5.rasi +++ b/config/rofi/themes/KooL_style-5.rasi @@ -5,10 +5,10 @@ configuration { modi: "drun,run,filebrowser"; show-icons: true; - display-drun: "Apps"; - display-run: "Run"; - display-filebrowser: "Files"; - display-window: "Windows"; + display-drun: "  "; + display-run: "  "; + display-filebrowser: "  "; + display-window: "  "; drun-display-format: "{name}"; hover-select: true; me-select-entry: "MouseSecondary"; diff --git a/config/rofi/themes/KooL_style-6.rasi b/config/rofi/themes/KooL_style-6.rasi index 369c0854..7fb90079 100644 --- a/config/rofi/themes/KooL_style-6.rasi +++ b/config/rofi/themes/KooL_style-6.rasi @@ -6,10 +6,10 @@ configuration { modi: "drun,run,filebrowser"; show-icons: true; - display-drun: "Apps"; - display-run: "Run"; - display-filebrowser: "Files"; - display-window: "Windows"; + display-drun: "  apps"; + display-run: "  term"; + display-filebrowser: "  files"; + display-window: "  window"; drun-display-format: "{name}"; hover-select: true; me-select-entry: "MouseSecondary"; diff --git a/config/rofi/themes/KooL_style-7.rasi b/config/rofi/themes/KooL_style-7.rasi index 2ad7f714..e70c2fb5 100644 --- a/config/rofi/themes/KooL_style-7.rasi +++ b/config/rofi/themes/KooL_style-7.rasi @@ -102,7 +102,7 @@ entry { background-color: inherit; text-color: @foreground; cursor: text; - placeholder: "Search..."; + placeholder: "Search... 👀 NOTE: CTRL TAB to change MODE"; placeholder-color: inherit; } diff --git a/config/rofi/themes/KooL_style-8.rasi b/config/rofi/themes/KooL_style-8.rasi index 5d24a2ed..916e74b6 100644 --- a/config/rofi/themes/KooL_style-8.rasi +++ b/config/rofi/themes/KooL_style-8.rasi @@ -8,8 +8,8 @@ configuration { show-icons: true; display-drun: "  apps"; display-run: "  term"; - display-filebrowser: "   file"; - display-window: "   window"; + display-filebrowser: "  files"; + display-window: "  window"; drun-display-format: "{name}"; window-format: "{w} · {c} · {t}"; dpi: 1; diff --git a/config/rofi/themes/KooL_style-9.rasi b/config/rofi/themes/KooL_style-9.rasi index 7c49d929..8a1fc972 100644 --- a/config/rofi/themes/KooL_style-9.rasi +++ b/config/rofi/themes/KooL_style-9.rasi @@ -77,7 +77,7 @@ entry { placeholder-color: @FG; expand: true; horizontal-align: 0; - placeholder: " Search..."; + placeholder: " Search 👀 NOTE: CTRL TAB to change MODE"; blink: true; border: 0px 0px 2px 0px; border-color: @BDR; -- cgit v1.2.3 From 5b76cfdac242b14989621f4dea775951a192f6b6 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 17 Feb 2025 10:44:01 +0900 Subject: I better slow down. Cant please everybody anyway --- config/rofi/themes/KooL_style-1.rasi | 8 ++++---- config/rofi/themes/KooL_style-2-Dark.rasi | 8 ++++---- config/rofi/themes/KooL_style-2-Light.rasi | 8 ++++---- config/rofi/themes/KooL_style-3-FullScreen-v1.rasi | 8 ++++---- config/rofi/themes/KooL_style-3-Fullscreen-v2.rasi | 8 ++++---- config/rofi/themes/KooL_style-4.rasi | 2 +- 6 files changed, 21 insertions(+), 21 deletions(-) diff --git a/config/rofi/themes/KooL_style-1.rasi b/config/rofi/themes/KooL_style-1.rasi index 9ac62fd7..a80e6100 100644 --- a/config/rofi/themes/KooL_style-1.rasi +++ b/config/rofi/themes/KooL_style-1.rasi @@ -6,10 +6,10 @@ configuration { modi: "drun,run,filebrowser"; show-icons: true; - display-drun: "Apps"; - display-run: "Run"; - display-filebrowser: "Files"; - display-window: "Windows"; + display-drun: "  apps"; + display-run: "  term"; + display-filebrowser: "  files"; + display-window: "  window"; drun-display-format: "{name}"; window-format: "{w} · {c} · {t}"; dpi: 1; diff --git a/config/rofi/themes/KooL_style-2-Dark.rasi b/config/rofi/themes/KooL_style-2-Dark.rasi index 73c3eee7..03ba7e30 100644 --- a/config/rofi/themes/KooL_style-2-Dark.rasi +++ b/config/rofi/themes/KooL_style-2-Dark.rasi @@ -7,10 +7,10 @@ configuration { modi: "drun,filebrowser,window"; show-icons: true; - display-drun: "APPS"; - display-run: "RUN"; - display-filebrowser: "FILES"; - display-window: "WINDOW"; + display-drun: "  apps"; + display-run: "  term"; + display-filebrowser: "  files"; + display-window: "  window"; drun-display-format: "{name}"; window-format: "{w} · {c} · {t}"; dpi: 1; diff --git a/config/rofi/themes/KooL_style-2-Light.rasi b/config/rofi/themes/KooL_style-2-Light.rasi index 29ea7188..8b501645 100644 --- a/config/rofi/themes/KooL_style-2-Light.rasi +++ b/config/rofi/themes/KooL_style-2-Light.rasi @@ -7,10 +7,10 @@ configuration { modi: "drun,filebrowser,window"; show-icons: true; - display-drun: "APPS"; - display-run: "RUN"; - display-filebrowser: "FILES"; - display-window: "WINDOW"; + display-drun: "  apps"; + display-run: "  term"; + display-filebrowser: "  files"; + display-window: "  window"; drun-display-format: "{name}"; window-format: "{w} · {c} · {t}"; dpi: 1; diff --git a/config/rofi/themes/KooL_style-3-FullScreen-v1.rasi b/config/rofi/themes/KooL_style-3-FullScreen-v1.rasi index a98a6fa8..48e64a96 100644 --- a/config/rofi/themes/KooL_style-3-FullScreen-v1.rasi +++ b/config/rofi/themes/KooL_style-3-FullScreen-v1.rasi @@ -6,10 +6,10 @@ configuration { modi: "drun,run,filebrowser"; show-icons: true; - display-drun: "Apps"; - display-run: "Run"; - display-filebrowser: "Files"; - display-window: "Windows"; + display-drun: "  apps"; + display-run: "  term"; + display-filebrowser: "  files"; + display-window: "  window"; drun-display-format: "{name}"; window-format: "{w} · {c} · {t}"; dpi: 1; diff --git a/config/rofi/themes/KooL_style-3-Fullscreen-v2.rasi b/config/rofi/themes/KooL_style-3-Fullscreen-v2.rasi index 3b66d2b7..f1d9c6c0 100644 --- a/config/rofi/themes/KooL_style-3-Fullscreen-v2.rasi +++ b/config/rofi/themes/KooL_style-3-Fullscreen-v2.rasi @@ -6,10 +6,10 @@ configuration { modi: "drun,run,filebrowser"; show-icons: true; - display-drun: " Apps"; - display-run: " Run"; - display-filebrowser: " Files"; - display-window: " Windows"; + display-drun: "  apps"; + display-run: "  term"; + display-filebrowser: "  files"; + display-window: "  window"; display-ssh: " SSH"; drun-display-format: "{name}"; window-format: "{w} · {c} · {t}"; diff --git a/config/rofi/themes/KooL_style-4.rasi b/config/rofi/themes/KooL_style-4.rasi index 73ab3dfa..db3b3fdb 100644 --- a/config/rofi/themes/KooL_style-4.rasi +++ b/config/rofi/themes/KooL_style-4.rasi @@ -8,7 +8,7 @@ configuration { show-icons: true; display-drun: "  apps"; display-run: "  term"; - display-filebrowser: "  file"; + display-filebrowser: "  files"; display-window: "  window"; drun-display-format: "{name}"; window-format: "{w} · {c} · {t}"; -- cgit v1.2.3 From 3f18612ee8389cc6a74085dc4af20ec8b789dc98 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 17 Feb 2025 14:31:13 +0900 Subject: updated wlogout logic and quick edit menu --- README.md | 4 ++ config/hypr/UserConfigs/WindowRules.conf | 5 +- config/hypr/UserScripts/QuickEdit.sh | 39 +++++++------- config/hypr/scripts/Wlogout.sh | 88 ++++++++++++++++---------------- config/rofi/config-edit.rasi | 2 +- copy.sh | 27 +++++++++- 6 files changed, 97 insertions(+), 68 deletions(-) diff --git a/README.md b/README.md index 9a25c63f..a2012af0 100644 --- a/README.md +++ b/README.md @@ -136,6 +136,10 @@ chmod +x upgrade.sh - check out this page [FAQ](https://github.com/JaKooLit/Hyprland-Dots/wiki/FAQ) and [UNSOLVED ISSUES](https://github.com/JaKooLit/Hyprland-Dots/wiki/Known_Issues) +### ‼️ ⁉️ Debian and Ubuntu Users ATTENTION! +- to update your dots, follow [THIS](https://github.com/JaKooLit/Hyprland-Dots/wiki/Install_&_Update#--debian-and-ubuntu-hyprland-dots-updating-notes-) + + #### 🙋 QUESTIONS ?!?! ⁉️ - FAQ! Yes you can use these dotfiles to other distro! Just ensure to install proper packages first! If it makes you feel better, I use same config on my Gentoo:) - QUICK HINT! Click the HINT! Waybar module (note only available in Waybar default and Simple-L [TOP] layout). Can be launched by Keybind `SUPER H` diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index f2f60899..cc31af26 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -130,8 +130,9 @@ windowrulev2 = float, class:^(com.heroicgameslauncher.hgl)$, title:negative:(Her windowrulev2 = float, class:^([Ss]team)$, title:negative:^([Ss]team)$ windowrulev2 = float, class:([Tt]hunar), title:negative:(.*[Tt]hunar.*) #windowrulev2 = float, class:(electron), title:(Add Folder to Workspace) -windowrulev2 = float, initialTitle:(Add Folder to Workspace) -windowrulev2 = size 70% 60%, initialTitle:(Add Folder to Workspace) +windowrulev2 = float, title:^(Add Folder to Workspace)$ +windowrulev2 = size 70% 60%, title:^(Add Folder to Workspace)$ +windowrulev2 = center, title:^(Add Folder to Workspace)$ windowrulev2 = float, initialTitle:(Open Files) windowrulev2 = size 70% 60%, initialTitle:(Open Files) diff --git a/config/hypr/UserScripts/QuickEdit.sh b/config/hypr/UserScripts/QuickEdit.sh index c71fb166..09530881 100755 --- a/config/hypr/UserScripts/QuickEdit.sh +++ b/config/hypr/UserScripts/QuickEdit.sh @@ -10,40 +10,41 @@ tty=kitty configs="$HOME/.config/hypr/configs" UserConfigs="$HOME/.config/hypr/UserConfigs" rofi_theme="~/.config/rofi/config-edit.rasi" +msg=' ⁉️ Choose which config to View or Edit ⁉️' # Function to display the menu options menu() { cat < /dev/null; then pkill -x "wlogout" exit 0 fi -# Detect monitor resolution and scaling factor -resolution=$(hyprctl -j monitors | jq -r '.[] | select(.focused==true) | .height / .scale' | awk -F'.' '{print $1}') -hypr_scale=$(hyprctl -j monitors | jq -r '.[] | select(.focused==true) | .scale') +# Detect the current monitor's native resolution and scale +monitor_info=$(hyprctl -j monitors | jq -r '.[] | select(.focused==true)') +# extract some info +resolution=$(echo "$monitor_info" | jq -r '.height') +width=$(echo "$monitor_info" | jq -r '.width') +hypr_scale=$(echo "$monitor_info" | jq -r '.scale') + +# If hypr_scale >= 1.25 or resolution can't be detected, run wlogout with -b 3 +if [[ -z "$resolution" || ! "$resolution" =~ ^[0-9]+$ || -z "$hypr_scale" || $(awk "BEGIN {exit !($hypr_scale >= 1.25)}") -eq 1 ]]; then + echo "Hypr_scale is greater than or equal to 1.25 or resolution could not be detected, running wlogout with -b 3" + wlogout --protocol layer-shell -b 3 -T 100 -B 100 & + exit 0 +fi -# Set parameters based on screen resolution and scaling factor +# Determine the appropriate resolution range and calculate T and B values if ((resolution >= 2160)); then - T_val=$(awk "BEGIN {printf \"%.0f\", $A_2160 * 2160 * $hypr_scale / $resolution}") - B_val=$(awk "BEGIN {printf \"%.0f\", $B_2160 * 2160 * $hypr_scale / $resolution}") - echo "Setting parameters for resolution >= 4k" - wlogout --protocol layer-shell -b 6 -T $T_val -B $B_val & -elif ((resolution >= 1600 && resolution < 2160)); then - T_val=$(awk "BEGIN {printf \"%.0f\", $A_1600 * 1600 * $hypr_scale / $resolution}") - B_val=$(awk "BEGIN {printf \"%.0f\", $B_1600 * 1600 * $hypr_scale / $resolution}") - echo "Setting parameters for resolution >= 2.5k and < 4k" - wlogout --protocol layer-shell -b 6 -T $T_val -B $B_val & -elif ((resolution >= 1440 && resolution < 1600)); then - T_val=$(awk "BEGIN {printf \"%.0f\", $A_1440 * 1440 * $hypr_scale / $resolution}") - B_val=$(awk "BEGIN {printf \"%.0f\", $B_1440 * 1440 * $hypr_scale / $resolution}") - echo "Setting parameters for resolution >= 2k and < 2.5k" - wlogout --protocol layer-shell -b 6 -T $T_val -B $B_val & -elif ((resolution >= 1080 && resolution < 1440)); then - T_val=$(awk "BEGIN {printf \"%.0f\", $A_1080 * 1080 * $hypr_scale / $resolution}") - B_val=$(awk "BEGIN {printf \"%.0f\", $B_1080 * 1080 * $hypr_scale / $resolution}") - echo "Setting parameters for resolution >= 1080p and < 2k" - wlogout --protocol layer-shell -b 6 -T $T_val -B $B_val & -elif ((resolution >= 720 && resolution < 1080)); then - T_val=$(awk "BEGIN {printf \"%.0f\", $A_720 * 720 * $hypr_scale / $resolution}") - B_val=$(awk "BEGIN {printf \"%.0f\", $B_720 * 720 * $hypr_scale / $resolution}") - echo "Setting parameters for resolution >= 720p and < 1080p" - wlogout --protocol layer-shell -b 3 -T $T_val -B $B_val & + res_key=2160 +elif ((resolution >= 1600)); then + res_key=1600 +elif ((resolution >= 1440)); then + res_key=1440 +elif ((resolution >= 1080)); then + res_key=1080 else - echo "Setting default parameters" - wlogout & + res_key=720 fi + +# Calculate T and B values based on selected resolution and scale +T_val=$(awk "BEGIN {printf \"%.0f\", ${resolutions[$res_key]} * $res_key * $hypr_scale / $resolution}") +B_val=$(awk "BEGIN {printf \"%.0f\", ${resolutions[$res_key]} * $res_key * $hypr_scale / $resolution}") + +# Output the resolution setting for debugging purposes +echo "Setting parameters for resolution >= $res_key" + +# Run wlogout with -b 6 and calculated T/B values +wlogout --protocol layer-shell -b 6 -T $T_val -B $B_val & \ No newline at end of file diff --git a/config/rofi/config-edit.rasi b/config/rofi/config-edit.rasi index 60d18e34..1902ab35 100644 --- a/config/rofi/config-edit.rasi +++ b/config/rofi/config-edit.rasi @@ -6,7 +6,7 @@ /* ---- Mainbox ---- */ mainbox { children: - [ "inputbar", "listview"]; + [ "inputbar", "message", "listview"]; } diff --git a/copy.sh b/copy.sh index 0127ce2a..5f3919c4 100755 --- a/copy.sh +++ b/copy.sh @@ -30,7 +30,30 @@ if [[ $EUID -eq 0 ]]; then printf "\n%.0s" {1..2} exit 1 fi - + +# Function to print colorful text +print_color() { + printf "%b%s%b\n" "$1" "$2" "$CLEAR" +} + +# Check if dpkg is installed (use to check if Debian or Ubuntu or based distros) +if command -v dpkg &> /dev/null; then + printf "\n%.0s" {1..1} + print_color $WARNING " + █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ + KOOL DOTS version INCOMPATIBLE + █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ + + Debian / Ubuntu detected. Refer to Hyprland-Dots README + For instruction on how to update your KooL Hyprland Dots + + exiting .... + " + printf "\n%.0s" {1..3} + exit 1 +fi + + printf "\n%.0s" {1..1} echo -e "\e[35m ╦╔═┌─┐┌─┐╦ ╔╦╗┌─┐┌┬┐┌─┐ @@ -143,6 +166,7 @@ You need to set it Manually Setting a wrong Keyboard Layout will cause Hyprland to crash If you are not sure, just type ${YELLOW}us${RESET} +${SKYBLUE}You can change later in ~/.config/hypr/UserConfigs/UserSettings.conf${RESET} ${MAGENTA} NOTE:${RESET} • You can also set more than 2 keyboard layouts @@ -190,6 +214,7 @@ You need to set it Manually Setting a wrong Keyboard Layout will cause Hyprland to crash If you are not sure, just type ${YELLOW}us${RESET} +${SKYBLUE}You can change later in ~/.config/hypr/UserConfigs/UserSettings.conf${RESET} ${MAGENTA} NOTE:${RESET} • You can also set more than 2 keyboard layouts -- cgit v1.2.3 From ac652daf9e277e44c79d249b9dea6a8b42c16026 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 17 Feb 2025 14:56:27 +0900 Subject: updated some rofi configs. Increased some additional width for compatibility with users with scaling --- config/rofi/config-Animations.rasi | 4 ++-- config/rofi/config-edit.rasi | 2 +- config/rofi/config-rofi-Beats-menu.rasi | 4 ++-- config/rofi/config-rofi-Beats.rasi | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/rofi/config-Animations.rasi b/config/rofi/config-Animations.rasi index 7c458b09..ef7adc6c 100644 --- a/config/rofi/config-Animations.rasi +++ b/config/rofi/config-Animations.rasi @@ -11,12 +11,12 @@ mainbox { /* ---- Window ---- */ window { - width: 30%; + width: 45%; } /* ---- Entry ---- */ entry { - width: 28%; + width: 43%; placeholder: " ✨ Search / Choose which Animations to load"; } diff --git a/config/rofi/config-edit.rasi b/config/rofi/config-edit.rasi index 1902ab35..1e2bc848 100644 --- a/config/rofi/config-edit.rasi +++ b/config/rofi/config-edit.rasi @@ -17,7 +17,7 @@ configuration { /* ---- Window ---- */ window { - width: 45%; + width: 50%; } diff --git a/config/rofi/config-rofi-Beats-menu.rasi b/config/rofi/config-rofi-Beats-menu.rasi index b6a573f8..c4691bba 100644 --- a/config/rofi/config-rofi-Beats-menu.rasi +++ b/config/rofi/config-rofi-Beats-menu.rasi @@ -12,13 +12,13 @@ mainbox { /* ---- Entry ---- */ entry { expand: false; - width: 17%; + width: 27%; placeholder: " 📻 Choose Music Source"; } /* ---- Window ---- */ window { - width: 20%; + width: 30%; } /* ---- Listview ---- */ diff --git a/config/rofi/config-rofi-Beats.rasi b/config/rofi/config-rofi-Beats.rasi index b8121286..a20e39a9 100644 --- a/config/rofi/config-rofi-Beats.rasi +++ b/config/rofi/config-rofi-Beats.rasi @@ -13,7 +13,7 @@ mainbox { children: [ "inputbar", "listview"]; } - +R /* ---- Entry ---- */ entry { placeholder: " 📻 Choose Media or Stations to play"; -- cgit v1.2.3 From 66366b063c588ba46176eac3092c2bd4633df37b Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 17 Feb 2025 16:01:58 +0900 Subject: stupid bug --- copy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copy.sh b/copy.sh index 5f3919c4..a12dc13a 100755 --- a/copy.sh +++ b/copy.sh @@ -301,7 +301,7 @@ while true; do case $res_choice in 1) - resolution="< 1200p" + resolution="< 1440p" break ;; 2) -- cgit v1.2.3 From 7ed5afe7c68777c83b99fffae067374d508eb9b9 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 17 Feb 2025 17:07:54 +0900 Subject: update --- config/hypr/UserConfigs/WindowRules.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index cc31af26..87e760ac 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -89,8 +89,8 @@ windowrulev2 = move 72% 7%,title:^(Picture-in-Picture)$ #windowrulev2 = move 72% 7%,title:^(Firefox)$ # windowrule v2 to avoid idle for fullscreen apps -windowrulev2 = idleinhibit fullscreen, class:^(*)$ -windowrulev2 = idleinhibit fullscreen, title:^(*)$ +#windowrulev2 = idleinhibit fullscreen, class:^(*)$ +#windowrulev2 = idleinhibit fullscreen, title:^(*)$ windowrulev2 = idleinhibit fullscreen, fullscreen:1 # windowrule v2 move to workspace -- cgit v1.2.3