REF make code shiny
This commit is contained in:
parent
2704021150
commit
b4af103dd1
|
@ -324,7 +324,7 @@ btCmd fontify = CmdSpec
|
||||||
$ Bluetooth (fontify' "\xf5b0" "+", fontify' "\xf5ae" "-") colors
|
$ Bluetooth (fontify' "\xf5b0" "+", fontify' "\xf5ae" "-") colors
|
||||||
}
|
}
|
||||||
where
|
where
|
||||||
fontify' i a = fontify IconLarge i $ "BT" ++ a
|
fontify' i = fontify IconLarge i . ("BT" ++)
|
||||||
|
|
||||||
alsaCmd :: Fontifier -> CmdSpec
|
alsaCmd :: Fontifier -> CmdSpec
|
||||||
alsaCmd fontify = CmdSpec
|
alsaCmd fontify = CmdSpec
|
||||||
|
@ -333,7 +333,6 @@ alsaCmd fontify = CmdSpec
|
||||||
$ Alsa "default" "Master"
|
$ Alsa "default" "Master"
|
||||||
[ "-t", "<status><volume>%"
|
[ "-t", "<status><volume>%"
|
||||||
, "--"
|
, "--"
|
||||||
-- TODO just make this gray when muted
|
|
||||||
, "-O", fontify' "\xf028" "+"
|
, "-O", fontify' "\xf028" "+"
|
||||||
, "-o", fontify' "\xf026" "-" ++ " "
|
, "-o", fontify' "\xf026" "-" ++ " "
|
||||||
, "-c", T.fgColor
|
, "-c", T.fgColor
|
||||||
|
@ -341,7 +340,7 @@ alsaCmd fontify = CmdSpec
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
where
|
where
|
||||||
fontify' i a = fontify IconSmall i $ "VOL" ++ a
|
fontify' i = fontify IconSmall i . ("VOL" ++)
|
||||||
|
|
||||||
blCmd :: Fontifier -> CmdSpec
|
blCmd :: Fontifier -> CmdSpec
|
||||||
blCmd fontify = CmdSpec
|
blCmd fontify = CmdSpec
|
||||||
|
|
Loading…
Reference in New Issue