summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/linux.nix6
-rw-r--r--lib/xmonad.hs2
2 files changed, 6 insertions, 2 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;
diff --git a/lib/xmonad.hs b/lib/xmonad.hs
index 9972bf0..c933be9 100644
--- a/lib/xmonad.hs
+++ b/lib/xmonad.hs
@@ -118,7 +118,7 @@ goldenSpiral :: SpiralWithDir a
goldenSpiral = spiral (6 / 7)
myWorkspaces :: [String]
-myWorkspaces = ["1[work]", "2[chat]", "3[lithium]", "4", "5[mon]", "6"] ++ map show [7 .. 9]
+myWorkspaces = ["1[org]", "2[dev]", "3[chat]", "4[lithium]", "5[mon]", "6"] ++ map show [7 .. 9]
addSpace :: l a -> ModifiedLayout Spacing l a
addSpace =