aboutsummaryrefslogtreecommitdiff
path: root/.config/rofi/config.rasi##template
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-27 16:28:33 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-27 16:28:38 +0100
commitdb1311461fb46b005c664131deb2c0a8f4865fb1 (patch)
treeca878a0cea6bf2e6a40cb59de5d80a63f59ce4cf /.config/rofi/config.rasi##template
parenta3c6b3313803381b0cfa19f3b1e9b22fc55d61bf (diff)
update rofi theme
Diffstat (limited to '.config/rofi/config.rasi##template')
-rw-r--r--.config/rofi/config.rasi##template59
1 files changed, 30 insertions, 29 deletions
diff --git a/.config/rofi/config.rasi##template b/.config/rofi/config.rasi##template
index 1aae2ea..902cabf 100644
--- a/.config/rofi/config.rasi##template
+++ b/.config/rofi/config.rasi##template
@@ -1,62 +1,66 @@
configuration {
modi: "drun,run";
-{% if yadm.hostname == "thoncc" %}
- font: "JetBrainsMono Nerd Font 7.5";
-{% else %}
- font: "JetBrainsMono Nerd Font 9";
-{% endif %}
+ font: "sans-serif 9";
matching: "fuzzy";
separator-style: "none";
hide-scrollbar: true;
+
kb-remove-to-eol: "Control+Shift+e";
kb-accept-entry: "Control+m,Return,KP_Enter";
kb-row-up: "Up,Control+k,Shift+Tab,Shift+ISO_Left_Tab";
kb-row-down: "Down,Control+j";
}
-* {
+window {
+ padding: 2px;
background-color: ${background};
text-color: ${foreground};
- spacing: 0;
- line-padding: 0;
- line-margin: 0;
-{% if yadm.hostname == "thoncc" %}
- width: 340;
- --padding: 6px;
-{% else %}
- width: 450;
- --padding: 8px;
-{% endif %}
+ width: 450px;
}
-inputbar {
- children: [prompt, entry];
+mainbox {
+ background-color: inherit;
+ text-color: inherit;
}
-prompt {
- padding: @--padding;
+* {
+ spacing: 0;
+ line-padding: 0;
+ line-margin: 0;
}
-textbox {
- padding: @--padding;
+inputbar {
+ children: [entry];
+ background-color: inherit;
+ text-color: inherit;
}
entry {
- padding: @--padding;
+ padding: 10px;
+ background-color: inherit;
+ text-color: inherit;
+ cursor-width: 1px;
}
listview {
cycle: false;
- margin: 0 0 -1px 0;
scrollbar: false;
- lines: 6;
+ lines: 8;
+ fixed-height: false;
+ background-color: inherit;
+ text-color: inherit;
+ padding: 1px 0px;
}
element {
- padding: @--padding;
+ margin: -1px 0px;
+ padding: 6px 10px;
+ background-color: transparent;
+ text-color: ${foreground};
}
element selected {
+ border-radius: 8px;
background-color: ${accent};
text-color: ${accent_text};
}
@@ -66,6 +70,3 @@ element-text {
text-color: inherit;
}
-prompt {
- enabled: false;
-}