diff options
author | Stefan Ritter <gideonstar@thehappy.de> | 2009-07-23 00:56:07 +0200 |
---|---|---|
committer | Stefan Ritter <gideonstar@thehappy.de> | 2009-07-23 00:56:07 +0200 |
commit | 63bfd2a0ab248d6886f38d3f500a8898b1e39ae9 (patch) | |
tree | e41c1f306da3ead2becc4de60766f7294a8e2aa4 | |
parent | 0ab575d26c8c35b996b77f17814ca77d2887cf72 (diff) |
Added some features to the wmii statusbar
-rw-r--r-- | mocconfig | 2 | ||||
-rwxr-xr-x | wmii-3.5/wmiirc | 4 | ||||
-rw-r--r-- | zshrc | 48 |
3 files changed, 3 insertions, 51 deletions
@@ -1,5 +1,5 @@ ReadTags = yes -MusicDir = "/home/xeno/media/mp3/" +MusicDir = "/home/gideonstar/media/mp3/" Sort = FileName ShowStreamErrors = no Mp3IgnoreCRCErrors = yes diff --git a/wmii-3.5/wmiirc b/wmii-3.5/wmiirc index 759fc41..752fa96 100755 --- a/wmii-3.5/wmiirc +++ b/wmii-3.5/wmiirc @@ -20,7 +20,7 @@ set -- $(echo $WMII_NORMCOLORS $WMII_FOCUSCOLORS) WMII_MENU="dmenu -b -fn '$WMII_FONT' -nf '$1' -nb '$2' -sf '$4' -sb '$5'" WMII_9MENU="wmii9menu -font '$WMII_FONT' -nf '$1' -nb '$2' -sf '$4' -sb '$5' -br '$6'" WMII_TERM="x-terminal-emulator" -LOCK="xscreensaver-command -lock" +LOCK="xtrlock" # Column Rules wmiir write /colrules <<! @@ -38,7 +38,7 @@ wmiir write /tagrules <<! # Status Bar Info status() { - echo -n $(uptime | sed 's/.*://; s/,//g') '|' $(date) + echo -n $(acpi | awk '{print $4}' | sed 's/,//') '|' $(ip r | head -n 1 | awk '{print $9}') '|' $(uptime | sed 's/.*://; s/,//g') '|' $(date) } # Event processing @@ -89,55 +89,7 @@ shot() { fi } -gpdf() { - xpdf =(gpg --decrypt $1) -} - md() { mkdir $1 cd $1 } - -ausrede() { - if [ $RANDOM -lt 16384 ]; then - fortune bofh-excuses - else - nc towel.blinkenlights.nl 666 - fi -} - -vm() { - SLEEP=2 - if [ "$1" = "winxp" ]; then - VBoxManage startvm "Windows XP Pro SP1" -type vrdp - sleep $SLEEP - rdesktop-vrdp -k de localhost - elif [ "$1" = "freebsd" ]; then - VBoxManage startvm "FreeBSD 7.1" -type vrdp - sleep $SLEEP - rdesktop-vrdp -k de localhost - elif [ "$1" = "win2003" ]; then - VBoxManage startvm "Windows Server 2003 Enterprise" -type vrdp - sleep $SLEEP - rdesktop-vrdp -k de localhost - elif [ "$1" = "sid" ]; then - VBoxManage startvm "Debian Sid" -type vrdp - sleep $SLEEP - rdesktop-vrdp -k de localhost - elif [ "$1" = "" ]; then - echo "winxp" - echo "win2003" - echo "freebsd" - echo "sid" - fi -} - -up() { - if [ -e ./.svn ]; then - svn up - elif [ -e ./.git ]; then - git pull - else - echo Kein Repository! - fi -} |