From 09a241efb9f8530fe2c688be62ece6a9b5ddc210 Mon Sep 17 00:00:00 2001 From: simonkellet Date: Sat, 19 Mar 2022 12:32:36 +0000 Subject: [PATCH] added rofi --- rofi/config.rasi | 126 +++++++++++++++++++++++++++++++++++++++++++++++ rofi/config_ori | 27 ++++++++++ 2 files changed, 153 insertions(+) create mode 100644 rofi/config.rasi create mode 100644 rofi/config_ori diff --git a/rofi/config.rasi b/rofi/config.rasi new file mode 100644 index 0000000..b9790c6 --- /dev/null +++ b/rofi/config.rasi @@ -0,0 +1,126 @@ +/*Dracula theme based on the Purple official rofi theme*/ + +* { + font: "Fira Code 14"; + foreground: #f8f8f2; + background-color: #282a36; + active-background: #6272a4; + urgent-background: #ff5555; + selected-background: @active-background; + selected-urgent-background: @urgent-background; + selected-active-background: @active-background; + separatorcolor: @active-background; + bordercolor: @active-background; +} + +#window { + background-color: @background-color; + border: 1; + border-radius: 6; + border-color: @bordercolor; + padding: 5; +} +#mainbox { + border: 0; + padding: 0; +} +#message { + border: 1px dash 0px 0px ; + border-color: @separatorcolor; + padding: 1px ; +} +#textbox { + text-color: @foreground; +} +#listview { + fixed-height: 0; + border: 2px dash 0px 0px ; + border-color: @bordercolor; + spacing: 2px ; + scrollbar: false; + padding: 2px 0px 0px ; +} +#element { + border: 0; + padding: 1px ; +} +#element.normal.normal { + background-color: @background-color; + text-color: @foreground; +} +#element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} +#element.normal.active { + background-color: @active-background; + text-color: @foreground; +} +#element.selected.normal { + background-color: @selected-background; + text-color: @foreground; +} +#element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @foreground; +} +#element.selected.active { + background-color: @selected-active-background; + text-color: @foreground; +} +#element.alternate.normal { + background-color: @background-color; + text-color: @foreground; +} +#element.alternate.urgent { + background-color: @urgent-background; + text-color: @foreground; +} +#element.alternate.active { + background-color: @active-background; + text-color: @foreground; +} +#scrollbar { + width: 2px ; + border: 0; + handle-width: 8px ; + padding: 0; +} +#sidebar { + border: 2px dash 0px 0px ; + border-color: @separatorcolor; +} +#button.selected { + background-color: @selected-background; + text-color: @foreground; +} +#inputbar { + spacing: 0; + text-color: @foreground; + padding: 1px ; +} +#case-indicator { + spacing: 0; + text-color: @foreground; +} +#entry { + spacing: 0; + text-color: @foreground; +} +#prompt { + spacing: 0; + text-color: @foreground; +} +#inputbar { + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} +#textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0px 0.3em 0em 0em ; + text-color: @foreground; +} +element-text, element-icon { + background-color: inherit; + text-color: inherit; +} diff --git a/rofi/config_ori b/rofi/config_ori new file mode 100644 index 0000000..7ec4ef2 --- /dev/null +++ b/rofi/config_ori @@ -0,0 +1,27 @@ +rofi.modi: window,run,ssh +rofi.width: 50 +rofi.lines: 15 +rofi.columns: 1 +rofi.font: roboto mono 10 +rofi.color-normal: #0e4470, #9dd9df, #0e4470, #016694, #9dd9df +rofi.color-urgent: #0e4470, #d6b48d, #22231D, #d6b48d, #9dd9df +rofi.color-active: #0e4470, #2db1b9, #0e4470, #2db1b9, #0e4470 +rofi.color-window: #0e4470, #016694, #014665 +rofi.bw: 5 +rofi.location: 0 +rofi.padding: 5 +rofi.yoffset: 0 +rofi.xoffset: 0 +rofi.fixed-num-lines: true +rofi.terminal: rofi-sensible-terminal +rofi.ssh-client: ssh +rofi.ssh-command: {terminal} -e {ssh-client} {host} +rofi.run-command: {cmd} +rofi.parse-hosts: true +rofi.matching: normal +rofi.separator-style: none +rofi.scrollbar-width: 0 +rofi.kb-mode-next: Shift+Right,Control+Tab,Alt+l +rofi.kb-mode-previous: Shift+Left,Control+Shift+Tab,Alt+h +rofi.kb-row-up: Up,Control+p,Shift+Tab,Shift+ISO_Left_Tab,Alt+k +rofi.kb-row-down: Down,Control+n,Alt+j