From 1787fe1e13e76b3ca15f487d3ad69406fceae751 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 21 Jul 2022 13:38:10 -0400 Subject: Add workspaces to my status bar --- lib/linux.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/linux.nix') diff --git a/lib/linux.nix b/lib/linux.nix index 7ad0c89..96c14f8 100644 --- a/lib/linux.nix +++ b/lib/linux.nix @@ -215,7 +215,7 @@ in height = "30"; module-margin = 1; modules-center = "date"; - modules-left = "volume-bar"; + modules-left = ["ewmh" "volume-bar"]; modules-right = [ "battery" "cpu" "mem" "temp" ]; monitor = "\${env:MONITOR:HDMI-2}"; monitor-fallback = "\${env:MONITOR:eDP-1}"; @@ -231,6 +231,10 @@ in tray-scale = 1; width = "100%"; }; + "module/ewmh" = { + type = "internal/xworkspaces"; + label-active-foreground = "#fff"; + }; "module/date" = { type = "internal/date"; internal = 5; -- cgit v1.2.3