aboutsummaryrefslogtreecommitdiff
path: root/.config/rofi
diff options
context:
space:
mode:
Diffstat (limited to '.config/rofi')
-rw-r--r--.config/rofi/catppuccin.rasi28
-rw-r--r--.config/rofi/config.rasi234
-rw-r--r--.config/rofi/gruvbox.rasi55
3 files changed, 165 insertions, 152 deletions
diff --git a/.config/rofi/catppuccin.rasi b/.config/rofi/catppuccin.rasi
deleted file mode 100644
index 733b6c6..0000000
--- a/.config/rofi/catppuccin.rasi
+++ /dev/null
@@ -1,28 +0,0 @@
-* {
- rosewater: #f5e0dc;
- flamingo: #f2cdcd;
- pink: #f5c2e7;
- mauve: #cba6f7;
- red: #f38ba8;
- maroon: #eba0ac;
- peach: #fab387;
- yellow: #f9e2af;
- green: #a6e3a1;
- teal: #94e2d5;
- sky: #89dceb;
- sapphire: #74c7ec;
- blue: #89b4fa;
- lavender: #b4befe;
- text: #cdd6f4;
- subtext1: #bac2de;
- subtext0: #a6adc8;
- overlay2: #9399b2;
- overlay1: #7f849c;
- overlay0: #6c7086;
- surface2: #585b70;
- surface1: #45475a;
- surface0: #313244;
- base: #1e1e2e;
- mantle: #181825;
- crust: #11111b;
-}
diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi
index 40141e1..b9deba7 100644
--- a/.config/rofi/config.rasi
+++ b/.config/rofi/config.rasi
@@ -1,170 +1,156 @@
-@import "catppuccin"
-
-* {
- selected-active-foreground: @background;
- lightfg: @text;
- separatorcolor: @foreground;
- urgent-foreground: @red;
- alternate-urgent-background: @lightbg;
- lightbg: @mantle;
- background-color: transparent;
- border-color: @foreground;
- normal-background: @background;
- selected-urgent-background: @red;
- alternate-active-background: @lightbg;
- spacing: 2;
- alternate-normal-foreground: @foreground;
- urgent-background: @background;
- selected-normal-foreground: @lightbg;
- active-foreground: @blue;
- background: @base;
- selected-active-background: @blue;
- active-background: @background;
- selected-normal-background: @lightfg;
- alternate-normal-background: @lightbg;
- foreground: @text;
- selected-urgent-foreground: @background;
- normal-foreground: @foreground;
- alternate-urgent-foreground: @red;
- alternate-active-foreground: @blue;
+@theme "gruvbox"
+configuration {
+ modi: "drun,run";
+ font: "JetBrainsMono Nerd Font bold 20px";
+ show-icons: false;
+ terminal: "kitty";
+ drun-display-format: "{name}";
+ location: 0;
+ disable-history: false;
+ sidebar-mode: true;
+ display-drun: "Apps";
+ display-run: "Command";
+ display-window: "Window";
}
-element {
- padding: 1px ;
- cursor: pointer;
- spacing: 5px ;
+
+window {
+ background-color: @background;
+ border: 6;
+ border-radius: 14px;
+ padding: 4;
+ fullscreen: false;
+ width: 750;
+ height: 520;
+}
+
+mainbox {
border: 0;
+ padding: 0;
+}
+
+message {
+ border: 0 0 0;
+ border-color: @separatorcolor;
+ padding: 1px;
+}
+
+textbox {
+ highlight: @highlight;
+ text-color: @foreground;
+}
+
+listview {
+ border: 0 0 0;
+ padding: 10px -5px 10px 5px;
+ border-color: @separatorcolor;
+ spacing: 10px;
+ scrollbar: @scrollbar;
+}
+
+element {
+ padding: 5px 10px;
+ border-radius: 5px;
+ margin: 0 5px 0 5px;
}
-element normal.normal {
+
+element.normal.normal {
background-color: @normal-background;
text-color: @normal-foreground;
}
-element normal.urgent {
+
+element.normal.urgent {
background-color: @urgent-background;
text-color: @urgent-foreground;
}
-element normal.active {
+
+element.normal.active {
background-color: @active-background;
text-color: @active-foreground;
}
-element selected.normal {
+
+element.selected.normal {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
-element selected.urgent {
+
+element.selected.urgent {
background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground;
}
-element selected.active {
+
+element.selected.active {
background-color: @selected-active-background;
text-color: @selected-active-foreground;
}
-element alternate.normal {
+
+element.alternate.normal {
background-color: @alternate-normal-background;
text-color: @alternate-normal-foreground;
}
-element alternate.urgent {
+
+element.alternate.urgent {
background-color: @alternate-urgent-background;
text-color: @alternate-urgent-foreground;
}
-element alternate.active {
+
+element.alternate.active {
background-color: @alternate-active-background;
text-color: @alternate-active-foreground;
}
-element-text {
- background-color: transparent;
- cursor: inherit;
- highlight: inherit;
- text-color: inherit;
-}
-element-icon {
- background-color: transparent;
- size: 1.0000em ;
- cursor: inherit;
- text-color: inherit;
-}
-window {
- padding: 5;
- background-color: @background;
- border: 1;
-}
-mainbox {
- padding: 0;
- border: 0;
-}
-message {
- padding: 1px ;
- border-color: @separatorcolor;
- border: 2px dash 0px 0px ;
-}
-textbox {
- text-color: @foreground;
-}
-listview {
- padding: 2px 0px 0px ;
- scrollbar: true;
- border-color: @separatorcolor;
- spacing: 2px ;
- fixed-height: 0;
- border: 2px dash 0px 0px ;
-}
+
scrollbar {
- width: 4px ;
- padding: 0;
- handle-width: 8px ;
+ enabled: false;
+ width: 0;
border: 0;
- handle-color: @normal-foreground;
+ handle-color: @scrollbar-handle;
+ handle-width: 0;
+ padding: 0;
+ margin: 0;
}
-sidebar {
+
+mode-switcher {
+ border: 0 0 0;
border-color: @separatorcolor;
- border: 2px dash 0px 0px ;
+ margin: 5px;
}
-button {
- cursor: pointer;
+
+inputbar {
spacing: 0;
text-color: @normal-foreground;
+ padding: 2px;
+ children: [ prompt, entry, case-indicator ];
}
-button selected {
- background-color: @selected-normal-background;
- text-color: @selected-normal-foreground;
-}
-num-filtered-rows {
- expand: false;
- text-color: Gray;
-}
-num-rows {
- expand: false;
- text-color: Gray;
-}
-textbox-num-sep {
- expand: false;
- str: "/";
- text-color: Gray;
-}
-inputbar {
- padding: 1px ;
- spacing: 0px ;
+
+case-indicator,
+entry,
+prompt,
+button {
+ spacing: 5px;
text-color: @normal-foreground;
- children: [ "prompt","textbox-prompt-colon","entry","num-filtered-rows","textbox-num-sep","num-rows","case-indicator" ];
+ border-radius: 5px;
+ padding: 10px 20px;
+ margin: 0px;
}
-case-indicator {
- spacing: 0;
- text-color: @normal-foreground;
+
+prompt {
+ background-color: @prompt-background;
+ text-color: @prompt-foreground;
+ border-radius: 5px;
}
-entry {
- text-color: @normal-foreground;
- cursor: text;
- spacing: 0;
- placeholder-color: Gray;
- placeholder: "Type to filter";
+
+button.selected {
+ background-color: @selected-normal-background;
+ text-color: @selected-normal-foreground;
}
-prompt {
- spacing: 0;
+
+textbox-prompt-sep {
+ expand: false;
+ str: ">>";
text-color: @normal-foreground;
+ margin: 10px 0 0 0;
}
-textbox-prompt-colon {
- margin: 0px 0.3000em 0.0000em 0.0000em ;
- expand: false;
- str: ":";
- text-color: inherit;
+element-text, element-icon {
+ background-color: inherit;
+ text-color: inherit;
}
diff --git a/.config/rofi/gruvbox.rasi b/.config/rofi/gruvbox.rasi
new file mode 100644
index 0000000..b2d538b
--- /dev/null
+++ b/.config/rofi/gruvbox.rasi
@@ -0,0 +1,55 @@
+* {
+ highlight: bold italic;
+ scrollbar: true;
+
+ /* gruv = Gruvbox Dark */
+ gruv-bg-dim: #282828;
+ gruv-bg0: #3c3836;
+ gruv-bg1: #504945;
+ gruv-bg2: #665c54;
+ gruv-bg3: #7c6f64;
+ gruv-bg4: #928374;
+ gruv-bg5: #a89984;
+ gruv-red: #fb4934;
+ gruv-orange: #fe8019;
+ gruv-yellow: #fabd2f;
+ gruv-green: #b8bb26;
+ gruv-blue: #83a598;
+ gruv-aqua: #8ec07c;
+ gruv-purple: #d3869b;
+ gruv-fg: #ebdbb2;
+ gruv-gray0: #665c54;
+ gruv-gray1: #7c6f64;
+ gruv-gray2: #928374;
+
+ background: @gruv-bg-dim;
+ background-color: @background;
+ foreground: @gruv-fg;
+ border-color: @gruv-blue;
+ separatorcolor: @border-color;
+ scrollbar-handle: @border-color;
+
+ normal-background: @gruv-bg0;
+ normal-foreground: @foreground;
+ alternate-normal-background: @gruv-bg1;
+ alternate-normal-foreground: @foreground;
+ selected-normal-background: @gruv-blue;
+ selected-normal-foreground: @background;
+
+ active-background: @gruv-blue;
+ active-foreground: @background;
+ alternate-active-background: @active-background;
+ alternate-active-foreground: @active-foreground;
+ selected-active-background: @active-background;
+ selected-active-foreground: @active-foreground;
+
+ urgent-background: @gruv-red;
+ urgent-foreground: @background;
+ alternate-urgent-background: @urgent-background;
+ alternate-urgent-foreground: @urgent-foreground;
+ selected-urgent-background: @urgent-background;
+ selected-urgent-foreground: @urgent-foreground;
+
+ prompt-background: @gruv-blue;
+ prompt-foreground: @background;
+}