diff options
| author | Lars Müller <lars.lmueller@gmail.com> | 2025-07-19 14:46:56 +0200 |
|---|---|---|
| committer | Lars Müller <lars.lmueller@gmail.com> | 2025-07-19 14:46:56 +0200 |
| commit | 090139faea37a45bca4c9ad27661284410f12bef (patch) | |
| tree | f0afbd72870ba08c4b3c36b9e84c50c0a8a29df9 /config | |
| parent | ab03e009ba48f96b6b6bd4fa0d040e48f404d5d2 (diff) | |
add: message to rofi theme selector
Diffstat (limited to 'config')
| -rwxr-xr-x | config/hypr/scripts/RofiThemeSelector.sh | 2 | ||||
| -rw-r--r-- | config/rofi/config-rofi-theme.rasi | 25 |
2 files changed, 24 insertions, 3 deletions
diff --git a/config/hypr/scripts/RofiThemeSelector.sh b/config/hypr/scripts/RofiThemeSelector.sh index 8423b2fe..569b5739 100755 --- a/config/hypr/scripts/RofiThemeSelector.sh +++ b/config/hypr/scripts/RofiThemeSelector.sh @@ -125,7 +125,7 @@ while true; do rofi -dmenu -i \ -format 'i' \ -p "Rofi Theme" \ - -mesg "Preview: $(basename "$theme_to_preview_now" .rasi) | Enter: Preview | Ctrl+S: Apply & Exit | Esc: Cancel" \ + -mesg "Enter: Preview | Ctrl+S: Apply & Exit | Esc: Cancel" \ -config "$ROFI_THEME_FOR_THIS_SCRIPT" \ -selected-row "$current_selection_index" \ -kb-custom-1 "Control+s") diff --git a/config/rofi/config-rofi-theme.rasi b/config/rofi/config-rofi-theme.rasi index 652cd94c..0d77f857 100644 --- a/config/rofi/config-rofi-theme.rasi +++ b/config/rofi/config-rofi-theme.rasi @@ -11,8 +11,17 @@ window { /* ---- Mainbox ---- */ mainbox { - children: - [ "inputbar", "listview"]; + children: [ "inputbar", "message", "listview" ]; +} + +/* ---- Custombox ---- */ +/* Override custombox to ensure listview is visible for themes that use it */ +custombox { + spacing: 0px; + background-color: inherit; + text-color: inherit; + orientation: vertical; + children: [ "listview" ]; } /* ---- Entry input ---- */ @@ -42,3 +51,15 @@ element-text { margin: 0px; padding: 0px; } + +/* ---- Message ---- */ +message { + padding: 10px; + border-radius: 10px; + background-color: inherit; +} + +textbox { + text-color: inherit; + background-color: inherit; +} |
