diff options
author | David Robillard <d@drobilla.net> | 2018-09-04 19:37:17 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-10 21:26:12 +0200 |
commit | 61a3c86ede1ef2280b054313751d0260c48378c3 (patch) | |
tree | b2b4a17aa66aec2796512984258a8b46016900b0 /rofi | |
parent | ff139ab4a95dfcbe84de3f4aedbd923941543683 (diff) | |
download | dotfiles-61a3c86ede1ef2280b054313751d0260c48378c3.tar.gz dotfiles-61a3c86ede1ef2280b054313751d0260c48378c3.tar.bz2 dotfiles-61a3c86ede1ef2280b054313751d0260c48378c3.zip |
Add rofi config
Diffstat (limited to 'rofi')
-rw-r--r-- | rofi/.config/rofi/config | 7 | ||||
-rw-r--r-- | rofi/.config/rofi/promptbox.rasi | 133 |
2 files changed, 140 insertions, 0 deletions
diff --git a/rofi/.config/rofi/config b/rofi/.config/rofi/config new file mode 100644 index 0000000..61f6419 --- /dev/null +++ b/rofi/.config/rofi/config @@ -0,0 +1,7 @@ +rofi.terminal: xfce4-terminal +rofi.sidebar-mode: false +rofi.theme: promptbox.rasi +rofi.show-icons: false +rofi.click-to-exit: true +rofi.me-select-entry: MouseSecondary +rofi.me-accept-entry: MousePrimary diff --git a/rofi/.config/rofi/promptbox.rasi b/rofi/.config/rofi/promptbox.rasi new file mode 100644 index 0000000..d1aee46 --- /dev/null +++ b/rofi/.config/rofi/promptbox.rasi @@ -0,0 +1,133 @@ +configuration { + display-drun: "Activate"; + display-run: "Execute"; + display-window: "Window"; + show-icons: false; + sidebar-mode: false; +} + +* { + background-color: #000000; + text-color: #eeeeee; + selbg: #859900; + actbg: #546e00; + urgbg: #8B2C02; + winbg: #222222; + + selected-normal-foreground: @winbg; + normal-foreground: @text-color; + selected-normal-background: @actbg; + normal-background: @background-color; + + selected-urgent-foreground: @background-color; + urgent-foreground: @text-color; + selected-urgent-background: @urgbg; + urgent-background: @background-color; + + selected-active-foreground: @winbg; + active-foreground: @text-color; + selected-active-background: @actbg; + active-background: @selbg; + + font: "DejaVu Sans Mono 18"; + + line-margin: 1; + line-padding: 1; + separator-style: "none"; + hide-scrollbar: "false"; + margin: 0; + padding: 0; +} + +window { + location: center; + anchor: center; + height: 80%; + width: 40%; + orientation: horizontal; + children: [mainbox]; + border: 2px; + border-color: #6f7372; +} + +mainbox { + spacing: 0em; + children: [ sidebar,entry,listview ]; +} + +button { + padding: 0.5em 0.5em; +} + +button selected { + background-color: @active-background; + text-color: @background-color; +} + +inputbar { + padding: 0.5em; + spacing: 0.5em; +} + +listview { + dynamic: false; + cycle: true; +} + +element { + padding: 0.5em; +} + +entry { + expand: false; + text-color: @normal-foreground; + vertical-align: 1; + padding: 1em; +} + +element normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} + +element normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} + +element normal.active { + background-color: @active-background; + text-color: @active-foreground; +} + +element selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; + border: 2px; + border-color: @active-background; +} + +element selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} + +element selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} + +element alternate.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} + +element alternate.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} + +element alternate.active { + background-color: @active-background; + text-color: @active-foreground; +} |