module Bottom (config) where
import Xmobar
import Config
import Monitors
-- ⏱
config cs tpl p = (baseConfig p) {
position = BottomSize C 100 defaultHeight
, textOffset = defaultHeight - 6
, textOffsets = [defaultHeight - 6, defaultHeight - 6,
defaultHeight - 4, defaultHeight - 8,
defaultHeight - 7]
, border = TopB
, template = "|tray| \
\|proton0||wlp1s0wi| \
\ |dynnetwork| \
\ |default:Master|\
\ |default:Capture| 🎵"
++ tpl
++ " {} |mail| |EGPH| \
\ 🗓 |uptime| 🕓 |datetime| |laTime| "
, commands = [ Run (uptime p)
, Run (wireless p "wlp1s0")
, Run (dynNetwork p)
, Run proton0
, Run (weather "EGPH" p) -- LEGE, LEBL, KCV0
, Run trayPadding
, Run (mail p)
, Run (masterVol p)
, Run captureVol
, Run laTime
, Run localTime
] ++ cs
}