diff options
Diffstat (limited to 'nixos/config/waybar')
| -rw-r--r-- | nixos/config/waybar/config.jsonc | 13 | ||||
| -rw-r--r-- | nixos/config/waybar/style.css | 7 |
2 files changed, 18 insertions, 2 deletions
diff --git a/nixos/config/waybar/config.jsonc b/nixos/config/waybar/config.jsonc index 90c8ca9..0ad4860 100644 --- a/nixos/config/waybar/config.jsonc +++ b/nixos/config/waybar/config.jsonc @@ -15,6 +15,7 @@ "modules-right": [ "tray", "network", + "pulseaudio", "battery", "cpu", "memory", @@ -22,6 +23,12 @@ "clock" ], + "pulseaudio": { + "format": "VOL: {volume}%", + "format-muted": "MUTED", + "on-click": "sh ~/.local/bin/unblock-pipewire.sh" + }, + "hyprland/workspaces": { "format": "{name}", "persistent-workspaces": { @@ -33,11 +40,15 @@ "max-length": 40, "seperate-outputs": false }, + "tray": { "spacing": 10 }, "clock": { - "format-alt": "{:%Y-%m-%d}" + "format": "{:%H:%M:%S}", + "format-alt": "{:%Y-%m-%d}", + "tooltip": false, + "interval": 1 }, "cpu": { "format": "CPU: {usage}%", diff --git a/nixos/config/waybar/style.css b/nixos/config/waybar/style.css index 2bcc39c..c17a100 100644 --- a/nixos/config/waybar/style.css +++ b/nixos/config/waybar/style.css @@ -55,7 +55,8 @@ button:hover { #memory, #disk, #network, -#tray { +#tray, +#pulseaudio { padding: 0 8px; color: @white; } @@ -98,3 +99,7 @@ button:hover { background-color: #2980b9; } +#pulseaudio { + color: @grn; + border-bottom: 4px solid @grn; +} |
