FIX remove annoying battery notification
This commit is contained in:
parent
3e6f4c7e27
commit
0a60b3b3e7
|
@ -135,7 +135,6 @@ batteryCmd = CmdSpec
|
||||||
, "--normal", T.fgColor
|
, "--normal", T.fgColor
|
||||||
, "--high", T.fgColor
|
, "--high", T.fgColor
|
||||||
, "--"
|
, "--"
|
||||||
, "-a", notify
|
|
||||||
, "-P"
|
, "-P"
|
||||||
, "-o" , fontify "\xf0e7"
|
, "-o" , fontify "\xf0e7"
|
||||||
, "-O" , fontify "\xf1e6"
|
, "-O" , fontify "\xf1e6"
|
||||||
|
@ -144,14 +143,6 @@ batteryCmd = CmdSpec
|
||||||
}
|
}
|
||||||
where
|
where
|
||||||
fontify = fontifyText IconSmall
|
fontify = fontifyText IconSmall
|
||||||
-- TODO format this with standardized notification library from xmonad.internal
|
|
||||||
notify = fmtCmd "notify-send"
|
|
||||||
[ "-u"
|
|
||||||
, "critical"
|
|
||||||
, "-i"
|
|
||||||
, "'dialog-information-symbolic'"
|
|
||||||
, "'low battery'"
|
|
||||||
]
|
|
||||||
|
|
||||||
vpnCmd :: CmdSpec
|
vpnCmd :: CmdSpec
|
||||||
vpnCmd = CmdSpec
|
vpnCmd = CmdSpec
|
||||||
|
|
Loading…
Reference in New Issue