summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Ritter <gideonstar@thehappy.de>2009-07-23 00:56:07 +0200
committerStefan Ritter <gideonstar@thehappy.de>2009-07-23 00:56:07 +0200
commit63bfd2a0ab248d6886f38d3f500a8898b1e39ae9 (patch)
treee41c1f306da3ead2becc4de60766f7294a8e2aa4
parent0ab575d26c8c35b996b77f17814ca77d2887cf72 (diff)
Added some features to the wmii statusbar
-rw-r--r--mocconfig2
-rwxr-xr-xwmii-3.5/wmiirc4
-rw-r--r--zshrc48
3 files changed, 3 insertions, 51 deletions
diff --git a/mocconfig b/mocconfig
index edb6122..6dc7bb5 100644
--- a/mocconfig
+++ b/mocconfig
@@ -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
diff --git a/zshrc b/zshrc
index 329a19e..7144820 100644
--- a/zshrc
+++ b/zshrc
@@ -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
-}