style waybar
This commit is contained in:
parent
990216c8a5
commit
71af6bd2c6
2 changed files with 9 additions and 18 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
{upkgs, ...}: {
|
{...}: {
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
@ -6,8 +6,8 @@
|
||||||
layer = "top";
|
layer = "top";
|
||||||
position = "top";
|
position = "top";
|
||||||
height = 30;
|
height = 30;
|
||||||
# modules-left = ["hyprland/workspaces" "wlr/taskbar" "custom/media"];
|
|
||||||
modules-left = ["hyprland/workspaces" "wlr/taskbar"];
|
modules-left = ["hyprland/workspaces"];
|
||||||
modules-center = ["clock"];
|
modules-center = ["clock"];
|
||||||
modules-right = ["cpu" "memory" "network" "pulseaudio" "privacy" "tray"];
|
modules-right = ["cpu" "memory" "network" "pulseaudio" "privacy" "tray"];
|
||||||
|
|
||||||
|
|
@ -21,20 +21,10 @@
|
||||||
ignore-hidden = true;
|
ignore-hidden = true;
|
||||||
on-click = "activate";
|
on-click = "activate";
|
||||||
};
|
};
|
||||||
"wlr/taskbar" = {
|
|
||||||
format = "{icon}";
|
|
||||||
icon-size = 12;
|
|
||||||
};
|
|
||||||
# "custom/media" = {
|
|
||||||
# exec = "auroramedia";
|
|
||||||
# return-type = "json";
|
|
||||||
# escape = true;
|
|
||||||
# restart-interval = 1;
|
|
||||||
# };
|
|
||||||
|
|
||||||
# center
|
# center
|
||||||
"clock" = {
|
"clock" = {
|
||||||
format = "{:%Y %b %a %d %H:%M:%S}";
|
format = "{:%b %a | %d %r}";
|
||||||
interval = 1;
|
interval = 1;
|
||||||
tooltip = false;
|
tooltip = false;
|
||||||
};
|
};
|
||||||
|
|
@ -49,10 +39,10 @@
|
||||||
interval = 1;
|
interval = 1;
|
||||||
};
|
};
|
||||||
"network" = {
|
"network" = {
|
||||||
format = "{bandwidthUpBytes} {bandwidthDownBytes} {ifname}";
|
format = "{bandwidthUpBits} {bandwidthDownBits} {ifname}";
|
||||||
format-wifi = " {bandwidthUpBytes} {bandwidthDownBytes} ";
|
format-wifi = " {bandwidthUpBits} {bandwidthDownBits} {ifname}";
|
||||||
format-ethernet = " {bandwidthUpBytes} {bandwidthDownBytes} ";
|
format-ethernet = " {bandwidthUpBits} {bandwidthDownBits} {ifname}";
|
||||||
format-disconnected = "no internet ~ rawr! ~ x3"; # empty format hides module
|
format-disconnected = "no internet ~ rawr! ~ ;w;"; # empty format hides module
|
||||||
interval = 1;
|
interval = 1;
|
||||||
max-length = 32;
|
max-length = 32;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -123,6 +123,7 @@ right-side modules
|
||||||
#network {
|
#network {
|
||||||
margin: 4px 0 4px 0;
|
margin: 4px 0 4px 0;
|
||||||
border-radius: 0px 32px 32px 0px;
|
border-radius: 0px 32px 32px 0px;
|
||||||
|
min-width: 100px; /* surely there's a better way to fix the size? */
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue