summaryrefslogtreecommitdiffhomepage
path: root/app/Mpris.hs
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2018-12-01 19:13:08 +0000
committerjao <jao@gnu.org>2018-12-01 19:13:08 +0000
commit1cc4f0c1924e20fad7018307c549cee445afbaf7 (patch)
tree2354f077dcb885e13b3b8dec8cfd44952b83f5a3 /app/Mpris.hs
parent836bcb7286275969ce4b22ad130384652c5821e8 (diff)
downloadxmobar-config-1cc4f0c1924e20fad7018307c549cee445afbaf7.tar.gz
xmobar-config-1cc4f0c1924e20fad7018307c549cee445afbaf7.tar.bz2
Directory layout directly usable by xmobar executable
Diffstat (limited to 'app/Mpris.hs')
-rw-r--r--app/Mpris.hs20
1 files changed, 0 insertions, 20 deletions
diff --git a/app/Mpris.hs b/app/Mpris.hs
deleted file mode 100644
index 09c155d..0000000
--- a/app/Mpris.hs
+++ /dev/null
@@ -1,20 +0,0 @@
-import Xmobar
-import Config (palette)
-import qualified Bottom (config)
-
-mpris =
- Mpris2 "spotify" -- "clementine" --
- ["-t", " <tracknumber>\
- \ <title> <fc=sienna4><artist></fc>\
- \ <album> <length>"
- , "-T", "180", "-E", "...", "-M", "100", "-x", ""] 10
-
-config p = (Bottom.config [Run mpris] p) {
- template = "|kbd||default:Master| |default:Capture| \
- \|mpris2| {} |mbox| \
- \|EGPH| \
- \|diskio| |disku| · |bright| · |coretemp| \
- \|memory| · |uptime| |b0| "
- }
-main :: IO ()
-main = palette >>= xmobar . config