summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.crontab.local0
-rw-r--r--.full.asound554
-rw-r--r--.login-daemons5
-rwxr-xr-x.wmii/wmiirc_local37
-rw-r--r--.xmodmap7
5 files changed, 598 insertions, 5 deletions
diff --git a/.crontab.local b/.crontab.local
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/.crontab.local
diff --git a/.full.asound b/.full.asound
new file mode 100644
index 0000000..87a70f2
--- /dev/null
+++ b/.full.asound
@@ -0,0 +1,554 @@
+state.SB {
+ control.1 {
+ iface MIXER
+ name 'Front Playback Volume'
+ value.0 17
+ value.1 17
+ comment {
+ access 'read write'
+ type INTEGER
+ count 2
+ range '0 - 31'
+ dbmin -4650
+ dbmax 0
+ dbvalue.0 -2100
+ dbvalue.1 -2100
+ }
+ }
+ control.2 {
+ iface MIXER
+ name 'Front Playback Switch'
+ value.0 true
+ value.1 true
+ comment {
+ access 'read write'
+ type BOOLEAN
+ count 2
+ }
+ }
+ control.3 {
+ iface MIXER
+ name 'Surround Playback Volume'
+ value.0 0
+ value.1 0
+ comment {
+ access 'read write'
+ type INTEGER
+ count 2
+ range '0 - 31'
+ dbmin -4650
+ dbmax 0
+ dbvalue.0 -4650
+ dbvalue.1 -4650
+ }
+ }
+ control.4 {
+ iface MIXER
+ name 'Surround Playback Switch'
+ value.0 true
+ value.1 true
+ comment {
+ access 'read write'
+ type BOOLEAN
+ count 2
+ }
+ }
+ control.5 {
+ iface MIXER
+ name 'Center Playback Volume'
+ value 0
+ comment {
+ access 'read write'
+ type INTEGER
+ count 1
+ range '0 - 31'
+ dbmin -4650
+ dbmax 0
+ dbvalue.0 -4650
+ }
+ }
+ control.6 {
+ iface MIXER
+ name 'LFE Playback Volume'
+ value 0
+ comment {
+ access 'read write'
+ type INTEGER
+ count 1
+ range '0 - 31'
+ dbmin -4650
+ dbmax 0
+ dbvalue.0 -4650
+ }
+ }
+ control.7 {
+ iface MIXER
+ name 'Center Playback Switch'
+ value true
+ comment {
+ access 'read write'
+ type BOOLEAN
+ count 1
+ }
+ }
+ control.8 {
+ iface MIXER
+ name 'LFE Playback Switch'
+ value true
+ comment {
+ access 'read write'
+ type BOOLEAN
+ count 1
+ }
+ }
+ control.9 {
+ iface MIXER
+ name 'Side Playback Volume'
+ value.0 0
+ value.1 0
+ comment {
+ access 'read write'
+ type INTEGER
+ count 2
+ range '0 - 31'
+ dbmin -4650
+ dbmax 0
+ dbvalue.0 -4650
+ dbvalue.1 -4650
+ }
+ }
+ control.10 {
+ iface MIXER
+ name 'Side Playback Switch'
+ value.0 true
+ value.1 true
+ comment {
+ access 'read write'
+ type BOOLEAN
+ count 2
+ }
+ }
+ control.11 {
+ iface MIXER
+ name 'Headphone Playback Volume'
+ value.0 31
+ value.1 31
+ comment {
+ access 'read write'
+ type INTEGER
+ count 2
+ range '0 - 31'
+ dbmin -4650
+ dbmax 0
+ dbvalue.0 0
+ dbvalue.1 0
+ }
+ }
+ control.12 {
+ iface MIXER
+ name 'Headphone Playback Switch'
+ value.0 true
+ value.1 true
+ comment {
+ access 'read write'
+ type BOOLEAN
+ count 2
+ }
+ }
+ control.13 {
+ iface MIXER
+ name 'Rear Mic Playback Volume'
+ value.0 0
+ value.1 0
+ comment {
+ access 'read write'
+ type INTEGER
+ count 2
+ range '0 - 31'
+ dbmin -3450
+ dbmax 1200
+ dbvalue.0 -3450
+ dbvalue.1 -3450
+ }
+ }
+ control.14 {
+ iface MIXER
+ name 'Rear Mic Playback Switch'
+ value.0 false
+ value.1 false
+ comment {
+ access 'read write'
+ type BOOLEAN
+ count 2
+ }
+ }
+ control.15 {
+ iface MIXER
+ name 'Front Mic Playback Volume'
+ value.0 31
+ value.1 31
+ comment {
+ access 'read write'
+ type INTEGER
+ count 2
+ range '0 - 31'
+ dbmin -3450
+ dbmax 1200
+ dbvalue.0 1200
+ dbvalue.1 1200
+ }
+ }
+ control.16 {
+ iface MIXER
+ name 'Front Mic Playback Switch'
+ value.0 true
+ value.1 true
+ comment {
+ access 'read write'
+ type BOOLEAN
+ count 2
+ }
+ }
+ control.17 {
+ iface MIXER
+ name 'Line Playback Volume'
+ value.0 31
+ value.1 31
+ comment {
+ access 'read write'
+ type INTEGER
+ count 2
+ range '0 - 31'
+ dbmin -3450
+ dbmax 1200
+ dbvalue.0 1200
+ dbvalue.1 1200
+ }
+ }
+ control.18 {
+ iface MIXER
+ name 'Line Playback Switch'
+ value.0 true
+ value.1 true
+ comment {
+ access 'read write'
+ type BOOLEAN
+ count 2
+ }
+ }
+ control.19 {
+ iface MIXER
+ name 'Auto-Mute Mode'
+ value Enabled
+ comment {
+ access 'read write'
+ type ENUMERATED
+ count 1
+ item.0 Disabled
+ item.1 Enabled
+ }
+ }
+ control.20 {
+ iface MIXER
+ name 'Rear Mic Boost Volume'
+ value.0 0
+ value.1 0
+ comment {
+ access 'read write'
+ type INTEGER
+ count 2
+ range '0 - 3'
+ dbmin 0
+ dbmax 3000
+ dbvalue.0 0
+ dbvalue.1 0
+ }
+ }
+ control.21 {
+ iface MIXER
+ name 'Front Mic Boost Volume'
+ value.0 0
+ value.1 0
+ comment {
+ access 'read write'
+ type INTEGER
+ count 2
+ range '0 - 3'
+ dbmin 0
+ dbmax 3000
+ dbvalue.0 0
+ dbvalue.1 0
+ }
+ }
+ control.22 {
+ iface MIXER
+ name 'Capture Switch'
+ value.0 true
+ value.1 true
+ comment {
+ access 'read write'
+ type BOOLEAN
+ count 2
+ }
+ }
+ control.23 {
+ iface MIXER
+ name 'Capture Switch'
+ index 1
+ value.0 true
+ value.1 true
+ comment {
+ access 'read write'
+ type BOOLEAN
+ count 2
+ }
+ }
+ control.24 {
+ iface MIXER
+ name 'Capture Volume'
+ value.0 31
+ value.1 31
+ comment {
+ access 'read write'
+ type INTEGER
+ count 2
+ range '0 - 31'
+ dbmin -1650
+ dbmax 3000
+ dbvalue.0 3000
+ dbvalue.1 3000
+ }
+ }
+ control.25 {
+ iface MIXER
+ name 'Capture Volume'
+ index 1
+ value.0 0
+ value.1 0
+ comment {
+ access 'read write'
+ type INTEGER
+ count 2
+ range '0 - 31'
+ dbmin -1650
+ dbmax 3000
+ dbvalue.0 -1650
+ dbvalue.1 -1650
+ }
+ }
+ control.26 {
+ iface MIXER
+ name 'Input Source'
+ value 'Rear Mic'
+ comment {
+ access 'read write'
+ type ENUMERATED
+ count 1
+ item.0 'Rear Mic'
+ item.1 'Front Mic'
+ item.2 Line
+ }
+ }
+ control.27 {
+ iface MIXER
+ name 'Input Source'
+ index 1
+ value 'Rear Mic'
+ comment {
+ access 'read write'
+ type ENUMERATED
+ count 1
+ item.0 'Rear Mic'
+ item.1 'Front Mic'
+ item.2 Line
+ }
+ }
+ control.28 {
+ iface MIXER
+ name 'IEC958 Playback Con Mask'
+ value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
+ comment {
+ access read
+ type IEC958
+ count 1
+ }
+ }
+ control.29 {
+ iface MIXER
+ name 'IEC958 Playback Pro Mask'
+ value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
+ comment {
+ access read
+ type IEC958
+ count 1
+ }
+ }
+ control.30 {
+ iface MIXER
+ name 'IEC958 Playback Default'
+ value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
+ comment {
+ access 'read write'
+ type IEC958
+ count 1
+ }
+ }
+ control.31 {
+ iface MIXER
+ name 'IEC958 Playback Switch'
+ value false
+ comment {
+ access 'read write'
+ type BOOLEAN
+ count 1
+ }
+ }
+ control.32 {
+ iface MIXER
+ name 'IEC958 Default PCM Playback Switch'
+ value true
+ comment {
+ access 'read write'
+ type BOOLEAN
+ count 1
+ }
+ }
+ control.33 {
+ iface MIXER
+ name 'Master Playback Volume'
+ value 31
+ comment {
+ access 'read write'
+ type INTEGER
+ count 1
+ range '0 - 31'
+ dbmin -4650
+ dbmax 0
+ dbvalue.0 0
+ }
+ }
+ control.34 {
+ iface MIXER
+ name 'Master Playback Switch'
+ value true
+ comment {
+ access 'read write'
+ type BOOLEAN
+ count 1
+ }
+ }
+ control.35 {
+ iface CARD
+ name 'Line Out Front Jack'
+ value false
+ comment {
+ access read
+ type BOOLEAN
+ count 1
+ }
+ }
+ control.36 {
+ iface CARD
+ name 'Line Out Surround Jack'
+ value false
+ comment {
+ access read
+ type BOOLEAN
+ count 1
+ }
+ }
+ control.37 {
+ iface CARD
+ name 'Line Out CLFE Jack'
+ value false
+ comment {
+ access read
+ type BOOLEAN
+ count 1
+ }
+ }
+ control.38 {
+ iface CARD
+ name 'Line Out Side Jack'
+ value false
+ comment {
+ access read
+ type BOOLEAN
+ count 1
+ }
+ }
+ control.39 {
+ iface CARD
+ name 'Front Headphone Jack'
+ value false
+ comment {
+ access read
+ type BOOLEAN
+ count 1
+ }
+ }
+ control.40 {
+ iface CARD
+ name 'Rear Mic Jack'
+ value false
+ comment {
+ access read
+ type BOOLEAN
+ count 1
+ }
+ }
+ control.41 {
+ iface CARD
+ name 'Front Mic Jack'
+ value true
+ comment {
+ access read
+ type BOOLEAN
+ count 1
+ }
+ }
+ control.42 {
+ iface CARD
+ name 'Line Jack'
+ value false
+ comment {
+ access read
+ type BOOLEAN
+ count 1
+ }
+ }
+ control.43 {
+ iface MIXER
+ name 'PCM Playback Volume'
+ value.0 155
+ value.1 155
+ comment {
+ access 'read write user'
+ type INTEGER
+ count 2
+ range '0 - 255'
+ tlv '0000000100000008ffffec1400000014'
+ dbmin -5100
+ dbmax 0
+ dbvalue.0 -2000
+ dbvalue.1 -2000
+ }
+ }
+ control.44 {
+ iface MIXER
+ name 'Digital Capture Volume'
+ value.0 60
+ value.1 60
+ comment {
+ access 'read write user'
+ type INTEGER
+ count 2
+ range '0 - 120'
+ tlv '0000000100000008fffff44800000032'
+ dbmin -3000
+ dbmax 3000
+ dbvalue.0 0
+ dbvalue.1 0
+ }
+ }
+}
diff --git a/.login-daemons b/.login-daemons
index bf8cf21..9a645d7 100644
--- a/.login-daemons
+++ b/.login-daemons
@@ -1,10 +1,5 @@
#!/bin/sh
if [ -x "`which daemon`" ]; then
- daemon maildirproc
daemon gpg-agent --daemon --write-env-file "${HOME}/.gnupg/agent-info"
- daemon batterymon 20 "
- alsactl restore --file $HOME/.full.asound;
- espeak 'PLUG ME IN';
- sleep .2;"
fi
diff --git a/.wmii/wmiirc_local b/.wmii/wmiirc_local
new file mode 100755
index 0000000..8e1321c
--- /dev/null
+++ b/.wmii/wmiirc_local
@@ -0,0 +1,37 @@
+#!/bin/dash -f
+# -*- mode: sh; -*-
+
+# wmiirc file for my HP Pavilion dv6426us laptop
+
+MODKEY=Mod4
+
+status() {
+ buffer=$(
+ echo -n ' '
+ # Wifi status
+ echo -n 'Wlan0:' $(iwconfig wlan0 | sed 's/ /\n/g' | grep Quality)
+
+ echo -n ' | '
+
+ # Battery charge (not status)
+ echo -n $(acpi -b | sed 's/.*, \{0,2\}\([0-9]\{1,3\}%\),.*/Bat: \1/')
+
+ echo -n ' | '
+ # CPU
+ # This doesn't work for me, it shows capacity
+ #echo -n 'Core MHz:' $(cat /proc/cpuinfo | grep 'cpu MHz' | sed 's/.*: //g; s/\..*//g;')
+ # This actually displays %idle
+ echo -n 'CPU: [ '$(tail -n3 ~/tmp/cputime|sed -u 's/ */\t/g'|cut -f2,11|sed 's/\t\(.*\)/(\1)/')' ]'
+
+ #echo -n ' | '
+
+ #echo -n $(uptime | sed 's/.*://; s/,//g')
+
+ echo -n ' | '
+
+ echo -n $(date)
+
+ echo -n ' '
+ )
+ echo "$buffer"
+}
diff --git a/.xmodmap b/.xmodmap
new file mode 100644
index 0000000..e4ade24
--- /dev/null
+++ b/.xmodmap
@@ -0,0 +1,7 @@
+remove lock = Caps_Lock
+keysym Caps_Lock = Super_L
+
+keycode 135 = Super_R
+
+clear mod4
+add mod4 = Super_L Super_R Hyper_L Hyper_R Menu