summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Ritter <xeno@thehappy.de>2009-10-20 19:33:57 +0200
committerStefan Ritter <xeno@thehappy.de>2009-10-20 19:33:57 +0200
commit7a0fb14d5e0d8ca6192ae9ab07819eaa5928cf06 (patch)
tree522b075dd79e9cf9e6fb98eb77ca315525605408
parent5dd1da4d9c9237abcf60eaf931c4501da3fed617 (diff)
Cleanup
Diffstat (limited to '')
-rwxr-xr-xawesome_bar.sh33
-rw-r--r--awesomerc100
-rwxr-xr-xdzen2.sh41
-rw-r--r--perl/mark-yank-urls (renamed from mark-yank-urls)0
-rwxr-xr-xviod17
-rw-r--r--xorg/gtkrc-2.0 (renamed from gtkrc-2.0)0
-rw-r--r--xorg/neo2 (renamed from neo2)0
-rw-r--r--xorg/xdefaults2
-rw-r--r--zsh/zshrc (renamed from zshrc)0
9 files changed, 1 insertions, 192 deletions
diff --git a/awesome_bar.sh b/awesome_bar.sh
deleted file mode 100755
index edcd148..0000000
--- a/awesome_bar.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/zsh
-
-SCREEN=0
-
-func_power() {
- if [ -e /proc/acpi/battery/BAT0/info ]; then
- CAP=$(grep full /proc/acpi/battery/BAT0/info | awk '{print $4}')
- REM=$(grep remaining /proc/acpi/battery/BAT0/state | awk '{print $3}')
- STATE=$(($REM * 100 / $CAP))"%"
-
- echo $STATE
- else
- echo "No Battery"
- fi
-}
-
-func_mem() {
- TOT=$(free -m | grep Mem | awk '{print $2}')
- USE=$(free -m | grep buffers/cache | awk '{print $3}')
- MEM=$(($USE * 100 / $TOT))
- echo $MEM
-}
-
-while true; do
- echo $SCREEN widget_tell topbar power text " `func_power` " | awesome-client
- echo $SCREEN widget_tell topbar wlan text " $(ip r | awk '{print $9}' | head -n 1) " | awesome-client
- echo $SCREEN widget_tell topbar clock text " `date +"%x %T"` " | awesome-client
- echo $SCREEN widget_tell topbar hostname text " `hostname` " | awesome-client
-
- sleep 1
-done
-
-# vim: set tw=0 ts=4:
diff --git a/awesomerc b/awesomerc
deleted file mode 100644
index 8bb1d09..0000000
--- a/awesomerc
+++ /dev/null
@@ -1,100 +0,0 @@
-screen 0 {
- general {
- resize_hints = false
- border = 1
- new_become_master = false
- new_get_focus = true
- }
- styles {
- normal { font = "Terminus 8" fg = "#d3c16c" bg = "#000000" border = "#111111" }
- focus { fg = "#000000" bg = "#aaff77" border = "#aaff77" }
- urgent { fg = "#111111" bg = "#ff4500" }
- }
- tags {
- tag 1 { layout = "tile" mwfact = 0.50 }
- tag 2 { layout = "tile" mwfact = 0.50 }
- tag 3 { layout = "tile" mwfact = 0.50 }
- tag 4 { layout = "tile" mwfact = 0.50 }
- tag 5 { layout = "tile" mwfact = 0.50 }
- tag 6 { layout = "tile" mwfact = 0.50 }
- tag 7 { layout = "tile" mwfact = 0.50 }
- tag 8 { layout = "tile" mwfact = 0.50 }
- tag 9 { layout = "tile" mwfact = 0.50 }
- }
- layouts {
- layout tile {}
- layout tileleft {}
- layout tilebottom {}
- layout max {}
- layout floating {}
- }
- statusbar topbar {
- position = "top"
- height = "16"
- taglist tags {
- mouse {
- button = "1"
- command = "tag_view"
- }
- }
- textbox power { align = "right" }
- textbox wlan { align = "right" style { fg = "#999999" } mouse { button = "1" command = "spawn" arg = "wicd-client -n" } }
- textbox clock { align = "right" }
- textbox hostname { align = "right" style { fg = "#ff0000" } }
- }
-}
-
-rules {
- rule { name = "Gimp" float = true }
- rule { name = "MPlayer" float = true }
- rule { name = "PacketTracer5" float = true }
- rule { name = "Twinkle" float = true }
- rule { name = "SDL_App" float = true }
- rule { name = "No_Crypt_Client_2d.exe" float = true }
- rule { name = "linux_64_client" float = true }
- rule { name = "Skype" float = true }
- rule { name = "Pidgin" float = true }
- rule { name = "Wireshark" float = true }
-}
-
-mouse {
- client { modkey = {"Mod1"} button = "1" command = "client_movemouse" }
- client { modkey = {"Mod1"} button = "3" command = "client_resizemouse" }
-}
-
-keys {
- key { modkey = {"Mod1"} key = "q" command = "spawn" arg = "`dmenu_path | dmenu` && eval \"exec $exe\"" }
- key { modkey = {"Mod1"} key = "c" command = "spawn" arg = "`transset`" }
- key { modkey = {"Mod1"} key = "Return" command = "spawn" arg = "exec x-terminal-emulator" }
- key { modkey = {"Mod1"} key = "l" command = "spawn" arg = "exec slock" }
- key { modkey = {"Mod1"} key = "space" command = "tag_setlayout" arg = "+1" }
- key { modkey = {"Mod1", "Shift"} key = "space" command = "tag_setlayout" arg = "-1" }
- key { modkey = {"Mod1"} key = "b" command = "statusbar_toggle" }
- key { modkey = {"Mod1"} key = "r" command = "client_focusnext" }
- key { modkey = {"Mod1"} key = "g" command = "client_focusprev" }
- key { modkey = {"Mod1", "Shift"} key = "r" command = "client_swapnext" }
- key { modkey = {"Mod1", "Shift"} key = "g" command = "client_swapprev" }
- key { modkey = {"Mod1"} key = "Tab" command = "screen_focus" arg = "+1" }
- key { modkey = {"Mod1"} key = "s" command = "screen_focus" arg = "-1" }
- key { modkey = {"Mod1"} key = "y" command = "screen_focus" arg = "+1" }
- key { modkey = {"Mod1"} key = "n" command = "tag_setmwfact" arg = "-0.01" }
- key { modkey = {"Mod1"} key = "t" command = "tag_setmwfact" arg = "+0.01" }
- key { modkey = {"Mod1", "Shift"} key = "n" command = "tag_setnmaster" arg = "+1" }
- key { modkey = {"Mod1", "Shift"} key = "t" command = "tag_setnmaster" arg = "-1" }
- key { modkey = {"Mod1"} key = "h" command = "tag_viewprev" }
- key { modkey = {"Mod1"} key = "f" command = "tag_viewnext" }
- key { modkey = {"Mod1"} key = "m" command = "client_togglemax" }
- key { modkey = {"Mod1", "Shift"} key = "c" command = "client_kill" }
- key { modkey = {"Mod1", "Shift"} key = "q" command = "quit" }
- key { modkey = {"Mod1", "Control"} key = "r" command = "restart" }
- key { modkey = {"Mod1"} key = "0" command = "tag_view" }
- keylist
- {
- modkey = {"Mod1"}
- command = "tag_view"
- keylist = { 1, 2, 3, 4, 5, 6, 7, 8, 9 }
- arglist = { 1, 2, 3, 4, 5, 6, 7, 8, 9 }
- }
-}
-
-# vim: set tw=0 ts=4:
diff --git a/dzen2.sh b/dzen2.sh
deleted file mode 100755
index fa46549..0000000
--- a/dzen2.sh
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/zsh
-# dzen2 script by Stefan Ritter <xeno@thehappy.de>
-
-COUNT=0
-
-func_date() {
- date +%x" "%T
-}
-
-func_cputemp() {
- if [ -e /proc/acpi/thermal_zone/THRM/temperature ]; then
- echo $(cat /proc/acpi/thermal_zone/THRM/temperature | awk '{print $2 "°"}')
- fi
-}
-
-func_battery() {
- if [ -e /proc/acpi/battery/BAT0/info ]; then
- CAP=$(grep full /proc/acpi/battery/BAT0/info | awk '{print $4}')
- REM=$(grep remaining /proc/acpi/battery/BAT0/state | awk '{print $3}')
- echo $(($REM * 100 / $CAP))"%"
- fi
-}
-
-func_load() {
- echo $(cat /proc/loadavg | awk '{print $1 " " $2 " " $3}')
-}
-
-func_volume() {
- amixer | grep -A 6 \'PCM\' | tail -n 1 | awk '{print $5}' | sed 's/\[//g' | sed 's/\]//g'
-}
-
-func_wlanip() {
- /sbin/ifconfig | grep -A 1 wlan0 | tail -n 1 | awk '{print $2}' | sed 's/Adresse://g'
-}
-
-while true; do
- print "^i(etc/pixelicons/spkr_01.xbm) $(func_volume) ^i(etc/pixelicons/info_01.xbm) $(func_load) ^i(etc/pixelicons/bat_full_02.xbm) $(func_battery) ^i(etc/pixelicons/temp.xbm) $(func_cputemp) ^ca(1,wicd-client -n)^i(etc/pixelicons/wifi_02.xbm)^ca() $(func_wlanip) ^i(etc/pixelicons/clock.xbm) $(func_date) ^fg(red)$(hostname) "
- sleep 1
-done
-
-# vim: set tw=0:
diff --git a/mark-yank-urls b/perl/mark-yank-urls
index ca379cb..ca379cb 100644
--- a/mark-yank-urls
+++ b/perl/mark-yank-urls
diff --git a/viod b/viod
deleted file mode 100755
index 8bb4c21..0000000
--- a/viod
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-
-editor=vi
-
-if [ $# -eq 0 ]
-then
- echo "usage: `basename $0` file"
- exit 1
-fi
-
-file=$1
-
-timestamp=`stat -c %y "$file" | cut -d. -f1 | cut -d" " -f1 | awk -F- '{print $1 $2 $3}'``stat -c %y "$file" | cut -d. -f1 | cut -d" " -f2 | awk -F: '{print $1 $2 "." $3}'`
-
-"$editor" "$file"
-
-touch -t $timestamp "$file"
diff --git a/gtkrc-2.0 b/xorg/gtkrc-2.0
index 7e04893..7e04893 100644
--- a/gtkrc-2.0
+++ b/xorg/gtkrc-2.0
diff --git a/neo2 b/xorg/neo2
index 00a6034..00a6034 100644
--- a/neo2
+++ b/xorg/neo2
diff --git a/xorg/xdefaults b/xorg/xdefaults
index 16a0f8a..014e59f 100644
--- a/xorg/xdefaults
+++ b/xorg/xdefaults
@@ -19,7 +19,7 @@ URxvt*inheritPixmap: false
URxvt*keysym.M-u: perl:mark-yank-urls:activate_mark_mode
URxvt*underlineURLs: true
-URxvt*perl-lib: /home/gideonstar/etc/
+URxvt*perl-lib: /home/gideonstar/etc/perl/
URxvt*perl-ext: selection,mark-yank-urls
URxvt*perl-ext-common: default,matcher
URxvt*urlLauncher: firefox
diff --git a/zshrc b/zsh/zshrc
index 88d7c34..88d7c34 100644
--- a/zshrc
+++ b/zsh/zshrc