mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 23:31:54 -05:00
home/rofi: improve theme
This commit is contained in:
parent
0c1c4712ea
commit
2897196e4a
|
@ -17,11 +17,17 @@ in {
|
||||||
font = "NotoSansM Nerd Font ${toString config.gtk.font.size}";
|
font = "NotoSansM Nerd Font ${toString config.gtk.font.size}";
|
||||||
location = "center";
|
location = "center";
|
||||||
package = pkgs.rofi-wayland;
|
package = pkgs.rofi-wayland;
|
||||||
plugins = [pkgs.rofi-power-menu];
|
|
||||||
|
plugins = [
|
||||||
|
pkgs.rofi-power-menu
|
||||||
|
pkgs.rofi-file-browser
|
||||||
|
];
|
||||||
|
|
||||||
terminal = lib.getExe cfg.defaultApps.terminal;
|
terminal = lib.getExe cfg.defaultApps.terminal;
|
||||||
theme = "theme.rasi";
|
theme = "theme.rasi";
|
||||||
|
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
|
case-sensitive = false;
|
||||||
click-to-exit = true;
|
click-to-exit = true;
|
||||||
combi-display-format = "{text}";
|
combi-display-format = "{text}";
|
||||||
combi-hide-mode-prefix = true;
|
combi-hide-mode-prefix = true;
|
||||||
|
@ -30,19 +36,22 @@ in {
|
||||||
"window"
|
"window"
|
||||||
"drun"
|
"drun"
|
||||||
"ssh"
|
"ssh"
|
||||||
|
"recursivebrowser"
|
||||||
];
|
];
|
||||||
|
|
||||||
display-combi = "Search";
|
display-combi = "Search";
|
||||||
|
display-drun = "Apps";
|
||||||
display-filebrowser = "Files";
|
display-filebrowser = "Files";
|
||||||
|
display-recursivebrowser = "Files";
|
||||||
display-run = "Run";
|
display-run = "Run";
|
||||||
display-ssh = "SSH";
|
display-ssh = "SSH";
|
||||||
display-window = "Windows";
|
display-window = "Windows";
|
||||||
drun-display-format = "{icon} {name}";
|
drun-display-format = "{icon} {name}";
|
||||||
hide-scrollbar = true;
|
|
||||||
hover-select = true;
|
hover-select = true;
|
||||||
me-accept-entry = "MousePrimary";
|
me-accept-entry = "MousePrimary";
|
||||||
me-select-entry = "";
|
me-select-entry = "";
|
||||||
modes = "drun,window,ssh,combi,filebrowser";
|
modes = "drun,window,ssh,recursivebrowser";
|
||||||
|
scrollbar = false;
|
||||||
show-display-name = false;
|
show-display-name = false;
|
||||||
show-icons = true;
|
show-icons = true;
|
||||||
sort = true;
|
sort = true;
|
||||||
|
@ -87,14 +96,14 @@ in {
|
||||||
background-color: ${cfg.theme.colors.background}CC;
|
background-color: ${cfg.theme.colors.background}CC;
|
||||||
border: 2;
|
border: 2;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
padding: 5;
|
padding: 0;
|
||||||
}
|
}
|
||||||
mainbox {
|
mainbox {
|
||||||
border: 0;
|
border: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
message {
|
message {
|
||||||
border: 1px dash 0px 0px ;
|
border: 2px solid 0px 0px ;
|
||||||
border-color: @separatorcolor;
|
border-color: @separatorcolor;
|
||||||
padding: 1px ;
|
padding: 1px ;
|
||||||
}
|
}
|
||||||
|
@ -103,10 +112,10 @@ in {
|
||||||
}
|
}
|
||||||
listview {
|
listview {
|
||||||
fixed-height: 0;
|
fixed-height: 0;
|
||||||
border: 2px dash 0px 0px ;
|
border: 2px solid 0px 0px ;
|
||||||
border-color: @separatorcolor;
|
border-color: @separatorcolor;
|
||||||
spacing: 2px ;
|
spacing: 2px ;
|
||||||
scrollbar: true;
|
scrollbar: false;
|
||||||
padding: 2px 0px 0px ;
|
padding: 2px 0px 0px ;
|
||||||
}
|
}
|
||||||
element {
|
element {
|
||||||
|
@ -154,13 +163,13 @@ in {
|
||||||
text-color: @alternate-active-foreground;
|
text-color: @alternate-active-foreground;
|
||||||
}
|
}
|
||||||
scrollbar {
|
scrollbar {
|
||||||
width: 4px ;
|
width: 0px ;
|
||||||
border: 0;
|
border: 0;
|
||||||
handle-width: 8px ;
|
handle-width: 0px ;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
mode-switcher {
|
mode-switcher {
|
||||||
border: 2px dash 0px 0px ;
|
border: 2px solid 0px 0px ;
|
||||||
border-color: @separatorcolor;
|
border-color: @separatorcolor;
|
||||||
}
|
}
|
||||||
button.selected {
|
button.selected {
|
||||||
|
@ -174,7 +183,7 @@ in {
|
||||||
inputbar {
|
inputbar {
|
||||||
spacing: 0;
|
spacing: 0;
|
||||||
text-color: @normal-foreground;
|
text-color: @normal-foreground;
|
||||||
padding: 1px ;
|
padding: 10px ;
|
||||||
}
|
}
|
||||||
case-indicator {
|
case-indicator {
|
||||||
spacing: 0;
|
spacing: 0;
|
||||||
|
@ -187,6 +196,7 @@ in {
|
||||||
prompt {
|
prompt {
|
||||||
spacing: 0;
|
spacing: 0;
|
||||||
text-color: @normal-foreground;
|
text-color: @normal-foreground;
|
||||||
|
margin: 1px;
|
||||||
}
|
}
|
||||||
inputbar {
|
inputbar {
|
||||||
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
|
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
|
||||||
|
|
Loading…
Reference in a new issue