From aaeb9158a0459258e6c196c6d131805249e89127 Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Wed, 1 Dec 2021 01:49:15 +0800 Subject: [PATCH] Adde rofi conifg. theme is a modified version of "arthur". --- .config/rofi/arthur.rasi | 182 +++++++++++++++++++++++++++++++++++++++ .config/rofi/config.rasi | 1 + 2 files changed, 183 insertions(+) create mode 100644 .config/rofi/arthur.rasi create mode 100755 .config/rofi/config.rasi diff --git a/.config/rofi/arthur.rasi b/.config/rofi/arthur.rasi new file mode 100644 index 0000000..89a9283 --- /dev/null +++ b/.config/rofi/arthur.rasi @@ -0,0 +1,182 @@ +/** + * ROFI Color theme + * User: Qball + * Copyright: Dave Davenport + */ + +* { + foreground: #839496; + backlight: #002b36dd; + background-color: transparent; + dark: #002b36; + // Black + black: #002b36; + lightblack: #073642; + tlightblack: #002b36e6; + // + // Red + red: #dc322f; + lightred: #dc322f; + // + // Green + green: #859900; + lightgreen: #859900; + // + // Yellow + yellow: #b58900; + lightyellow: #b58900; + // + // Blue + blue: #268bd2; + lightblue: #268bd2; + // + // Magenta + magenta: #d33682; + lightmagenta: #d33682; + // + // Cyan + cyan: #2aa198; + tcyan: #2aa198; + lightcyan: #2aa198; + // + // White + white: #839496; + lightwhite: #839496; + // + // Bold, Italic, Underline + highlight: underline bold #dc322f; + + transparent: rgba(0,0,0,0); + font: "Source Code Pro SemiBold 10"; +} +window { + location: center; + anchor: center; + transparency: "screenshot"; + padding: 10px; + border: 0px; + border-radius: 10px; + color: @magenta; + background-color: @transparent; + spacing: 0; + children: [mainbox]; + orientation: horizontal; +} +mainbox { + spacing: 0; + children: [ inputbar, message, listview ]; +} +message { + border-color: @foreground; + border: 0px 2px 2px 2px; +// border-radius: 10px; + padding: 5; + background-color: @tcyan; +} +message { + font: "Source Code Pro 8"; + color: @black; +} +inputbar { + color: @lightgreen; + padding: 11px; + background-color: @tlightblack; + border: 2px 2px 2px 2px; + border-radius: 15px 15px 0px 0px; + border-color: @lightblack; + font: "Source Code Pro 18"; +} +entry,prompt,case-indicator { + text-font: inherit; + text-color:inherit; +} +prompt { + margin: 0px 0.3em 0em 0em ; +} +listview { + padding: 8px; + border-radius: 0px 0px 15px 15px; + border-color: @lightblack; + border: 0px 2px 2px 2px; + background-color: @tlightblack; + dynamic: false; + lines: 10; +} +element { + padding: 3px; + vertical-align: 0.5; +// border: 2px; + border-radius: 4px; + background-color: transparent; + color: @foreground; + font:inherit; +} +element-text { + background-color: inherit; + text-color: inherit; +} +element selected.normal { + background-color: @lightblack; + color: @blue; +} +element normal active { + foreground: @lightblue; +} +element normal urgent { + foreground: @lightred; +} +element alternate normal { +} +element alternate active { + foreground: @lightblue; +} +element alternate urgent { + foreground: @lightred; +} +element selected active { + background-color: @lightblue; + foreground: @dark; +} +element selected urgent { + background-color: @lightred; + foreground: @dark; +} +element normal normal { + +} +vertb { + expand: false; + children: [ dummy0, mode-switcher, dummy1 ]; +} +dummy0, dummy1 { + expand: true; +} +mode-switcher { + expand: false; + orientation: vertical; + spacing: 0px; + border: 0px 0px 0px 0px; +} +button { + font: "FontAwesome 22"; + padding: 6px; + border: 2px 0px 2px 2px; + border-radius: 4px 0px 0px 4px; + background-color: @tlightblack; + border-color: @foreground; + color: @foreground; + horizontal-align: 0.5; +} +button selected normal { + color: @dark; + border: 2px 0px 2px 2px; + background-color: @backlight; + border-color: @foreground; +} +error-message { + expand: true; + background-color: red; + border-color: darkred; + border: 2px; + padding: 1em; +} diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi new file mode 100755 index 0000000..ecf3018 --- /dev/null +++ b/.config/rofi/config.rasi @@ -0,0 +1 @@ +@theme "arthur.rasi"