2018-05-28 23:32:43 +00:00
|
|
|
-- -*- mode: haskell -*-
|
|
|
|
-- vi: set ft=haskell :
|
|
|
|
|
|
|
|
Config { font = "xft:Iosevka:size=12:antialias=true"
|
2016-09-22 00:36:01 +00:00
|
|
|
, additionalFonts = ["xft:FontAwesome-10"]
|
2018-05-28 23:32:43 +00:00
|
|
|
, bgColor = "#1d1f21"
|
|
|
|
, fgColor = "#c5c8c6"
|
2016-09-22 00:36:01 +00:00
|
|
|
, position = Top
|
Rearranged and updated xmonad.hs, xmobarrc
My XMonad configuration now uses folds to categorize everything by
section, hopefully making it easier to navigate. Additionally, I've
updated it quite a lot.
XMonad updates include
- ThreeCol layout
- systemctl suspend binding
- renamed layouts in the logHook so they take less space on the bar
- startupHook to launch certain applications (compositor, notification
daemon, etc.) when starting XMonad
- probably more stuff I forgot about; I should start making notes on
changes I make for commit messages...
xmobar changes are pretty simple: I change the battery command so it
doesn't use the silly static battery icon and instead now indicates that
it's the battery charge level by saying "batt". Wow, real clever, right?
Yeah, that's what I thought too. I'll eventually configure it to use an
icon, changing which one is used specifically based on the current
charge level, but for now this works well enough so that I know that my
laptop isn't going to suddenly shut down because my battery ran out of
charge.
I've also added colors to the battery percentage to provide a visual
indication of the current charge level; I might tweak the exact colors
in the future, but I think it should be fine as-is.
2016-10-11 18:39:34 +00:00
|
|
|
, border = NoBorder
|
2016-09-22 00:36:01 +00:00
|
|
|
, commands =
|
|
|
|
[ Run UnsafeStdinReader
|
2018-05-28 23:32:43 +00:00
|
|
|
, Run Date "%F (%a) %T" "date" 10
|
Rearranged and updated xmonad.hs, xmobarrc
My XMonad configuration now uses folds to categorize everything by
section, hopefully making it easier to navigate. Additionally, I've
updated it quite a lot.
XMonad updates include
- ThreeCol layout
- systemctl suspend binding
- renamed layouts in the logHook so they take less space on the bar
- startupHook to launch certain applications (compositor, notification
daemon, etc.) when starting XMonad
- probably more stuff I forgot about; I should start making notes on
changes I make for commit messages...
xmobar changes are pretty simple: I change the battery command so it
doesn't use the silly static battery icon and instead now indicates that
it's the battery charge level by saying "batt". Wow, real clever, right?
Yeah, that's what I thought too. I'll eventually configure it to use an
icon, changing which one is used specifically based on the current
charge level, but for now this works well enough so that I know that my
laptop isn't going to suddenly shut down because my battery ran out of
charge.
I've also added colors to the battery percentage to provide a visual
indication of the current charge level; I might tweak the exact colors
in the future, but I think it should be fine as-is.
2016-10-11 18:39:34 +00:00
|
|
|
, Run Battery [ "--template", "batt: <acstatus>"
|
|
|
|
, "--Low", "10"
|
|
|
|
, "--High", "80"
|
|
|
|
, "--low", "#cc6666"
|
|
|
|
, "--normal", "#c5c8c6"
|
|
|
|
, "--high", "#b5bd68"
|
|
|
|
|
|
|
|
, "--" -- battery specific options
|
|
|
|
-- discharging status
|
|
|
|
, "-o" , "<left>% (<timeleft>)"
|
|
|
|
-- AC "on" status
|
|
|
|
, "-O" , "<fc=#b5bd68>Charging</fc>"
|
|
|
|
-- charged status
|
|
|
|
, "-i" , "<fc=#81a2be>Charged</fc>"] 60
|
2018-05-28 23:32:43 +00:00
|
|
|
-- , Run MPD ["-t", "<state>: <title> by <artist>"] 10
|
2016-09-22 00:36:01 +00:00
|
|
|
]
|
|
|
|
, sepChar = "%"
|
|
|
|
, alignSep = "}{"
|
Rearranged and updated xmonad.hs, xmobarrc
My XMonad configuration now uses folds to categorize everything by
section, hopefully making it easier to navigate. Additionally, I've
updated it quite a lot.
XMonad updates include
- ThreeCol layout
- systemctl suspend binding
- renamed layouts in the logHook so they take less space on the bar
- startupHook to launch certain applications (compositor, notification
daemon, etc.) when starting XMonad
- probably more stuff I forgot about; I should start making notes on
changes I make for commit messages...
xmobar changes are pretty simple: I change the battery command so it
doesn't use the silly static battery icon and instead now indicates that
it's the battery charge level by saying "batt". Wow, real clever, right?
Yeah, that's what I thought too. I'll eventually configure it to use an
icon, changing which one is used specifically based on the current
charge level, but for now this works well enough so that I know that my
laptop isn't going to suddenly shut down because my battery ran out of
charge.
I've also added colors to the battery percentage to provide a visual
indication of the current charge level; I might tweak the exact colors
in the future, but I think it should be fine as-is.
2016-10-11 18:39:34 +00:00
|
|
|
, template = " %UnsafeStdinReader% }{ %battery% | %date% "
|
2016-09-22 00:36:01 +00:00
|
|
|
}
|
|
|
|
|
2018-05-28 23:32:43 +00:00
|
|
|
-- , Run MPD ["-t",
|
|
|
|
-- "<title> (<album>) <track>/<plength> <statei> [<flags>]",
|
|
|
|
-- "--", "-P", ">>", "-Z", "|", "-S", "><"] 10
|