summaryrefslogtreecommitdiffhomepage
path: root/src/TopC.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/TopC.hs')
-rw-r--r--src/TopC.hs13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/TopC.hs b/src/TopC.hs
index 5c87702..5c9964e 100644
--- a/src/TopC.hs
+++ b/src/TopC.hs
@@ -35,7 +35,6 @@ musicMPRIS p = mpris p mprisName 180
-- music p = toggleMonitor "/tmp/mpris.st" (pollMPD (pIsLight p)) (musicMPRIS p)
music = pollMPD . pIsLight
--- <fn=1> 💡 </fn>
config p = (baseConfig p) {
position = TopSize C 100 (defaultHeight - 1)
, textOffset = defaultHeight - 8
@@ -66,11 +65,12 @@ config p = (baseConfig p) {
]
, template = " "
++ "|batt0| "
- ++ fni "\xf185" ++ " |bright| "
- ++ "<action=`toggle-app.sh nm-applet`>|proton0||wlp1s0wi|</action> "
+ ++ dimi "\xf26c" ++ " |bright| "
+ ++ "<action=`toggle-app.sh nm-applet`> |proton0||wlp1s0wi|</action> "
++ "|dynnetwork| "
- ++ "<action=`toggle-app.sh pasystray`>|default:Master| \
- \|default:Capture|</action> "
+ ++ "<action=`toggle-app.sh pasystray`>"
+ ++ " |default:Master| " ++ dimi "\xf130" ++ " |default:Capture|"
+ ++ "</action> "
++ ma
++ " |EGPH| "
++ " {} "
@@ -83,7 +83,8 @@ config p = (baseConfig p) {
++ fni "\xf0a0" ++ fc "grey60" " |diskio|" ++ " |disku| "
++ fni "\xf017" ++ " |datetime| "
++ "|laTime| "
- } where m = music p
+ } where dimi = fc (pDim p) . fni
+ m = music p
ma = " |" ++ alias m ++ "| "
w = (weather' "<skyConditionS> <tempC>° <weather>" "EGPH" p)