diff options
| author | JaKooLit <jimmielovejay.com> | 2023-11-19 01:32:41 +0900 |
|---|---|---|
| committer | JaKooLit <jimmielovejay.com> | 2023-11-19 01:32:41 +0900 |
| commit | e25fe4fdec7fe8d862df2c4e44ec83ccf90f13c7 (patch) | |
| tree | 10fddb0d787f1da5803eb8e1f2ac07f00334122d /config/rofi/config.rasi | |
| parent | 832ad0456d2f9dace1e629fbf08650fc4dd95a32 (diff) | |
Rofi changes
Diffstat (limited to 'config/rofi/config.rasi')
| -rw-r--r-- | config/rofi/config.rasi | 91 |
1 files changed, 40 insertions, 51 deletions
diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index 31309ef7..11a96709 100644 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -1,12 +1,13 @@ /* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ +/* Main Config */ /* ---- Configuration ---- */ configuration { modi: "drun,run"; - font: "Fira Code SemiBold 12"; + font: "Fira Code SemiBold 14"; show-icons: true; display-drun: "๎ฏ"; - display-run: "๏ "; + display-run: "๏ "; display-filebrowser: "๏ป"; display-window: "๏"; drun-display-format: "{name}"; @@ -14,6 +15,7 @@ configuration { me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; window-format: "{w} ยท {c} ยท {t}"; + dpi: 1; } @@ -22,16 +24,15 @@ configuration { /* ---- Window ---- */ window { - width: 45%; - height: 45%; + width: 35%; x-offset: 0px; y-offset: 0px; spacing: 0px; - padding: 0px; + padding: 2px; margin: 0px; color: transparent; - border: 2px; - border-color: @background; + border: 1px; + border-color: @active-background; cursor: "default"; transparency: "real"; location: center; @@ -45,16 +46,13 @@ window { mainbox { enabled: true; orientation: horizontal; - spacing: 0px; - margin: 0px; - background-color: transparent; - background-image: url("~/.config/rofi/.current_wallpaper", height); + padding: 20px; + background-image: url("~/.config/rofi/.current_wallpaper", width); children: [ "imagebox", "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 18px; background-color: transparent; orientation: vertical; children: [ "inputbar", "dummy", "mode-switcher" ]; @@ -62,10 +60,10 @@ imagebox { /* ---- Listbox ---- */ listbox { - spacing: 20px; + spacing: 4px; background-color: transparent; orientation: vertical; - children: [ "message", "listview" ]; + children: [ "listview" ]; } /* ---- Dummy ---- */ dummy { @@ -80,14 +78,16 @@ inputbar { padding: 15px; border-radius: 10px; border-color: @foreground; + background-color: transparent; children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { enabled: true; expand: false; - str: "๐ "; + str: "๐ "; text-color: inherit; + background-color: transparent; } entry { @@ -95,7 +95,7 @@ entry { background-color: transparent; text-color: inherit; cursor: text; - placeholder: "Choose"; + placeholder: "Search"; placeholder-color: inherit; } @@ -108,37 +108,33 @@ mode-switcher{ } button { - padding: 10px; - border-radius: 10px; - background-color: @background; - text-color: inherit; - cursor: pointer; - border: 0px; + padding: 10px; + border-radius: 10px; + background-color: transparent; + text-color: inherit; + cursor: pointer; } button selected { - background-color: @selected-normal-background; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } /* ---- Listview ---- */ listview { - enabled: true; - columns: 1; - lines: 10; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - spacing: 0px; - padding: 10px; - margin: 0px; - border-radius: 10px; - border: 0px; - background-image: url("~/.config/rofi/.current_wallpaper", height); + enabled: true; + columns: 1; + lines: 9; + spacing: 4px; + dynamic: true; + enabled: true; + cycle: true; + scrollbar: false; + layout: vertical; + reverse: true; + fixed-height: false; + fixed-columns: false; + background-color: transparent; } /* ---- Element ---- */ @@ -147,7 +143,7 @@ element { padding: 5px; margin: 2px; cursor: pointer; - background-color: @background; + background-color: transparent; border-radius: 10px; border: 0px; } @@ -215,26 +211,19 @@ element-text { /*****----- Message -----*****/ message { background-color: transparent; - border: 0px; margin: 20px 0px 0px 0px; - padding: 0px; - spacing: 0px; border-radius: 10px; } textbox { padding: 15px; - margin: 0px; - border-radius: 0px; - background-color: @background; + background-color: transparent; text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; } error-message { padding: 15px; - border-radius: 20px; - background-color: @background; + border-radius: 20px; + background-color: @background; text-color: @foreground; } |
