From 275f85824cf88a2db76e97c17a5159d6809a7123 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 20 Feb 2025 00:49:59 +0900 Subject: rofi tweaks --- config/rofi/config-clipboard.rasi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config/rofi/config-clipboard.rasi') diff --git a/config/rofi/config-clipboard.rasi b/config/rofi/config-clipboard.rasi index 4a7bf662..f5c086a7 100644 --- a/config/rofi/config-clipboard.rasi +++ b/config/rofi/config-clipboard.rasi @@ -6,6 +6,7 @@ /* ---- Window ---- */ window { width: 50%; + height: inherit; } /* ---- Mainbox ---- */ @@ -23,7 +24,7 @@ entry { /* ---- Listview ---- */ listview { columns: 1; - lines: 7; + lines: 15; fixed-height: false; } -- cgit v1.2.3 From ebd0987574d18da0ba767ae703427cb73e280117 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 20 Feb 2025 12:44:10 +0900 Subject: some minor rofi configs improvement --- config/rofi/config-clipboard.rasi | 4 ++-- config/rofi/config-edit.rasi | 1 + config/rofi/config-rofi-Beats.rasi | 4 ++-- config/rofi/themes/KooL_style-2-Dark.rasi | 10 +++++----- config/rofi/themes/KooL_style-2-Light.rasi | 8 +++----- 5 files changed, 13 insertions(+), 14 deletions(-) (limited to 'config/rofi/config-clipboard.rasi') diff --git a/config/rofi/config-clipboard.rasi b/config/rofi/config-clipboard.rasi index f5c086a7..4006e646 100644 --- a/config/rofi/config-clipboard.rasi +++ b/config/rofi/config-clipboard.rasi @@ -24,8 +24,8 @@ entry { /* ---- Listview ---- */ listview { columns: 1; - lines: 15; - fixed-height: false; + lines: 8; + fixed-height: true; } /* ---- Elements ---- */ diff --git a/config/rofi/config-edit.rasi b/config/rofi/config-edit.rasi index 23acbfbd..79fbbbd9 100644 --- a/config/rofi/config-edit.rasi +++ b/config/rofi/config-edit.rasi @@ -46,5 +46,6 @@ element-icon { } element-text { horizontal-align: 0.0; + padding-left: 0px; margin: 5px 30px 5px 30px; } \ No newline at end of file diff --git a/config/rofi/config-rofi-Beats.rasi b/config/rofi/config-rofi-Beats.rasi index 9e646868..9be65e09 100644 --- a/config/rofi/config-rofi-Beats.rasi +++ b/config/rofi/config-rofi-Beats.rasi @@ -14,10 +14,10 @@ mainbox { children: [ "inputbar", "listview"]; } -R + /* ---- Entry ---- */ entry { - placeholder: " 📻 Choose Media or Stations to play"; + placeholder: "📻 Choose Media or Stations to play"; } /* ---- Listview ---- */ diff --git a/config/rofi/themes/KooL_style-2-Dark.rasi b/config/rofi/themes/KooL_style-2-Dark.rasi index 7be669d8..81e233e4 100644 --- a/config/rofi/themes/KooL_style-2-Dark.rasi +++ b/config/rofi/themes/KooL_style-2-Dark.rasi @@ -53,7 +53,7 @@ mainbox { enabled: true; spacing: 20px; margin: 10px; - padding: 20px; + padding: 15px; border-radius: 12px; background-color: black/90%; children: [ "inputbar", "mode-switcher", "message", "listview" ]; @@ -64,7 +64,7 @@ inputbar { enabled: true; spacing: 0px; margin: 0px; - padding: 0px 0px 10px 0px; + padding: 20px 0px 20px 0px; border: 0px 0px 2px 0px; border-radius: 0px; border-color: gray/20%; @@ -98,7 +98,7 @@ listview { spacing: 40px; margin: 0px; - padding: 20px 0px 0px 0px; + padding: 0px; border: 0px solid; background-color: transparent; cursor: "default"; @@ -119,7 +119,7 @@ element { enabled: true; spacing: 10px; margin: 0px; - padding: 15px; + padding: 20px 0px 20px 0px; border: 1px solid; border-radius: 8px; border-color: white/30%; @@ -188,4 +188,4 @@ textbox { text-color: inherit; vertical-align: 0.5; horizontal-align: 0.5; -} +} \ No newline at end of file diff --git a/config/rofi/themes/KooL_style-2-Light.rasi b/config/rofi/themes/KooL_style-2-Light.rasi index 551759db..2e0b4e6e 100644 --- a/config/rofi/themes/KooL_style-2-Light.rasi +++ b/config/rofi/themes/KooL_style-2-Light.rasi @@ -108,7 +108,7 @@ listview { scrollbar { border: 0px; border-radius: 10px; - background-color: transparent; + background-color: inherit; handle-color: gray/50%; handle-width: 2px ; padding: 0; @@ -119,7 +119,7 @@ element { enabled: true; spacing: 10px; margin: 0px; - padding: 15px; + padding: 20px 0px 20px 0px; border: 1px solid; border-radius: 8px; border-color: gray/30%; @@ -162,7 +162,6 @@ mode-switcher{ text-color: white; } button { - font: "JetBrainsMono Nerd Font SemiBold 10"; padding: 6px; border: 0px solid; border-radius: 100%; @@ -189,5 +188,4 @@ textbox { text-color: inherit; vertical-align: 0.5; horizontal-align: 0.5; -} - +} \ No newline at end of file -- cgit v1.2.3 From cac7771a124a3a480bc8cf7c91896d560d917e43 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 21 Feb 2025 23:04:38 +0900 Subject: adjusted rofi configs to have better compatibility? --- config/hypr/UserScripts/Kool_Quick_Settings.sh | 87 +++++++++++++------------- config/rofi/config-Animations.rasi | 6 +- config/rofi/config-clipboard.rasi | 7 ++- config/rofi/config-edit.rasi | 7 ++- config/rofi/config-emoji.rasi | 5 +- config/rofi/config-keybinds.rasi | 3 + config/rofi/config-rofi-Beats-menu.rasi | 2 + config/rofi/config-rofi-Beats.rasi | 5 +- config/rofi/config-rofi-theme.rasi | 8 ++- config/rofi/config-wallpaper-effect.rasi | 8 ++- config/rofi/config-wallpaper.rasi | 15 ++--- config/rofi/config-waybar-layout.rasi | 4 +- config/rofi/config-waybar-style.rasi | 4 +- 13 files changed, 94 insertions(+), 67 deletions(-) (limited to 'config/rofi/config-clipboard.rasi') diff --git a/config/hypr/UserScripts/Kool_Quick_Settings.sh b/config/hypr/UserScripts/Kool_Quick_Settings.sh index 663b51ed..a6dc2885 100755 --- a/config/hypr/UserScripts/Kool_Quick_Settings.sh +++ b/config/hypr/UserScripts/Kool_Quick_Settings.sh @@ -15,57 +15,58 @@ iDIR="$HOME/.config/swaync/images" scriptsDir="$HOME/.config/hypr/scripts" UserScripts="$HOME/.config/hypr/UserScripts" -# Function to display the menu options +# Function to display the menu options without numbers menu() { cat </dev/null; then - notify-send -i "$iDIR/ja.png" "Missing nwg-displays" "Install nwg-displays first" - exit 1 - fi - nwg-displays ;; - 11) if ! command -v nwg-displays &>/dev/null; then - notify-send -i "$iDIR/ja.png" "Missing nwg-displays" "Install nwg-displays first" - exit 1 - fi - nwg-displays ;; - 12) $scriptsDir/Animations.sh ;; - 13) $scriptsDir/MonitorProfiles.sh ;; - 14) $scriptsDir/RofiThemeSelector.sh ;; - 15) $scriptsDir/KeyBinds.sh ;; - + case "$choice" in + "view/edit ENV variables") file="$UserConfigs/ENVariables.conf" ;; + "view/edit Window Rules") file="$UserConfigs/WindowRules.conf" ;; + "view/edit User Keybinds") file="$UserConfigs/UserKeybinds.conf" ;; + "view/edit User Settings") file="$UserConfigs/UserSettings.conf" ;; + "view/edit Startup Apps") file="$UserConfigs/Startup_Apps.conf" ;; + "view/edit Decorations") file="$UserConfigs/UserDecorations.conf" ;; + "view/edit Animations") file="$UserConfigs/UserAnimations.conf" ;; + "view/edit Laptop Keybinds") file="$UserConfigs/Laptops.conf" ;; + "view/edit Default Keybinds") file="$configs/Keybinds.conf" ;; + "Configure Monitors (nwg-displays)") + if ! command -v nwg-displays &>/dev/null; then + notify-send -i "$iDIR/ja.png" "Missing nwg-displays" "Install nwg-displays first" + exit 1 + fi + nwg-displays ;; + "Configure Workspace Rules (nwg-displays)") + if ! command -v nwg-displays &>/dev/null; then + notify-send -i "$iDIR/ja.png" "Missing nwg-displays" "Install nwg-displays first" + exit 1 + fi + nwg-displays ;; + "Choose Hyprland Animations") $scriptsDir/Animations.sh ;; + "Choose Monitor Profiles") $scriptsDir/MonitorProfiles.sh ;; + "Choose Rofi Themes") $scriptsDir/RofiThemeSelector.sh ;; + "Search for Keybinds") $scriptsDir/KeyBinds.sh ;; *) return ;; # Do nothing for invalid choices esac @@ -80,4 +81,4 @@ if pidof rofi > /dev/null; then pkill rofi fi -main \ No newline at end of file +main diff --git a/config/rofi/config-Animations.rasi b/config/rofi/config-Animations.rasi index c7a86361..f26eecd6 100644 --- a/config/rofi/config-Animations.rasi +++ b/config/rofi/config-Animations.rasi @@ -11,7 +11,7 @@ mainbox { /* ---- Window ---- */ window { - width: 45%; + width: inherit; height: inherit; } @@ -28,6 +28,7 @@ listview { fixed-height: false; margin: 10px; scrollbar: true; + spacing: 6px; } /* ---- Elements ---- */ @@ -37,5 +38,6 @@ element-icon { element-text { horizontal-align: 0.0; vertical-align: 0.0; - margin: 5px 30px 5px 30px; + margin: 0px; + padding: 0px; } diff --git a/config/rofi/config-clipboard.rasi b/config/rofi/config-clipboard.rasi index 4006e646..d0d3d3ae 100644 --- a/config/rofi/config-clipboard.rasi +++ b/config/rofi/config-clipboard.rasi @@ -5,7 +5,7 @@ /* ---- Window ---- */ window { - width: 50%; + width: inherit; height: inherit; } @@ -17,7 +17,7 @@ mainbox { /* ---- Entry ---- */ entry { - width: 47%; + width: inherit; placeholder: " 📋 Search Clipboard "; } @@ -26,6 +26,7 @@ listview { columns: 1; lines: 8; fixed-height: true; + spacing: 6px; } /* ---- Elements ---- */ @@ -40,4 +41,6 @@ element-icon { element-text { horizontal-align: 0.0; vertical-align: 0.5; + margin: 0px; + padding: 0px; } diff --git a/config/rofi/config-edit.rasi b/config/rofi/config-edit.rasi index b8a90345..4f5215ef 100644 --- a/config/rofi/config-edit.rasi +++ b/config/rofi/config-edit.rasi @@ -17,7 +17,7 @@ configuration { /* ---- Window ---- */ window { - width: 50%; + width: inherit; height: inherit; } @@ -28,6 +28,7 @@ listview { lines: 6; fixed-height: false; scrollbar: true; + spacing: 6px; } /* ---- Entry input ---- */ @@ -47,6 +48,6 @@ element-icon { } element-text { horizontal-align: 0.0; - padding-left: 0px; - margin: 5px 30px 5px 30px; + margin: 0px; + padding: 0px; } \ No newline at end of file diff --git a/config/rofi/config-emoji.rasi b/config/rofi/config-emoji.rasi index 79135a10..3ab498e3 100644 --- a/config/rofi/config-emoji.rasi +++ b/config/rofi/config-emoji.rasi @@ -11,7 +11,7 @@ mainbox { /* ---- Window ---- */ window { - width: 45%; + width: inherit; height: inherit; } @@ -28,6 +28,7 @@ listview { lines: 7; fixed-height: false; scrollbar: true; + spacing: 6px; } /* ---- Elements ---- */ @@ -42,4 +43,6 @@ element-icon { element-text { horizontal-align: 0.0; vertical-align: 0.5; + padding: 0px; + margin: 0px; } \ No newline at end of file diff --git a/config/rofi/config-keybinds.rasi b/config/rofi/config-keybinds.rasi index 1deeccca..256c2e87 100644 --- a/config/rofi/config-keybinds.rasi +++ b/config/rofi/config-keybinds.rasi @@ -22,6 +22,7 @@ listview { lines: 8; fixed-height: false; scrollbar: true; + spacing: 6px; } window { @@ -41,4 +42,6 @@ element-icon { element-text { horizontal-align: 0.0; vertical-align: 0.5; + margin: 0px; + padding: 0px; } \ No newline at end of file diff --git a/config/rofi/config-rofi-Beats-menu.rasi b/config/rofi/config-rofi-Beats-menu.rasi index e2728ff5..ea20a09c 100644 --- a/config/rofi/config-rofi-Beats-menu.rasi +++ b/config/rofi/config-rofi-Beats-menu.rasi @@ -31,6 +31,7 @@ listview { scrollbar: false; colums: 1; lines: 3; + spacing: 6px; } /* ---- Element ---- */ @@ -39,4 +40,5 @@ element-icon { } element-text { horizontal-align: 0.5; + } \ No newline at end of file diff --git a/config/rofi/config-rofi-Beats.rasi b/config/rofi/config-rofi-Beats.rasi index 9be65e09..9c67f4e4 100644 --- a/config/rofi/config-rofi-Beats.rasi +++ b/config/rofi/config-rofi-Beats.rasi @@ -5,7 +5,7 @@ /* ---- Window ---- */ window { - width: 45%; + width: inherit; height: inherit; } @@ -27,6 +27,7 @@ listview { fixed-height: false; margin: 10px; scrollbar: true; + spacing: 6px; } /* ---- Elements ---- */ @@ -41,4 +42,6 @@ element-icon { element-text { horizontal-align: 0.0; vertical-align: 0.5; + margin: 0px; + padding: 0px; } \ No newline at end of file diff --git a/config/rofi/config-rofi-theme.rasi b/config/rofi/config-rofi-theme.rasi index 81b20ded..83975f64 100644 --- a/config/rofi/config-rofi-theme.rasi +++ b/config/rofi/config-rofi-theme.rasi @@ -5,7 +5,7 @@ /* ---- Window ---- */ window { - width: 45%; + width: inherit; height: inherit; } @@ -26,8 +26,9 @@ listview { columns: 2; lines: 7; fixed-height: false; - margin: 0px; + margin: 10px; scrollbar: true; + spacing: 6px; } /* ---- Elements ---- */ @@ -36,6 +37,7 @@ element-icon { } element-text { horizontal-align: 0.0; - vertical-align: 0.0; + vertical-align: 0.5; margin: 0px; + padding: 0px; } diff --git a/config/rofi/config-wallpaper-effect.rasi b/config/rofi/config-wallpaper-effect.rasi index 0909bae4..61d68a76 100644 --- a/config/rofi/config-wallpaper-effect.rasi +++ b/config/rofi/config-wallpaper-effect.rasi @@ -12,13 +12,13 @@ mainbox { /* ---- Entry ---- */ entry { + width: 32%; placeholder: " 🏙️ Search / Choose desired wallpaper effect"; - padding: 12px; } /* ---- Window ---- */ window { - width: 35%; + width: inherit; height: inherit; } @@ -28,6 +28,7 @@ listview { lines: 7; fixed-height: false; scrollbar: true; + spacing: 6px; } /* ---- Inputbar ---- */ @@ -43,5 +44,6 @@ element-icon { element-text { horizontal-align: 0.0; vertical-align: 0.0; - margin: 5px 30px 5px 30px; + margin: 0px; + padding: 0px; } \ No newline at end of file diff --git a/config/rofi/config-wallpaper.rasi b/config/rofi/config-wallpaper.rasi index aa96932f..99f68098 100644 --- a/config/rofi/config-wallpaper.rasi +++ b/config/rofi/config-wallpaper.rasi @@ -31,6 +31,7 @@ listview { columns: 6; lines: 2; spacing: 20px; + padding: 10px; columns: 6; lines: 2; flow: horizontal; @@ -41,6 +42,8 @@ listview { /* ---- Element ---- */ element { orientation: vertical; + padding: 0px; + spacing: 0px; border-radius: 10px; padding: 0px; margin: 0px; @@ -48,20 +51,18 @@ element { element selected.normal { background-color: transparent; - } element-icon { - text-color: inherit; - size: 1%; - margin: -30px; - cursor: inherit; - + text-color: inherit; + size: 10%; + margin: -30px; + cursor: inherit; } element-text { vertical-align: 0.5; horizontal-align: 0.5; - padding: 20px; + padding: 10px; margin: 0px; } diff --git a/config/rofi/config-waybar-layout.rasi b/config/rofi/config-waybar-layout.rasi index 0d98a1ad..97ebe96f 100644 --- a/config/rofi/config-waybar-layout.rasi +++ b/config/rofi/config-waybar-layout.rasi @@ -33,6 +33,7 @@ listview { fixed-height: false; margin: 10px; scrollbar: true; + spacing: 6px; } /* ---- Elements ---- */ @@ -41,5 +42,6 @@ element-icon { } element-text { horizontal-align: 0.0; - margin: 5px 30px 5px 30px; + margin: 0px; + padding: 0px; } \ No newline at end of file diff --git a/config/rofi/config-waybar-style.rasi b/config/rofi/config-waybar-style.rasi index fd91e94f..bf9b11f2 100644 --- a/config/rofi/config-waybar-style.rasi +++ b/config/rofi/config-waybar-style.rasi @@ -32,6 +32,7 @@ listview { fixed-height: false; margin: 10px; scrollbar: true; + spacing: 6px; } /* ---- Elements ---- */ @@ -40,5 +41,6 @@ element-icon { } element-text { horizontal-align: 0.0; - margin: 5px 30px 5px 30px; + margin: 0px; + padding: 0px; } -- cgit v1.2.3