about summary refs log tree commit diff
path: root/dotfiles/xmobar.hs
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-07-04 11:48:31 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-07-05 14:12:47 +0200
commit834f19223d817258108ad780a1bde2058ab3ee17 (patch)
treed7e954b3424b247200b07f9058a0e0364600a51f /dotfiles/xmobar.hs
parentfmt (diff)
downloadnixos-config-834f19223d817258108ad780a1bde2058ab3ee17.tar.gz
nixos-config-834f19223d817258108ad780a1bde2058ab3ee17.tar.bz2
nixos-config-834f19223d817258108ad780a1bde2058ab3ee17.zip
Switch windowmanager to xmonad
Diffstat (limited to '')
-rw-r--r--dotfiles/xmobar.hs27
1 files changed, 27 insertions, 0 deletions
diff --git a/dotfiles/xmobar.hs b/dotfiles/xmobar.hs
new file mode 100644
index 0000000..1636209
--- /dev/null
+++ b/dotfiles/xmobar.hs
@@ -0,0 +1,27 @@
+
+Config { 
+
+   -- appearance
+     font =         "xft:Noto Sans Display Nerd Font:size=10"
+   , bgColor =      "#222222"
+   , fgColor =      "#bbbbbb"
+   , position =     Top
+   , border =       NoBorder
+   , borderColor =  "#222222"
+
+   -- layout
+   , sepChar =  "%"   -- delineator between plugin names and straight text
+   , alignSep = "}{"  -- separator between left-right alignment
+   , template = "%XMonadLog% }{ %WM_NAME%"
+
+   -- general behavior
+   , lowerOnStart =     True    -- send to bottom of window stack on start
+   , hideOnStart =      False   -- start with window unmapped (hidden)
+   , allDesktops =      True    -- show on all desktops
+   , overrideRedirect = True    -- set the Override Redirect flag (Xlib)
+   , pickBroadest =     False   -- choose widest display (multi-monitor)
+   , persistent =       True    -- enable/disable hiding (True = disabled)
+
+   , commands = [ Run XMonadLog,
+                  Run XPropertyLog "WM_NAME" ]
+   }