Compare commits

..

No commits in common. "8280be070557d6f4990b494175f4c9043008d946" and "1bfb290532722f7b52ec45d28529cd6ea6fdf346" have entirely different histories.

2 changed files with 100 additions and 108 deletions

View file

@ -1,112 +1,104 @@
{ {
programs.waybar = { programs.waybar = {
enable = true; enable = true;
settings = [{ settings = [{
layer = "top"; layer = "top";
position = "bottom"; position = "bottom";
height = 28; height = 28;
modules-left = [ modules-left = [
"sway/workspaces" "sway/workspaces"
]; ];
modules-center = [ modules-center = [
"clock" "clock"
"idle_inhibitor" ];
]; modules-right = [
modules-right = [ "disk"
"disk" "pulseaudio"
"pulseaudio" "network"
"network" "memory"
"memory" "cpu"
"cpu" "temperature"
"temperature" "battery"
"battery" "tray"
"tray" ];
]; modules = {
modules = { "battery" = {
"battery" = { states = {
states = { warning = 20;
warning = 20; critical = 10;
critical = 10; };
format = " {capacity}%";
format-discharging = "{icon} {capacity}%";
format-icons = [
""
""
""
""
""
""
""
""
""
""
];
}; };
format = " {capacity}%"; "cpu" = {
format-discharging = "{icon} {capacity}%"; format = " {}";
format-icons = [ };
"" "clock" = {
"" format = "{:%H:%M}";
"" tooltip = false;
"" };
"" "memory" = {
"" interval = 5;
"" format = " {}%";
"" tooltip-format = "{used:0.1f}/{total:0.1f} GB";
"" states = {
"" warning = 80;
]; critical = 90;
}; };
"cpu" = { };
format = " {}"; "network" = {
}; interface = "wl*";
"clock" = { format-wifi = " {essid}";
format = "{:%H:%M}"; format-icons = [
tooltip = false; ""
}; ];
"memory" = { tooltip-format-wifi = "{frequency} MHz, {signaldBm} dBm";
interval = 5; };
format = " {}%"; "pulseaudio" = {
tooltip-format = "{used:0.1f}/{total:0.1f} GB"; scroll-step = 1;
states = { format = "{icon} {volume}%";
warning = 80; format-bluetooth = "{icon} {volume}% ";
critical = 90; format-muted = "";
format-icons = {
headphones = "";
handsfree = "";
headset = "";
phone = "";
portable = "";
car = "";
default = [ "" "" ];
};
on-click = "pavucontrol";
};
"sway/workspaces" = {
all-outputs = false;
disable-scroll = false;
format = "{name}";
};
"temperature" = {
format = " {temperatureC}°C";
hwmon-path = "/sys/class/hwmon/hwmon3/temp1_input";
critical-threshold = 75;
};
"disk" = {
interval = 30;
format = "{free} free";
path = "/";
}; };
}; };
"network" = { }];
interface = "wl*"; style = builtins.readFile ./waybar.css;
format-wifi = " {essid}"; };
format-icons = [
""
];
tooltip-format-wifi = "{frequency} MHz, {signaldBm} dBm";
};
"pulseaudio" = {
scroll-step = 1;
format = "{icon} {volume}%";
format-bluetooth = "{icon} {volume}% ";
format-muted = "";
format-icons = {
headphones = "";
handsfree = "";
headset = "";
phone = "";
portable = "";
car = "";
default = [ "" "" ];
};
on-click = "pavucontrol";
};
"sway/workspaces" = {
all-outputs = false;
disable-scroll = false;
format = "{name}";
};
"temperature" = {
format = " {temperatureC}°C";
hwmon-path = "/sys/class/hwmon/hwmon3/temp1_input";
critical-threshold = 75;
};
"disk" = {
interval = 30;
format = "{free}";
path = "/";
};
"idle_inhibitor" = {
format = "{icon}";
format-icons = {
activated = "";
deactivated = "";
};
};
};
}];
style = builtins.readFile ./waybar.css;
};
} }

@ -1 +1 @@
Subproject commit c598bf71e3f6dbdad34092b09df9551dec913770 Subproject commit 87e002697a0bb6883824f1ce8395a67638c6fb49