Please bear with us as we work to restore functionality to dotfiles.org.
basileaf
/.xbindkeysrc.scm
;;;
;;; ~/.xbindkeysrc.scm - execute commands using the mouse or keyboard
;;;
;; List of modifier:
;; Release, Control, Shift, Mod1 (Alt), Mod2 (NumLock),
;; Mod3 (CapsLock), Mod4, Mod5 (Scroll).
;; By default, xbindkeys does not pay attention to the modifiers
;; NumLock, CapsLock, or ScrollLock.
;; Uncomment the lines below if you want to use them.
;; To disable them, call the functions with #f
;(set-numlock! #t)
;(set-scrolllock! #t)
;(set-capslock! #t)
;;;;; Scheme API reference
;;;;
;; Optional modifier state:
;; (set-numlock! #f or #t)
;; (set-scrolllock! #f or #t)
;; (set-capslock! #f or #t)
;;
;; Shell command key:
;; (xbindkey key "foo-bar-command [args]")
;; (xbindkey '(modifier* key) "foo-bar-command [args]")
;;
;; Scheme function key:
;; (xbindkey-function key function-name-or-lambda-function)
;; (xbindkey-function '(modifier* key) function-name-or-lambda-function)
;;
;; Other functions:
;; (remove-xbindkey key)
;; (run-command "foo-bar-command [args]")
;; (grab-all-keys)
;; (ungrab-all-keys)
;; (remove-all-keys)
;; (debug)
;; The Shortcuts:
; Open terminal
(xbindkey '(mod4 Return) "urxvtc -name urxvtTrans || urxvt")
; Open firefox
(xbindkey '(mod4 w) "firefox")
; Open Pidgin
(xbindkey '(mod4 p) "pidgin")
; Open Sonata
(xbindkey '(mod4 s) "sonata")
; Run dialogue
(xbindkey '(mod4 r) "gmrun")
; File Manager
(xbindkey '(mod4 f) "pcmanfm")
;; Multimedia Keys
(xbindkey '(XF86AudioPlay) "mpc toggle")
(xbindkey '(XF86AudioStop) "mpd-fade" )
(xbindkey '(XF86AudioPrev) "mpc prev" )
(xbindkey '(XF86AudioNext) "mpc next" )
(xbindkey '(XF86AudioMute) "changevol -t")
(xbindkey '(XF86AudioRaiseVolume) "changevol -i 5")
(xbindkey '(XF86AudioLowerVolume) "changevol -d 5")
(xbindkey '(mod4 v) "changevol -s")
;(xbindkey '(XF86AudioMute) "amixer set -c 0 Master toggle")
;(xbindkey '(XF86AudioRaiseVolume) "amixer set -c 0 Master 5%+" )
;(xbindkey '(XF86AudioLowerVolume) "amixer set -c 0 Master 5%-" )