From a25d59f8a0e8f4bb118c42ef721ba292b76accb1 Mon Sep 17 00:00:00 2001 From: jao Date: Fri, 30 Oct 2020 23:33:25 +0000 Subject: icon play --- src/TopC.hs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/TopC.hs') 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 --- 💡 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| " - ++ "|proton0||wlp1s0wi| " + ++ dimi "\xf26c" ++ " |bright| " + ++ " |proton0||wlp1s0wi| " ++ "|dynnetwork| " - ++ "|default:Master| \ - \|default:Capture| " + ++ "" + ++ " |default:Master| " ++ dimi "\xf130" ++ " |default:Capture|" + ++ " " ++ 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' " ° " "EGPH" p) -- cgit v1.2.3