From f793869f80ecda40d8abd63e8e6195714f257735 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Wed, 6 Jul 2016 22:57:28 -0400 Subject: Improve xmobar config. --- bin/kj-setup.sh | 2 +- xmonad/xmobar.hs | 17 +++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/bin/kj-setup.sh b/bin/kj-setup.sh index 1bce528..eb7d1a8 100755 --- a/bin/kj-setup.sh +++ b/bin/kj-setup.sh @@ -69,7 +69,7 @@ create_symlink ../dotfiles/ssh/config .ssh/config mkdir -p .xmonad create_symlink ../dotfiles/xmonad/xmonad.hs .xmonad/xmonad.hs -create_symlink ../dotfiles/xmonad/xmobar.hs .xmonad/xmobar.hs +create_symlink dotfiles/xmonad/xmobar.hs .xmobarrc create_symlink dotfiles/xsession .xsession mkdir -p .i3 diff --git a/xmonad/xmobar.hs b/xmonad/xmobar.hs index 503da09..a1a68d3 100644 --- a/xmonad/xmobar.hs +++ b/xmonad/xmobar.hs @@ -8,16 +8,17 @@ Config { font = "xft:Source Code Pro:size=8:bold:antialias=true" -- "-*-Fixed-Bo , commands = [ -- Run Weather "EGPF" ["-t"," °C","-L","64","-H","77","--normal","green","--high","red","--low","lightblue"] 36000 Run Weather "KNYC" - ["-t", "NYC: °C %" + ["-t", "NYC °C %" , "-L", "15", "-H", "25", "--normal", "green" , "--high", "red", "--low", "lightblue"] 36000 , Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10 - , Run Volume "default" "Master" [] 10 - , Run Brightness ["-t", "%"] 10 - , Run Memory ["-t","Mem: %"] 600 + , Run Volume "default" "Master" [ + "-t", "♪ "] 10 + , Run Brightness ["-t", "☼%"] 10 + -- , Run Memory ["-t","Mem: %"] 600 -- , Run Swap [] 10 - , Run Date "%a %b %_d %l:%M" "date" 10 - , Run DiskU [("/", "/: /")] + , Run Date "%a %b %_d %H:%M:%S" "date" 10 + , Run DiskU [("/", "/ /")] ["-L", "20", "-H", "50", "-m", "1", "-p", "3"] 1000 , Run StdinReader -- , Run DynNetwork [ @@ -29,7 +30,7 @@ Config { font = "xft:Source Code Pro:size=8:bold:antialias=true" -- "-*-Fixed-Bo -- , "--high" , "red" -- ] 100 , Run BatteryP ["BAT0"] [ - "--template" , "Batt: " + "--template" , "⚡ " , "--Low" , "10" -- units: % , "--High" , "80" -- units: % , "--low" , "darkred" @@ -46,7 +47,7 @@ Config { font = "xft:Source Code Pro:size=8:bold:antialias=true" -- "-*-Fixed-Bo ] , sepChar = "%" , alignSep = "}{" - , template = "%StdinReader% }{ %default:Master% : %bright% : %battery% : %disku% %memory% : %date% : %KNYC%" + , template = "%StdinReader% }{ %default:Master% %bright% %battery% %disku% %date% %KNYC%" } -- Config { -- cgit v1.2.3