rofi is presentable now.

This commit is contained in:
quak
2024-09-17 23:44:45 +02:00
parent 610fc39cff
commit abbb6564da
6 changed files with 88 additions and 29 deletions

View File

@@ -1,5 +1,5 @@
import = ["~/.config/alacritty/zegonix.toml"] import = ["~/.config/alacritty/themes/zegonix.toml"]
# import = ["~/.config/alacritty/summer.toml"] # import = ["~/.config/alacritty/themes/summer.toml"]
# history configuration # history configuration
[scrolling] [scrolling]

View File

@@ -1,5 +1,5 @@
[colors.primary] [colors.primary]
background = "0x202830" background = "0x202028"
foreground = "0xD8D8D0" foreground = "0xD8D8D0"
dim_foreground = "0xA0A0A0" dim_foreground = "0xA0A0A0"
bright_foreground = "0xFFFFFF" bright_foreground = "0xFFFFFF"

View File

@@ -23,5 +23,6 @@ rounded-corners-exclude = [
]; ];
# general # general
use-damage = true;
xrender-sync = true; xrender-sync = true;
xrender-sync-fence = true; xrender-sync-fence = true;

View File

@@ -1,5 +1,9 @@
@theme "~/.config/rofi/themes/zegonix.rasi"
//@import "~/.config/rofi/themes/squared-nord.rasi"
//@import "~/.config/rofi/themes/test.rasi"
configuration { configuration {
modes: "combi,window,drun,ssh"; modes: "combi,run,window,ssh";
combi-modes: "window,drun,run,ssh"; combi-modes: "window,drun,run,ssh";
terminal: "alacritty"; terminal: "alacritty";
case-sensitive: false; case-sensitive: false;
@@ -13,5 +17,3 @@ configuration {
sorting-method: "name"; sorting-method: "name";
} }
} }
@import "~/.config/rofi/themes/zegonix.rasi"

View File

@@ -1,49 +1,105 @@
* { * {
font: "Victor Mono Nerd Font 12"; font: "Victor Mono Nerd Font 13";
zx-window-background: #0A0E25E8; zx-transparent: transparent;
zx-window-border: #15D7E5FF; zx-white: #C8C8C8FF; // #C8C8C8E8;
zx-prompt-background: #282848C8; zx-dark-blue: #080E25FF; // #080E25E8;
zx-other-blue: #162B56E6; zx-blue: #203050FF; // #203050C8;
zx-light-blue: #335E86E6; zx-cyan: #15D7E5FF;
zx-light-cyan: #A3E2E3E6; zx-background: @zx-dark-blue;
zx-text: #C8C8C8E8; zx-secondary: @zx-blue;
zx-accent: @zx-cyan;
zx-text: @zx-white;
background-color: transparent;
} }
window { window {
location: 0; location: center;
width: 35%; width: 35%;
transparency: "real";
background-color: @zx-background;
border: 1; border: 1;
border-radius: 0; border-color: @zx-accent;
background-color: @zx-window-background; padding: 8px;
border-color: @zx-window-border;
children: [mainbox];
}
mainbox {
background: @zx-transparent;
border: 0px;
spacing: 8px;
children: [inputbar, listview];
} }
inputbar { inputbar {
spacing: 20px; spacing: 40px;
padding: 5px; padding: 10px;
background-color: @zx-prompt-background; background-color: @zx-secondary;
text-color: @zx-text; text-color: @zx-text;
border: 0 0 1px 0;
border-color: @zx-accent;
children: [prompt, entry];
} }
prompt { prompt {
background-color: @zx-prompt-background;
text-color: @zx-text; text-color: @zx-text;
text-transform: bold;
} }
entry { entry {
background-color: @zx-prompt-background; text-color: @zx-text;
placeholder-color: @zx-text;
placeholder: "search";
}
listview {
lines: 8;
cycle: true;
scrollbar: false;
spacing: 5px;
border: 0px;
background-color: @transparent; //@zx-background;
children: [element];
}
element {
background-color: transparent;
text-color: inherit;
border: 0;
children: [element-text];
}
element-text {
padding: 5;
text-color: @zx-text; text-color: @zx-text;
} }
scrollbar { element-text.normal {
handle-width: 0; text-color: @zx-text;
border: 0;
} }
mode-switcher { element-text.active {
enabled: true; text-color: @zx-text;
border: 0;
}
element-text.selected {
background-color: @zx-blue;
}
prompt, entry, element-text {
vertical-align: 0.5;
} }