diff options
author | jao <jao@gnu.org> | 2022-01-28 18:57:37 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-01-28 18:57:37 +0000 |
commit | 0516604a56af2c148bc36d5fbfa6b45c43542afe (patch) | |
tree | 047f95e874ab9a7dfeaa2ad787c5019aa0a63257 | |
parent | d936182a7578412bf4220d311192b07eff1eb872 (diff) | |
download | xmobar-config-0516604a56af2c148bc36d5fbfa6b45c43542afe.tar.gz xmobar-config-0516604a56af2c148bc36d5fbfa6b45c43542afe.tar.bz2 |
trayer fixes
-rwxr-xr-x | bin/xmobars.sh | 6 | ||||
-rw-r--r-- | src/TopC.hs | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/xmobars.sh b/bin/xmobars.sh index a11a6c0..c49896f 100755 --- a/bin/xmobars.sh +++ b/bin/xmobars.sh @@ -2,13 +2,13 @@ killall trayer -trayer --margin 2 --distancefrom left \ +trayer -l --margin 2 --distancefrom left \ --distance 1 --edge top \ --align left --SetDockType true --SetPartialStrut false \ --widthtype request \ --height 21 --heighttype pixel \ - --transparent false \ - --alpha 255 --padding 1 & + --transparent true \ + --alpha 0 --padding 1 & killall xmobar-exwm xmobar-exwm & diff --git a/src/TopC.hs b/src/TopC.hs index a85bb8c..c447270 100644 --- a/src/TopC.hs +++ b/src/TopC.hs @@ -35,6 +35,7 @@ config p = (baseConfig p) { , Run (iconBatt p) , Run mpdMon , Run (NamedXPropertyLog "_EMACS_LOG" "elog") + , Run (NamedXPropertyLog "_XMONAD_TRAYPAD" "tray") , if pIsLight p then Run (cpu p) else Run (cpuBars p) , Run memoratio , Run (diskU p) @@ -51,7 +52,6 @@ config p = (baseConfig p) { , Run laTime , Run localTime , Run w -- LEGE, LEBL, KCV0 - , Run trayPadding ] , template = "|tray| " ++ "|batt0| " |