(rofi) config clean up

This commit is contained in:
2026-06-16 23:16:39 +02:00
parent 7965c3bb31
commit fc4bcb1f0b
3 changed files with 63 additions and 42 deletions
+33 -22
View File
@@ -1,27 +1,38 @@
@theme "~/.config/rofi/themes/zegonix-blue.rasi"
//@theme "~/.config/rofi/themes/zegonix-black.rasi"
// @theme "~/.config/rofi/themes/zegonix-black.rasi"
configuration {
modes: "combi,window,run";
combi-modes: "drun,run";
drun-match-fields: "name,generic,keywords";
matching: "fuzzy";
monitor: -1;
terminal: "ghostty";
case-sensitive: false;
kb-row-up: "Up,Control+k";
kb-row-down: "Down,Control+j";
kb-accept-entry: "Return,Control+m";
kb-remove-to-eol: "";
kb-clear-line: "";
kb-remove-word-back: "Control+BackSpace,Control+w";
timeout {
action: "kb-cancel";
delay: 0;
}
// mode
modes: "combi,run";
combi-modes: "drun,run";
drun-match-fields: "name,generic,keywords";
filebrowser {
directories-first: true;
sorting-method: "name";
}
// blargh?
monitor: -1;
terminal: "ghostty";
no-plugins: true;
// matching
matching: "fuzzy";
case-sensitive: false;
// keybindings
kb-row-up: "Up,Control+k";
kb-row-down: "Down,Control+j";
kb-accept-entry: "Return";
kb-remove-to-eol: "";
kb-clear-line: "";
kb-remove-word-back: "Control+BackSpace,Control+w";
// do not cancel me!
timeout {
action: "kb-cancel";
delay: 0;
}
// ??
filebrowser {
directories-first: true;
sorting-method: "name";
}
}
+28 -15
View File
@@ -1,18 +1,18 @@
* {
font: "Victor Mono Nerd Font 13";
font: "JetBrains Mono Nerd Font 14";
zx-transparent: transparent;
zx-white: #C8C8C8FF;
zx-dark-blue: #080C1CEA;
zx-dark-blue: #000010EA;
zx-blue: #203050C8;
zx-light-blue: #6bceffff;
zx-light-blue: #5BB8FFFF;
zx-cyan: #15D7E5FF;
zx-light-grey: #A0A0ADFF;
zx-dark-grey: #202028C8;
zx-black: #000000EA;
zx-background: @zx-black;
zx-secondary: @zx-dark-grey;
zx-accent: @zx-white;
zx-accent: @zx-light-grey;
zx-text: @zx-white;
background-color: transparent;
@@ -20,16 +20,14 @@
window {
location: center;
width: 35%;
width: 30%;
background-color: @zx-background;
border: 0;
border-color: @zx-accent;
padding: 2 12 8 12;
children: [mainbox];
children: [ mainbox ];
}
mainbox {
@@ -37,7 +35,7 @@ mainbox {
border: 0px;
spacing: 8px;
children: [inputbar, listview];
children: [ inputbar, listview, mode-switcher ];
}
inputbar {
@@ -50,7 +48,7 @@ inputbar {
border: 0 0 1px 0;
border-color: @zx-accent;
children: [prompt, entry];
children: [ entry ];
}
prompt {
@@ -72,17 +70,17 @@ listview {
spacing: 5px;
border: 0px;
background-color: @transparent; //@zx-background;
background-color: @zx-transparent;
children: [element];
children: [ element ];
}
element {
background-color: transparent;
background-color: @zx-transparent;
text-color: inherit;
border: 0;
children: [element-text];
children: [ element-text ];
}
element-text {
@@ -106,4 +104,19 @@ element-text.selected {
prompt, entry, element-text {
vertical-align: 0.5;
}
}
mode-switcher {
children: [ button ];
}
button {
padding: 4 0 4 0;
text-color: @zx-text;
text-transform: bold;
}
button.selected {
text-color: @zx-background;
background-color: @zx-accent;
}
+2 -5
View File
@@ -20,15 +20,13 @@
window {
location: center;
width: 25%;
width: 30%;
background-color: @zx-background;
border: 0;
border-color: @zx-accent;
//padding: 2 12 8 12;
children: [mainbox];
}
@@ -44,7 +42,6 @@ inputbar {
spacing: 40px;
padding: 10px;
//background-color: @zx-secondary;
text-color: @zx-text;
border: 0 0 1px 0;
@@ -72,7 +69,7 @@ listview {
spacing: 5px;
border: 0px;
background-color: @zx-transparent; //@zx-background;
background-color: @zx-transparent;
children: [element];
}