aboutsummaryrefslogtreecommitdiff
path: root/.config/rofi
diff options
context:
space:
mode:
Diffstat (limited to '.config/rofi')
-rw-r--r--.config/rofi/config.rasi17
-rw-r--r--.config/rofi/style.rasi162
2 files changed, 179 insertions, 0 deletions
diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi
new file mode 100644
index 0000000..81a649b
--- /dev/null
+++ b/.config/rofi/config.rasi
@@ -0,0 +1,17 @@
+configuration {
+ modes: "drun,run";
+ show-icons: true;
+ terminal: "kitty";
+ font: "Noto 12";
+ drun-display-format: "{icon} {name}";
+ disable-history: false;
+ hide-scrollbar: true;
+ display-drun: "󰘔";
+ display-run: "";
+ display-window: "";
+ display-Network: "";
+ display-filebrowser: "";
+ sidebar-mode: true;
+}
+
+@import "~/.config/rofi/style.rasi"
diff --git a/.config/rofi/style.rasi b/.config/rofi/style.rasi
new file mode 100644
index 0000000..b1d7b8f
--- /dev/null
+++ b/.config/rofi/style.rasi
@@ -0,0 +1,162 @@
+@import "~/.cache/wal/colors-rofi.rasi"
+* {
+ color: @foreground;
+ background-color: transparent;
+}
+
+window {
+ border-radius: 1em;
+ border-color: @selected;
+ width: 800px;
+ height: 400px;
+}
+
+prompt {
+ spacing: 0;
+ border: 0;
+ border-radius: 8px;
+ background-color: @background-alt;
+ padding: 6px 14px;
+}
+
+textbox-prompt-colon {
+ expand: false;
+ str: "";
+ padding: 6px 4px 6px 4px;
+ text-color: @foreground;
+}
+
+entry {
+ spacing: 0;
+ expand: true;
+ horizontal-align: 0;
+ text-color: @foreground;
+ background-color: @background-alt;
+ placeholder-color: @foreground;
+ placeholder: "Search...";
+ padding: 6px 2px 6px 2px;
+ border: 0;
+ border-color: @selected;
+ border-radius: 8px;
+}
+
+case-indicator {
+ spacing: 0;
+ text-color: @foreground;
+}
+
+inputbar {
+ spacing: 0px;
+ text-color: @foreground;
+ border: 0px;
+ border-color: @selected;
+ border-radius: 0px;
+ children: [prompt, textbox-prompt-colon, entry];
+}
+
+mainbox {
+ border: 0px;
+ border-color: @selected;
+ spacing: 15px;
+ padding: 30px;
+}
+
+listview {
+ lines: 4;
+ columns: 2;
+ fixed-height: 0px;
+ border: 0px;
+ border-color: @foreground;
+ spacing: 5px;
+ scrollbar: true;
+ padding: 5px 0px 0px;
+}
+
+element-text,
+element-icon {
+ background-color: transparent;
+ text-color: inherit;
+}
+
+element {
+ border: 0px;
+ border-radius: 8px;
+ padding: 8px;
+}
+element normal.normal {
+ background-color: transparent;
+ text-color: @foreground;
+}
+element normal.urgent {
+ background-color: transparent;
+ text-color: @off;
+}
+element normal.active {
+ background-color: transparent;
+ text-color: @on;
+}
+element selected.normal {
+ background-color: @selected;
+ text-color: @foreground;
+ border: 0px;
+ border-radius: 8px;
+ border-color: @selected;
+}
+element selected.urgent {
+ background-color: @background;
+ text-color: @off;
+}
+element selected.active {
+ background-color: transparent;
+ text-color: @on;
+}
+element alternate.normal,
+element alternate.urgent,
+element alternate.active {
+ background-color: transparent;
+ text-color: @foreground;
+}
+
+sidebar {
+ border: 0px;
+ border-color: @selected;
+ border-radius: 0px;
+}
+
+button {
+ margin: 0px 10px 0px 10px;
+ horizontal-align: 0.5;
+ vertical-align: 0.5;
+ padding: 2px;
+ background-color: @background-alt;
+ text-color: @foreground;
+ border: 0px;
+ border-radius: 8px;
+ border-color: @selected;
+}
+button selected {
+ background-color: @selected;
+ text-color: @foreground;
+ border: 0px;
+ border-radius: 8px;
+ border-color: @selected;
+}
+
+scrollbar {
+ width: 4px;
+ border: 0px;
+ handle-color: @foreground;
+ handle-width: 8px;
+ padding: 0;
+}
+
+message {
+ border: 0px;
+ border-color: @selected;
+ padding: 1px;
+}
+
+textbox {
+ text-color: @foreground;
+}
+