]> git.friedersdorff.com Git - max/dotfiles.git/blobdiff - ratpoison/.ratpoisonrc.base
Laptop config
[max/dotfiles.git] / ratpoison / .ratpoisonrc.base
diff --git a/ratpoison/.ratpoisonrc.base b/ratpoison/.ratpoisonrc.base
new file mode 100644 (file)
index 0000000..5e1404b
--- /dev/null
@@ -0,0 +1,25 @@
+# Set the colors for ratpoison text!
+set bgcolor red
+set fwcolor red
+set font "Liberation Mono:size=20"
+
+bind f exec firefox --remote "openurl(`$RATPOISON -c getsel`,new-tab)"
+
+bind l ratclick 1
+bind v ratclick 2
+
+bind dollar exec ~/.local/bin/suspend
+
+definekey top XF86AudioLowerVolume exec amixer set Master 5%-
+definekey top XF86AudioRaiseVolume exec amixer set Master 5%+
+definekey top XF86AudioMute exec amixer set Master toggle 
+
+definekey top XF86TouchpadToggle exec source /usr/local/bin/toggle_touchpad
+
+definekey top XF86Sleep exec ~/.local/bin/suspend
+
+definekey top XF86KbdBrightnessDown exec sudo /usr/local/bin/kbd_bl -
+definekey top XF86KbdBrightnessUp exec sudo /usr/local/bin/kbd_bl +
+
+definekey top XF86MonBrightnessUp exec sudo /usr/local/bin/bl +
+definekey top XF86MonBrightnessDown exec sudo /usr/local/bin/bl -