summaryrefslogtreecommitdiff
path: root/modules/home/christian.nix
diff options
context:
space:
mode:
authorChristian <[email protected]>2026-07-13 17:55:49 -0500
committerChristian <[email protected]>2026-07-13 17:55:49 -0500
commit7d3fd572d171a4f0a1a6a77be19020cc62b121f1 (patch)
tree2435c13158a604e1ed125a6997ad210d31070988 /modules/home/christian.nix
parentb53d77773468ffb4f4ddc3dcd828ba88be9daeab (diff)
Add PipeWire audio with pavucontrol, pamixer, xmobar volume, and media key bindings
Diffstat (limited to 'modules/home/christian.nix')
-rw-r--r--modules/home/christian.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/home/christian.nix b/modules/home/christian.nix
index 56c8d94..342b2a4 100644
--- a/modules/home/christian.nix
+++ b/modules/home/christian.nix
@@ -26,6 +26,8 @@
maim
hexyl
calibre
+ pavucontrol
+ pamixer
];
programs.alacritty = {
@@ -120,6 +122,7 @@
, Run Cpu ["-t", "cpu: <fc=#4eb4fa><bar> <total>%</fc>"] 10
, Run Network "wlan0" ["-S", "True", "-t", "wlan: <fc=#4eb4fa><rx></fc>/<fc=#4eb4fa><tx></fc>"] 10
, Run Memory ["-t","mem: <fc=#4eb4fa><usedbar> <usedratio>%</fc>"] 10
+ , Run Volume "default" "Master" ["-t", "vol: <fc=#4eb4fa><volume>%</fc><fc=grey><status></fc>"] 10
, Run Date "date: <fc=#4eb4fa>%a %d %b %Y %I:%M:%S %p </fc>" "date" 10
${lib.optionalString config.custom.xmobarBattery ''
, Run Battery
@@ -137,7 +140,7 @@
]
, sepChar = "%"
, alignSep = "}{"
- , template = " %XMonadLog% | ${lib.optionalString config.custom.xmobarBattery "%battery% | "}${lib.optionalString config.custom.xmobarVpn "%vpn% | "}%cpu% | %memory% | %wlan0% }{%date% "
+ , template = " %XMonadLog% | ${lib.optionalString config.custom.xmobarBattery "%battery% | "}${lib.optionalString config.custom.xmobarVpn "%vpn% | "}%cpu% | %memory% | %wlan0% }{%default:Master% | %date% "
}
'';
};