waybar: modify config
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
b790e73b6a
commit
f293589381
2 changed files with 29 additions and 5 deletions
|
@ -60,7 +60,9 @@ in {
|
||||||
systemd.enable = true; # Start on login
|
systemd.enable = true; # Start on login
|
||||||
|
|
||||||
# ?? waybar --log-level debug
|
# ?? waybar --log-level debug
|
||||||
style = ''
|
style = let
|
||||||
|
gap = toString config.custom.gap;
|
||||||
|
in ''
|
||||||
* {
|
* {
|
||||||
border-radius: 50px;
|
border-radius: 50px;
|
||||||
color: #93a1a1;
|
color: #93a1a1;
|
||||||
|
@ -70,7 +72,7 @@ in {
|
||||||
}
|
}
|
||||||
|
|
||||||
.horizontal > box {
|
.horizontal > box {
|
||||||
margin: 0 ${toString config.custom.gap}px ${toString config.custom.gap}px;
|
margin: 0 ${gap}px ${gap}px;
|
||||||
}
|
}
|
||||||
|
|
||||||
${readFile ./style.css}
|
${readFile ./style.css}
|
||||||
|
@ -125,7 +127,7 @@ in {
|
||||||
reload_style_on_change = true; # Reload CSS when modified
|
reload_style_on_change = true; # Reload CSS when modified
|
||||||
|
|
||||||
## GLOBAL ##
|
## GLOBAL ##
|
||||||
layer = "bottom";
|
layer = "top";
|
||||||
position = "bottom";
|
position = "bottom";
|
||||||
|
|
||||||
## POSITION ##
|
## POSITION ##
|
||||||
|
@ -134,7 +136,8 @@ in {
|
||||||
"custom/inhibitor"
|
"custom/inhibitor"
|
||||||
"custom/vpn"
|
"custom/vpn"
|
||||||
"custom/vm"
|
"custom/vm"
|
||||||
"hyprland/workspaces"
|
(mkIf config.custom.desktops.hyprland.enable "hyprland/workspaces")
|
||||||
|
(mkIf config.custom.desktops.niri.enable "niri/workspaces")
|
||||||
];
|
];
|
||||||
modules-center = [
|
modules-center = [
|
||||||
"clock"
|
"clock"
|
||||||
|
@ -214,6 +217,27 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# https://github.com/Alexays/Waybar/wiki/Module:-Niri
|
||||||
|
# https://www.nerdfonts.com/cheat-sheet
|
||||||
|
"niri/workspaces" = {
|
||||||
|
format = "{icon}";
|
||||||
|
format-icons = {
|
||||||
|
android = "";
|
||||||
|
dropdown = "";
|
||||||
|
game = "";
|
||||||
|
hidden = "";
|
||||||
|
music = "";
|
||||||
|
office = "";
|
||||||
|
password = "";
|
||||||
|
pip = "";
|
||||||
|
scratchpad = "";
|
||||||
|
steam = "";
|
||||||
|
terminal = "";
|
||||||
|
vm = "";
|
||||||
|
wallpaper = "";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
cava = cava-config;
|
cava = cava-config;
|
||||||
|
|
||||||
# https://github.com/Alexays/Waybar/wiki/Module:-Clock
|
# https://github.com/Alexays/Waybar/wiki/Module:-Clock
|
||||||
|
|
|
@ -42,7 +42,7 @@ tooltip label {
|
||||||
|
|
||||||
.horizontal > box {
|
.horizontal > box {
|
||||||
background: #002b36;
|
background: #002b36;
|
||||||
border: 2px #073642 solid;
|
border: 2px #586e75 solid;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue