This commit is contained in:
k
2024-09-25 16:39:04 -04:00
parent 235b382535
commit 7ce35c7655
11 changed files with 109 additions and 137 deletions

View File

@@ -1,5 +1,4 @@
{ config, pkgs, ... }:
{
{ config, pkgs, ... }: {
programs.waybar = {
enable = true;
systemd.enable = true;
@@ -7,13 +6,11 @@
mainBar = {
layer = "bottom";
position = "bottom";
output = [
"eDP-1"
];
output = [ "eDP-1" ];
modules-left = ["sway/workspaces" "sway/mode"];
modules-center = ["clock"];
modules-right = ["pulseaudio" "network" "battery"];
modules-left = [ "sway/workspaces" "sway/mode" ];
modules-center = [ "clock" ];
modules-right = [ "pulseaudio" "network" "battery" ];
cpu = {
interval = 15;
@@ -38,7 +35,7 @@
phone = "";
portable = "";
car = "";
default = ["" ""];
default = [ "" "" ];
};
scroll-step = 1;
on-click = "pavucontrol";
@@ -56,7 +53,7 @@
format = "{ifname}";
format-wifi = "{essid} ({signalStrength}%) ";
format-ethernet = "{ipaddr}/{cidr} 󰊗";
format-disconnected = "󰤮";
format-disconnected = "󰤮";
tooltip-format = "{ifname} via {gwaddr} 󰊗";
tooltip-format-wifi = "{essid} ({signalStrength}%) ";
tooltip-format-ethernet = "{ifname} ";
@@ -66,12 +63,10 @@
battery = {
format = "{capacity}% {icon}";
"format-icons" = ["" "" "" "" ""];
"format-icons" = [ "" "" "" "" "" ];
};
clock = {
"format-alt" = "{:%a, %d. %b %H:%M}";
};
clock = { "format-alt" = "{:%a, %d. %b %H:%M}"; };
};
};
};