add it to xmobar
This commit is contained in:
parent
615f2cb5ac
commit
0bcca23d24
1 changed files with 2 additions and 4 deletions
|
@ -12,7 +12,7 @@ Config {
|
||||||
-- layout
|
-- layout
|
||||||
, sepChar = "%" -- delineator between plugin names and straight text
|
, sepChar = "%" -- delineator between plugin names and straight text
|
||||||
, alignSep = "}{" -- separator between left-right alignment
|
, alignSep = "}{" -- separator between left-right alignment
|
||||||
, template = " <icon=nixos-logo.xpm/> %XMonadLog% | %battery% | %multicpu% | %memory% }{ %Volume% | %date% | %kbd% %_XMONAD_TRAYPAD%"
|
, template = " <icon=nixos-logo.xpm/> %XMonadLog% | %battery% | %multicpu% | %memory% }{ %vol% | %date% | %kbd% %_XMONAD_TRAYPAD%"
|
||||||
|
|
||||||
-- general behavior
|
-- general behavior
|
||||||
, lowerOnStart = True -- send to bottom of window stack on start
|
, lowerOnStart = True -- send to bottom of window stack on start
|
||||||
|
@ -82,8 +82,6 @@ Config {
|
||||||
, "--high" , "darkred"
|
, "--high" , "darkred"
|
||||||
] 10
|
] 10
|
||||||
, Run XPropertyLog "_XMONAD_TRAYPAD"
|
, Run XPropertyLog "_XMONAD_TRAYPAD"
|
||||||
|
|
||||||
, Run Com "/home/sako/.config/xmobar/scripts/volume.sh" [] "vol" 30
|
|
||||||
|
|
||||||
-- battery monitor
|
-- battery monitor
|
||||||
, Run Battery [ "--template" , "Batt: <acstatus>"
|
, Run Battery [ "--template" , "Batt: <acstatus>"
|
||||||
|
@ -101,7 +99,7 @@ Config {
|
||||||
-- charged status
|
-- charged status
|
||||||
, "-i" , "<fc=#006000>Charged</fc>"
|
, "-i" , "<fc=#006000>Charged</fc>"
|
||||||
] 50
|
] 50
|
||||||
, Run Volume "default" "Master" [] 10
|
, Run Com "/home/sako/.config/xmobar/scripts/pulsevol.sh" [] "vol" 10
|
||||||
|
|
||||||
-- time and date indicator
|
-- time and date indicator
|
||||||
-- (%F = y-m-d date, %a = day of week, %T = h:m:s time)
|
-- (%F = y-m-d date, %a = day of week, %T = h:m:s time)
|
||||||
|
|
Loading…
Reference in a new issue