diff --git a/Xresources b/Xresources index af4c1ba..734595a 100644 --- a/Xresources +++ b/Xresources @@ -3,6 +3,7 @@ !Xft.antialias: false !Xft.dpi: 80 !Xft.rgba: rgb +Xft*font: Tamsynmod:Regular:pixelsize=14 ! dzen2 dzen2*foreground: #ffffff diff --git a/bin/animated_wallpaper.sh b/bin/animated_wallpaper.sh new file mode 100755 index 0000000..093ab7b --- /dev/null +++ b/bin/animated_wallpaper.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +#screen +SCRH=`xrandr | awk '/current/ { print $8 }'` +SCRW=`xrandr | awk '/current/ { print $10 }' | sed 's/,//'` +#SCRW=${SCRW%\.} + +#gif +IMGHW=`gifsicle --info $1 | awk '/logical/ { print $3 }'` +IMGH=${IMGHW%x*} +IMGW=${IMGHW#*x} + +#position +POSH=$((($SCRH/2)-($IMGH/2))) +POSW=$((($SCRW/2)-($IMGW/2))) + +xwinwrap -g ${IMGHW}+${POSH}+${POSW} -ov -ni -s -nf -- gifview -w WID $1 -a diff --git a/conky b/conky index 6bd24fd..dfc098f 100644 --- a/conky +++ b/conky @@ -7,10 +7,10 @@ update_interval 1 #± ${weather 'http://weather.noaa.gov/pub/data/observations/metar/stations/' 'KORD' temperature} \ TEXT -^fg(slate gray)Ú^fg() ^fg(white)${downspeedf eth0}KiB ^fg()\ -^fg(slate gray)Û^fg() ^fg(white)${upspeedf eth0}KiB ^fg()\ -^fg(slate gray)ê^fg() ^fg(white)${mixer vol}% ^fg()\ -^fg(slate gray)¡^fg() ^fg(white)${battery_percent}% ^fg()\ -^fg(slate gray)Ñ^fg() ^fg(white)${cpu}% ^fg()\ -^fg(slate gray)Î^fg() ^fg(white)${memperc}% ^fg()\ -^fg(slate gray)É^fg() ^fg(white)${time %d %b %R}^fg() \ +^fg(\#66aaff)Ú^fg() ^fg(white)${downspeedf eth0}KiB ^fg()\ +^fg(\#66aaff)Û^fg() ^fg(white)${upspeedf eth0}KiB ^fg()\ +^fg(\#66aaff)í^fg() ^fg(white)${mixer vol}% ^fg()\ +^fg(\#66aaff)¡^fg() ^fg(white)${battery_percent}% ^fg()\ +^fg(\#66aaff)Ñ^fg() ^fg(white)${cpu}% ^fg()\ +^fg(\#66aaff)Î^fg() ^fg(white)${memperc}% ^fg()\ +^fg(\#66aaff)É^fg() ^fg(white)${time %d %b %R}^fg() \ diff --git a/xinitrc b/xinitrc index 9230e76..bcc8abd 100644 --- a/xinitrc +++ b/xinitrc @@ -1,7 +1,7 @@ xrdb ~/.Xresources & setxkbmap dvorak setxkbmap -option ctrl:nocaps -xsetroot -cursor_name left_ptr & +xsetroot bg black -cursor_name left_ptr & xmodmap .Xmodmap & urxvtd -q -o -f & #compton -cGb & @@ -10,6 +10,6 @@ compton & dropboxd & feh --bg-fill ~/Dropbox/Photos/wallpaper/cycloid.gif -# gifview --animate --new-window root ~/Dropbox/Photos/wallpaper/cycloid.gif +# ~/dotfiles/bin/animated_wallpaper.sh ~/Dropbox/Photos/wallpaper/cycloid.gif & exec xmonad diff --git a/xmonad.hs b/xmonad.hs index a2f1275..891c8fb 100644 --- a/xmonad.hs +++ b/xmonad.hs @@ -26,10 +26,11 @@ myManageHook = composeAll , resource =? "feh" --> doFloat ] +--myWorkspaces = [ "!" , "@" , "#" , "$" , "%", "^^", "&", "*", "(" ] myWorkspaces = [ "1" , "2" , "3" , "4" , "5", "6", "7", "8", "9" ] --myWorkspaces = [ "α" , "β" , "γ" , "δ" , "ε", "ζ", "η", "θ", "ι" ] -myNormalBorderColor = "#333333" +myNormalBorderColor = "#000000" myFocusedBorderColor = darkBlue myFocusFollowsMouse :: Bool @@ -39,15 +40,16 @@ myStatusBar = "conky -c /home/dustinswan/.conky | dzen2 -x '640' -w '640' -ta 'r myLogHook h = dynamicLogWithPP $ defaultPP { -- ppCurrent = (">" ++) - ppCurrent = dzenColor lightBlue dzenBackground . wrap "" " " + --ppCurrent = dzenColor lightBlue dzenBackground . wrap "" " " + ppCurrent = dzenColor lightBlue dzenBackground . wrap "Ø" "" , ppVisible = ("." ++) - , ppHidden = dzenColor lightGray dzenBackground . wrap "" " " - , ppHiddenNoWindows = dzenColor darkGray dzenBackground . wrap "" " " + , ppHidden = dzenColor lightGray dzenBackground . wrap " " "" + , ppHiddenNoWindows = dzenColor darkGray dzenBackground . wrap " " "" , ppLayout = (\_ -> "") -- TODO I suck at haskell , ppOutput = System.IO.hPutStrLn h , ppTitle = shorten 20 - , ppSep = "" - , ppWsSep = "" + , ppSep = " " + , ppWsSep = " " --, ppExtras = [ date "%a %d %b" ] } @@ -72,4 +74,5 @@ main = do , ("", spawn "amixer sset Master 3%+") , ("", spawn "amixer sset Master 3%-") , ("", spawn "amixer sset Master toggle") + , ("", spawn "eject") ]