diff options
author | Ben Sima <ben@bsima.me> | 2022-07-21 13:38:10 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2022-07-21 13:38:10 -0400 |
commit | 1787fe1e13e76b3ca15f487d3ad69406fceae751 (patch) | |
tree | afc5759d9f63d62a94959100c7c1b0457121f485 /lib/linux.nix | |
parent | b26477ec71d5a0630db407faeb7c38ca67dde169 (diff) |
Add workspaces to my status bar
Diffstat (limited to 'lib/linux.nix')
-rw-r--r-- | lib/linux.nix | 6 |
1 files changed, 5 insertions, 1 deletions
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; |