(rofi) config clean up
This commit is contained in:
@@ -2,24 +2,35 @@
|
||||
// @theme "~/.config/rofi/themes/zegonix-black.rasi"
|
||||
|
||||
configuration {
|
||||
modes: "combi,window,run";
|
||||
// mode
|
||||
modes: "combi,run";
|
||||
combi-modes: "drun,run";
|
||||
drun-match-fields: "name,generic,keywords";
|
||||
matching: "fuzzy";
|
||||
|
||||
// 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,Control+m";
|
||||
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";
|
||||
|
||||
@@ -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,15 +20,13 @@
|
||||
|
||||
window {
|
||||
location: center;
|
||||
width: 35%;
|
||||
width: 30%;
|
||||
|
||||
background-color: @zx-background;
|
||||
|
||||
border: 0;
|
||||
border-color: @zx-accent;
|
||||
|
||||
padding: 2 12 8 12;
|
||||
|
||||
children: [ 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,13 +70,13 @@ listview {
|
||||
spacing: 5px;
|
||||
|
||||
border: 0px;
|
||||
background-color: @transparent; //@zx-background;
|
||||
background-color: @zx-transparent;
|
||||
|
||||
children: [ element ];
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: transparent;
|
||||
background-color: @zx-transparent;
|
||||
text-color: inherit;
|
||||
border: 0;
|
||||
|
||||
@@ -107,3 +105,18 @@ 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;
|
||||
}
|
||||
|
||||
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user