aboutsummaryrefslogtreecommitdiff
path: root/.config/rofi/config.rasi
diff options
context:
space:
mode:
Diffstat (limited to '.config/rofi/config.rasi')
-rw-r--r--.config/rofi/config.rasi234
1 files changed, 110 insertions, 124 deletions
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;
}