(xmobar) add timeshift indicator
This commit is contained in:
parent
51b2932aa6
commit
66bc7c0937
|
@ -23,13 +23,14 @@ Config { overrideRedirect = False
|
||||||
, Run XMonadLog
|
, Run XMonadLog
|
||||||
, Run Com "get_music_info" [] "" 10
|
, Run Com "get_music_info" [] "" 10
|
||||||
, Run Com "wttr" [] "" 360
|
, Run Com "wttr" [] "" 360
|
||||||
|
, Run Com "backUpRunning.sh" [] "" 360
|
||||||
]
|
]
|
||||||
, sepChar = "%"
|
, sepChar = "%"
|
||||||
, alignSep = "}{"
|
, alignSep = "}{"
|
||||||
, template = " <fn=2> </fn>%XMonadLog% }{\
|
, template = " <fn=2> </fn>%XMonadLog% }{\
|
||||||
\<fn=2><fc=COLOR9,BGCOLOR:0></fc></fn><fc=FGCOLOR,COLOR9:0>%get_music_info%</fc>\
|
\<fn=2><fc=COLOR9,BGCOLOR:0></fc></fn><fc=FGCOLOR,COLOR9:0>%get_music_info%</fc>\
|
||||||
\<fn=2><fc=BGCOLOR,COLOR9:0></fc></fn><fc=FGCOLOR,BGCOLOR:0><fn=1><fc=COLOR9> </fc></fn>%alsa:default:Master%</fc>\
|
\<fn=2><fc=BGCOLOR,COLOR9:0></fc></fn><fc=FGCOLOR,BGCOLOR:0><fn=1><fc=COLOR9> </fc></fn>%alsa:default:Master%</fc>\
|
||||||
\<fn=2><fc=COLOR9,BGCOLOR:0></fc></fn><fc=FGCOLOR,COLOR9:0><fn=1><fc=BGCOLOR,COLOR9:0> </fc></fn>%cpu%</fc>\
|
\<fn=2><fc=COLOR9,BGCOLOR:0></fc></fn><fc=FGCOLOR,COLOR9:0><fn=1><fc=BGCOLOR,COLOR9:0>%backUpRunning.sh% </fc></fn>%cpu%</fc>\
|
||||||
\<fn=2><fc=BGCOLOR,COLOR9:0></fc></fn><fc=FGCOLOR,BGCOLOR:0><fn=1><fc=COLOR9> </fc></fn>%memory%</fc>\
|
\<fn=2><fc=BGCOLOR,COLOR9:0></fc></fn><fc=FGCOLOR,BGCOLOR:0><fn=1><fc=COLOR9> </fc></fn>%memory%</fc>\
|
||||||
\<fn=2><fc=COLOR9,BGCOLOR:0></fc></fn><fc=FGCOLOR,COLOR9:0>%date%</fc>\
|
\<fn=2><fc=COLOR9,BGCOLOR:0></fc></fn><fc=FGCOLOR,COLOR9:0>%date%</fc>\
|
||||||
\<fn=2><fc=COLOR9,BGCOLOR:0></fc></fn><fc=FGCOLOR,COLOR9:0>%wttr%</fc>"
|
\<fn=2><fc=COLOR9,BGCOLOR:0></fc></fn><fc=FGCOLOR,COLOR9:0>%wttr%</fc>"
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
if ps aux | egrep '[r]sync'; then
|
||||||
|
echo " "
|
||||||
|
fi
|
Loading…
Reference in New Issue