From 837a7d364c1283721283532f7629187040d9221b Mon Sep 17 00:00:00 2001 From: Logan Gartner Date: Tue, 8 Dec 2020 17:33:42 -0700 Subject: [PATCH] Added rofi config --- .config/.gitignore | 2 + .config/rofi/config.rasi | 9 +++ .config/rofi/oxide.rasi | 143 +++++++++++++++++++++++++++++++++++++++ .config/rofi/slate.rasi | 43 ++++++++++++ 4 files changed, 197 insertions(+) create mode 100644 .config/rofi/config.rasi create mode 100644 .config/rofi/oxide.rasi create mode 100644 .config/rofi/slate.rasi diff --git a/.config/.gitignore b/.config/.gitignore index ffdb0ed..baefbc8 100644 --- a/.config/.gitignore +++ b/.config/.gitignore @@ -18,6 +18,8 @@ !alacritty/** !picom/ !picom/** +!rofi/ +!rofi/** !.gitignore polybar/default diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi new file mode 100644 index 0000000..d75d74d --- /dev/null +++ b/.config/rofi/config.rasi @@ -0,0 +1,9 @@ +configuration { + modi: "window,drun,ssh,combi"; + theme: "~/.config/rofi/slate.rasi"; + icon-theme: "Papirus-Dark"; + show-icons: true; + font: "hack 10"; + combi-modi: "window,drun,ssh"; +} + diff --git a/.config/rofi/oxide.rasi b/.config/rofi/oxide.rasi new file mode 100644 index 0000000..028916f --- /dev/null +++ b/.config/rofi/oxide.rasi @@ -0,0 +1,143 @@ +/** + * Oxide Color theme + * User: dikiaap + * Copyright: Diki Ananta + **/ +* { + selected-normal-foreground: @lightfg; + foreground: rgba ( 196, 202, 212, 100 % ); + normal-foreground: @foreground; + alternate-normal-background: rgba ( 42, 42, 42, 100 % ); + red: rgba ( 194, 65, 65, 100 % ); + selected-urgent-foreground: @lightfg; + blue: rgba ( 43, 131, 166, 100 % ); + urgent-foreground: @lightfg; + alternate-urgent-background: @red; + active-foreground: @lightfg; + lightbg: @foreground; + selected-active-foreground: @lightfg; + alternate-active-background: @blue; + background: rgba ( 33, 33, 33, 100 % ); + alternate-normal-foreground: @foreground; + normal-background: @background; + lightfg: rgba ( 249, 249, 249, 100 % ); + selected-normal-background: rgba ( 90, 90, 90, 100 % ); + border-color: @foreground; + spacing: 2; + separatorcolor: rgba ( 183, 183, 183, 100 % ); + urgent-background: @red; + selected-urgent-background: rgba ( 214, 78, 78, 100 % ); + alternate-urgent-foreground: @urgent-foreground; + background-color: rgba ( 0, 0, 0, 0 % ); + alternate-active-foreground: @active-foreground; + active-background: @blue; + selected-active-background: rgba ( 39, 141, 182, 100 % ); +} +window { + background-color: @background; + border: 0; + padding: 8; +} +mainbox { + border: 0; + padding: 0; +} +message { + border: 2px dash 0px 0px; + border-color: @separatorcolor; + padding: 1px; +} +textbox { + text-color: @foreground; +} +listview { + fixed-height: 0; + border: 0; + border-color: @separatorcolor; + spacing: 2px; + scrollbar: true; + padding: 2px 0px 0px; +} +element { + border: 0; + padding: 1px; +} +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; +} +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: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} +element alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} +element alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} +scrollbar { + width: 4px; + border: 0; + handle-color: rgba ( 85, 85, 85, 100 % ); + handle-width: 8px; + padding: 0; +} +mode-switcher { + border: 2px dash 0px 0px; + border-color: @separatorcolor; +} +button { + spacing: 0; + text-color: @normal-foreground; +} +button selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +inputbar { + spacing: 0px; + text-color: @normal-foreground; + padding: 1px; + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} +case-indicator { + spacing: 0; + text-color: @normal-foreground; +} +entry { + spacing: 0; + text-color: @normal-foreground; +} +prompt { + spacing: 0; + text-color: @normal-foreground; +} +textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0px 0.3000em 0.0000em 0.0000em; + text-color: inherit; +} diff --git a/.config/rofi/slate.rasi b/.config/rofi/slate.rasi new file mode 100644 index 0000000..d6d29b3 --- /dev/null +++ b/.config/rofi/slate.rasi @@ -0,0 +1,43 @@ +* { + background-color: #282C33; + border-color: #2e343f; + text-color: #8ca0aa; + spacing: 0; + width: 512px; +} + +inputbar { + border: 0 0 1px 0; + children: [prompt,entry]; +} + +prompt { + padding: 16px; + border: 0 1px 0 0; +} + +textbox { + background-color: #2e343f; + border: 0 0 1px 0; + border-color: #282C33; + padding: 8px 16px; +} + +entry { + padding: 16px; +} + +listview { + cycle: false; + margin: 0 0 -1px 0; + scrollbar: false; +} + +element { + border: 0 0 1px 0; + padding: 16px; +} + +element selected { + background-color: #2e343f; +} \ No newline at end of file