diff options
Diffstat (limited to '')
-rwxr-xr-x | .dzen/battery.sh | 8 | ||||
-rw-r--r-- | .xmonad/xmonad.hs | 15 |
2 files changed, 12 insertions, 11 deletions
diff --git a/.dzen/battery.sh b/.dzen/battery.sh index 5f56332..2b22cde 100755 --- a/.dzen/battery.sh +++ b/.dzen/battery.sh @@ -7,7 +7,7 @@ # Kavanagh <ryanakca@kubuntu.org> to add support for a missing battery and use # /sys instead of /proc/acpi/battery -BG='#171717' # dzen backgrounad +BG='#000000' # dzen backgrounad FG='#008dd5' # dzen foreground W=114 # width of the dzen bar GW=50 # width of the gauge @@ -16,7 +16,7 @@ GH=7 # height of the gauge GBG='#333' # color of gauge background X=0 # x position Y=0 # y position -FN='snap' # font +FN='-misc-fixed-medium-r-semicondensed--12-110-75-75-c-60-iso8859-1' # font STATEFILE='/sys/bus/acpi/drivers/battery/PNP0C0A:00/power_supply/BAT1/uevent' # battery's state file @@ -48,10 +48,10 @@ while true; do GFG='#33ccff'; fi echo -n $PREBAR #uncomment for an icon - eval echo $RPERC | dzen2-gdbar -h $GH -w $GW -fg $GFG -bg $GBG + eval echo $RPERC | dzen2-gdbar -h $GH -w $GW -fg $GFG -bg $GBG -fn $FN else echo -n $PREBAR #uncomment for an icon eval echo 'Missing' fi sleep $TIME_INT; -done | dzen2 -ta c -tw $W -y $Y -x $X -fg $FG -bg $BG #-fn $FN +done | dzen2 -ta c -tw $W -y $Y -x $X -fg $FG -bg $BG -fn $FN diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index 861640f..fc89f51 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -77,6 +77,7 @@ myMouseBindings (XConfig {XMonad.modMask = modMask}) = M.fromList $ -- Theme {{{ -- Color names are easier to remember: +colorBlack = "#000000" colorOrange = "#ff7701" colorDarkGray = "#171717" colorPink = "#e3008d" @@ -88,16 +89,16 @@ colorBrightGreen = "#00FF00" colorNormalBorder = "#1c2636" colorFocusedBorder = "#2797d8" -barFont = "terminus" -barXFont = "terminus" +barFont = "'-misc-fixed-medium-r-semicondensed--12-110-75-75-c-60-iso8859-1'" +barXFont = barFont xftFont = "xft: inconsolata-14" --}}} statusBarCmd = "dzen2" ++ - " -bg '" ++ colorDarkGray ++ "'" ++ + " -bg '" ++ colorBlack ++ "'" ++ " -fg '" ++ colorBlue ++ "'" ++ " -sa c" ++ - --" -fn '" ++ barXFont ++ "'" ++ - " -w XMONAD_DZEN_W -x XMONAD_DZEN_X -y XMONAD_DZEN_Y -ta l -e ''" + " -fn '" ++ barXFont ++ "'" ++ + " -w 808 -x 114 -y 0 -ta l -e ''" -- Color theme for the window decorations @@ -227,8 +228,8 @@ myLayout = smartBorders $ toggleLayouts Full perWS -- Pretty printer {{{ -- dynamiclog pretty printer for dzen mPP h = defaultPP - { ppCurrent = wrap ("^fg(" ++ colorOrange ++ ")^bg(" ++ colorDarkGray ++ ")^p(2)") "^p(2)^fg()^bg()" - , ppVisible = wrap ("^fg(" ++ colorBlue ++ ")^bg(" ++ colorDarkGray ++ ")^p(2)") "^p(2)^fg()^bg()" + { ppCurrent = wrap ("^fg(" ++ colorOrange ++ ")^bg(" ++ colorBlack ++ ")^p(2)") "^p(2)^fg()^bg()" + , ppVisible = wrap ("^fg(" ++ colorBlue ++ ")^bg(" ++ colorBlack ++ ")^p(2)") "^p(2)^fg()^bg()" , ppSep = " ^fg(grey60)^r(1x8)^fg() " , ppLayout = dzenColor colorWhite "" . (\x -> case x of "myCode" -> pad "^i(/home/ryan/.dzen/icons/layout-threecol.xbm)" |