diff options
author | jao <jao@gnu.org> | 2020-07-19 03:47:32 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2020-07-19 03:47:32 +0100 |
commit | fb73fdfc8dc9162165787fd2060363333145b069 (patch) | |
tree | 14b7fb2ce650f3a28237738c14be351f8a373c42 | |
parent | c59fd6ef91aca9342695d434c25423c4979cec59 (diff) | |
download | xmobar-config-fb73fdfc8dc9162165787fd2060363333145b069.tar.gz xmobar-config-fb73fdfc8dc9162165787fd2060363333145b069.tar.bz2 |
volume foreground colour
-rw-r--r-- | src/lib/Bottom.hs | 2 | ||||
-rw-r--r-- | src/lib/Monitors.hs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Bottom.hs b/src/lib/Bottom.hs index e4302ab..5b2b6c9 100644 --- a/src/lib/Bottom.hs +++ b/src/lib/Bottom.hs @@ -27,7 +27,7 @@ config cs tpl p = (baseConfig p) { , Run (weather "EGPH" p) -- LEGE, LEBL, KCV0 , Run trayPadding , Run (mail p) - , Run masterVol + , Run (masterVol p) , Run captureVol , Run laTime , Run localTime diff --git a/src/lib/Monitors.hs b/src/lib/Monitors.hs index b1c7a1d..a7dbf9a 100644 --- a/src/lib/Monitors.hs +++ b/src/lib/Monitors.hs @@ -152,10 +152,10 @@ mail p = MailX [ ("I", "jao/inbox", pHigh p) ["-d", "~/var/mail", "-p", " ", "-s", " "] "mail" -masterVol = +masterVol p = Volume "default" "Master" ["-t", "<status> <volume>" - , "--", "-C", "black", "-c", "sienna4" + , "--", "-C", pForeground p, "-c", "sienna4" , "-O", fn 2 "🎧" , "-o", fn 4 "🔇"] 10 |