diff options
| author | jao <jao@gnu.org> | 2020-01-04 21:58:09 +0000 | 
|---|---|---|
| committer | jao <jao@gnu.org> | 2020-01-04 21:58:09 +0000 | 
| commit | 5bfb7153ec3065e6bb43edeadef2736090117e38 (patch) | |
| tree | 7db88cb71babe5f5c731eb8503893eb28de0fcb4 | |
| parent | f6275232214a6981f71e0ea2cd72c80bf93c0c23 (diff) | |
| download | xmobar-config-5bfb7153ec3065e6bb43edeadef2736090117e38.tar.gz xmobar-config-5bfb7153ec3065e6bb43edeadef2736090117e38.tar.bz2 | |
xmobar-exwm experiments
| -rw-r--r-- | src/TopC.hs | 20 | 
1 files changed, 10 insertions, 10 deletions
| diff --git a/src/TopC.hs b/src/TopC.hs index b4b4afa..62c08ea 100644 --- a/src/TopC.hs +++ b/src/TopC.hs @@ -3,7 +3,8 @@ import Config  import Monitors  import Music (mpris, gpmd) -topProcL p = TopProc (p <~> ["-t" , "<both1> <both2>  <mboth1> <mboth2>" +topProcL p = TopProc (p <~> ["-t" +                            , "<both1> <both2> <both3>  <mboth1> <mboth2> <mboth3>"                              , "-w", "10", "-L" , "10", "-H", "80"]) 15  diskIOL p = DiskIO [("/", "<totalbipat>"), ("/home", "<totalbipat>")]                     (diskArgs p) 10 @@ -31,10 +32,10 @@ ompd light =  compMPD light = concatMonitor " " mpd (autoMPD light)  mpn = "spotify" --- mpn = "google_play_music_desktop_player"  -- music light = toggleMonitor "/tmp/mpris.st" (mpris mpn 120) (compMPD light)  -- music light = toggleMonitor "/tmp/mpris.st" gpmd (compMPD light) -music light = toggleMonitor "/tmp/mpris.st" (compMPD light) (ompd light) +-- music light = toggleMonitor "/tmp/mpris.st" (compMPD light) (ompd light) +music light = toggleMonitor "/tmp/mpris.st" (mpris mpn 120) (ompd light)  -- music light = ompd light  -- <fn=1> 💡 </fn> @@ -43,7 +44,7 @@ config p = (baseConfig p) {    , textOffset = defaultHeight - 8    , textOffsets = [defaultHeight - 9, defaultHeight - 9,                     defaultHeight - 6, defaultHeight - 8] -  , border = BottomB +  , border = FullB    , alpha = 255    , commands = [ Run (topProcL p)                 , Run m @@ -57,21 +58,20 @@ config p = (baseConfig p) {                 , Run (wireless p "wlp1s0")                 , Run (dynNetwork p)                 , Run tun0 -               , Run (weather' "<skyConditionS> <tempC>°" "EGPH" p) -- LEGE, LEBL, KCV0 +               , Run (weather' "<skyConditionS> <tempC>° <weather>" "EGPH" p) -- LEGE, LEBL, KCV0                 -- , Run (mail p)                 , Run masterVol                 , Run captureVol                 , Run laTime                 , Run localTime                 ] -  , template = " |bright|\ +  , template = " |EGPH|  |bright|\                 \ <action=`toggle-app.sh nm-applet`>|tun0||wlp1s0wi|</action> \                 \ |dynnetwork| \                 \ <action=`toggle-app.sh pasystray`>|default:Master|\ -               \ |default:Capture|</action>  |EGPH|\ -               \<fn=1>|kbd|</fn>{}\ -               \ <action=`toggle-pipe.sh /tmp/mpris.st`>|" ++ (alias m) ++ -               "|</action>\ +               \ |default:Capture|</action> \ +               \ <action=`toggle-pipe.sh /tmp/mpris.st`>|" ++ alias m ++ +               "|</action> <fn=1>|kbd|</fn>{}\                 \ |multicpu|  |top| |memory|\                 \ <fc=grey60>|diskio|</fc> |disku| \                 \ <fn=2>🕓  </fn>|datetime| |laTime| " | 
