From d67700050d959a33465208b2ef4dc0b494b2eb4d Mon Sep 17 00:00:00 2001 From: Hunter Haugen Date: Fri, 22 Mar 2024 14:28:22 -0700 Subject: [PATCH] Add rofi theme --- .config/rofi/config.rasi | 4 + .config/rofi/themes/nord.rasi | 149 ++++++++++++++++++++++++++++++++++ 2 files changed, 153 insertions(+) create mode 100644 .config/rofi/config.rasi create mode 100644 .config/rofi/themes/nord.rasi diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi new file mode 100644 index 0000000..ec55e48 --- /dev/null +++ b/.config/rofi/config.rasi @@ -0,0 +1,4 @@ +// configuration { +// location: 2; +// } +@theme "nord" diff --git a/.config/rofi/themes/nord.rasi b/.config/rofi/themes/nord.rasi new file mode 100644 index 0000000..c1b3d6f --- /dev/null +++ b/.config/rofi/themes/nord.rasi @@ -0,0 +1,149 @@ +* { + nord0: #2e3440; + nord1: #3b4252; + nord2: #434c5e; + nord3: #4c566a; + nord4: #d8dee9; + nord5: #e5e9f0; + nord6: #eceff4; + nord7: #8fbcbb; + nord8: #88c0d0; + nord9: #81a1c1; + nord10: #5e81ac; + nord11: #bf616a; + nord12: #d08770; + nord13: #ebcb8b; + nord14: #a3be8c; + nord15: #b48ead; + + spacing: 2; + background-color: var(nord1); + + background: var(nord1); + foreground: var(nord4); + + normal-background: var(background); + normal-foreground: var(foreground); + alternate-normal-background: var(background); + alternate-normal-foreground: var(foreground); + selected-normal-background: var(nord8); + selected-normal-foreground: var(background); + + active-background: var(background); + active-foreground: var(nord10); + alternate-active-background: var(background); + alternate-active-foreground: var(nord10); + selected-active-background: var(nord10); + selected-active-foreground: var(background); + + urgent-background: var(background); + urgent-foreground: var(nord11); + alternate-urgent-background: var(background); + alternate-urgent-foreground: var(nord11); + selected-urgent-background: var(nord11); + selected-urgent-foreground: var(background); +} +element { + padding: 0px 0px 0px 7px; + spacing: 5px; + border: 0; + cursor: pointer; +} +element normal.normal { + background-color: var(normal-background); + text-color: var(normal-foreground); +} +element normal.urgent { + background-color: var(urgent-background); + text-color: var(urgent-foreground); +} +element normal.active { + background-color: var(active-background); + text-color: var(active-foreground); +} +element selected.normal { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} +element selected.urgent { + background-color: var(selected-urgent-background); + text-color: var(selected-urgent-foreground); +} +element selected.active { + background-color: var(selected-active-background); + text-color: var(selected-active-foreground); +} +element alternate.normal { + background-color: var(alternate-normal-background); + text-color: var(alternate-normal-foreground); +} +element alternate.urgent { + background-color: var(alternate-urgent-background); + text-color: var(alternate-urgent-foreground); +} +element alternate.active { + background-color: var(alternate-active-background); + text-color: var(alternate-active-foreground); +} +element-text { + background-color: rgba(0, 0, 0, 0%); + text-color: inherit; + highlight: inherit; + cursor: inherit; +} +element-icon { + background-color: rgba(0, 0, 0, 0%); + size: 1.0000em; + text-color: inherit; + cursor: inherit; +} +window { + padding: 0; + border: 0; + background-color: var(background); +} +mainbox { + padding: 0; + border: 0; +} +message { + margin: 0px 7px; +} +textbox { + text-color: var(foreground); +} +listview { + margin: 0px 0px 5px; + scrollbar: true; + spacing: 2px; + fixed-height: 0; +} +scrollbar { + padding: 0; + handle-width: 14px; + border: 0; + handle-color: var(nord3); +} +button { + spacing: 0; + text-color: var(normal-foreground); + cursor: pointer; +} +button selected { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} +inputbar { + padding: 7px; + margin: 7px; + spacing: 0; + text-color: var(normal-foreground); + background-color: var(nord3); + children: [ entry ]; +} +entry { + spacing: 0; + cursor: text; + text-color: var(normal-foreground); + background-color: var(nord3); +}