config/.config/xmobar/xmobarrc-sub.hs

47 lines
1.7 KiB
Haskell

Config {
-- appearance
font = "xft:Fira Code:size=9:antialias=true:hinting=true"
, bgColor = "#282a36"
, fgColor = "#f8f8f2"
, position = Top
, border = BottomB
, borderColor = "#282a36"
-- layout
, sepChar = "%" -- delineator between plugin names and straight text
, alignSep = "}{" -- separator between left-right alignment
, template = "} %UnsafeStdinReader% {"
}
-- general behavior
, lowerOnStart = True -- send to bottom of window stack on start
, hideOnStart = False -- start with window unmapped (hidden)
, allDesktops = True -- show on all desktops
, overrideRedirect = True -- set the Override Redirect flag (Xlib)
, pickBroadest = False -- choose widest display (multi-monitor)
, persistent = True -- enable/disable hiding (True = disabled)
-- plugins
-- Numbers can be automaticallJy colored according to their value. xmobar
-- decides color based on a three-tier/two-cutoff system, controlled by
-- command options:
-- --Low sets the low cutoff
-- --High sets the high cutoff
--
-- --low sets the color below --Low cutoff
-- --normal sets the color between --Low and --High cutoffs
-- --High sets the color above --High cutoff
--
-- The --template option controls how the plugin is displayed. Text
-- color can be set by enclosing in <fc></fc> tags. For more details
-- see http://projects.haskell.org/xmobar/#system-monitor-plugins.
, commands =
[
-- Prints out the left side items such as workspaces, layout, etc.
Run UnsafeStdinReader
]
}