mirror of
https://github.com/RGBCube/ncc
synced 2025-08-01 12:37:46 +00:00
Some waybar ricing
This commit is contained in:
parent
6fae505819
commit
8f5a652b6f
1 changed files with 105 additions and 0 deletions
|
@ -3,5 +3,110 @@
|
||||||
homeConfiguration "nixos" {
|
homeConfiguration "nixos" {
|
||||||
programs.waybar = enabled {
|
programs.waybar = enabled {
|
||||||
systemd = enabled {};
|
systemd = enabled {};
|
||||||
|
|
||||||
|
settings = [{
|
||||||
|
layer = "top";
|
||||||
|
height = 30;
|
||||||
|
|
||||||
|
margin-right = 10;
|
||||||
|
margin-left = 10;
|
||||||
|
margin-top = 10;
|
||||||
|
|
||||||
|
modules-left = [
|
||||||
|
"hyprland/workspaces"
|
||||||
|
];
|
||||||
|
|
||||||
|
"hyprland/workspaces" = {
|
||||||
|
format = "{icon}";
|
||||||
|
format-icons.default = "";
|
||||||
|
format-icons.active = "";
|
||||||
|
};
|
||||||
|
|
||||||
|
modules-center = [
|
||||||
|
"hyprland/window"
|
||||||
|
];
|
||||||
|
|
||||||
|
"hyprland/window".seperate-outputs = true;
|
||||||
|
|
||||||
|
modules-right = [
|
||||||
|
"tray"
|
||||||
|
"pulseaudio"
|
||||||
|
"backlight"
|
||||||
|
"cpu"
|
||||||
|
"memory"
|
||||||
|
"network"
|
||||||
|
"battery"
|
||||||
|
"clock"
|
||||||
|
];
|
||||||
|
|
||||||
|
pulseaudio = {
|
||||||
|
format = "{volume}% {icon} {format_source}";
|
||||||
|
format-bluetooth = "{volume}% {icon} {format_source}";
|
||||||
|
format-bluetooth-muted = " {icon} {format_source}";
|
||||||
|
format-muted = " {format_source}";
|
||||||
|
format-source = "";
|
||||||
|
format-source-muted = "";
|
||||||
|
|
||||||
|
format-icons.headphone = "";
|
||||||
|
format-icons.headset = "";
|
||||||
|
format-icons.default = [
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
backlight = {
|
||||||
|
format = "{percent}% {icon}";
|
||||||
|
format-icons = [
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
cpu.format = "{usage}% ";
|
||||||
|
memory.format = "{}% ";
|
||||||
|
|
||||||
|
network = {
|
||||||
|
format-alt = "{ifname}: {ipaddr}/{cidr}";
|
||||||
|
format-disconnected = "";
|
||||||
|
format-ethernet = "{ipaddr}/{cidr} ";
|
||||||
|
format-linked = "{ifname} (No IP) ";
|
||||||
|
format-wifi = "{essid} ({signalStrength}%) ";
|
||||||
|
};
|
||||||
|
|
||||||
|
battery = {
|
||||||
|
format = "{capacity}% {icon}";
|
||||||
|
format-charging = "{capacity}% ";
|
||||||
|
format-plugged = "{capacity}% ";
|
||||||
|
|
||||||
|
format-icons = [
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
];
|
||||||
|
|
||||||
|
states.warning = 30;
|
||||||
|
states.critical = 15;
|
||||||
|
};
|
||||||
|
|
||||||
|
clock = {
|
||||||
|
tooltip-format = "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>";
|
||||||
|
};
|
||||||
|
}];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue