我有一个非常简单的 xmonad/xmobar 配置,它在 xmobar 的左侧:
[1] 2 : Tall : How to configure StdinReader to only ...
如何删除布局名称和窗口标题?(Tall
和How to ...
)??
我可以看到如下所示的模板xmobarrc2
:
template = "%StdinReader%}{<fc=#FFF>%date%</fc>"
所以看起来StdinReader
提供了所有这 3 个项目,但我该如何配置呢?我似乎找不到任何有用的东西,除了可能UnsafeStdinReader
,但我真的不明白它是如何工作的,或者我应该如何去研究这个..
谁能指出我正确的方向?
我的整个xmobarrc2
:
Config { font = "xft:Ubuntu Mono:pixelsize=16:antialias=true:hinting=true"
, borderColor = "black"
, border = TopB
, bgColor = "black"
, fgColor = "grey"
, position = TopP 0 0
, commands = [
Run Weather "CYVR" ["-t","<tempC>C","-L","18","-H","25","--normal","green","--high","red","--low","lightblue"] 36000
, Run Network "eth0" ["-L","0","-H","32","--normal","green","--high","red"] 10
, Run Network "eth1" ["-L","0","-H","32","--normal","green","--high","red"] 10
, Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10
, Run Memory ["-t","Mem: <usedratio>%"] 10
, Run Swap [] 10
, Run Com "uname" ["-s","-r"] "" 36000
, Run Date "%a %_d.%_m %H:%M" "date" 10
, Run StdinReader
]
, sepChar = "%"
, alignSep = "}{"
, template = "%StdinReader%}{<fc=#FFF>%date%</fc>"
}