commit ca2ad831cd6f7e5becf8c2531f1d618a7b260063
parent a832ccc5da3d317821eca49d3bce4bc6eb0042c0
Author: Bastien Dejean <nihilhill@gmail.com>
Date: Thu, 10 Jan 2013 12:45:32 +0100
Integrate example configuration
Diffstat:
2 files changed, 29 insertions(+), 34 deletions(-)
diff --git a/README.md b/README.md
@@ -49,6 +49,35 @@ If *sxhkd* receives a `SIGUSR1` signal, it will reload its configuration file.
If no configuration file is specified through the `-c` option, the following is used: `$XDG_CONFIG_HOME/sxhkd/sxhkdrc`.
+## Example Configuration
+
+ Audio{Prev,Next}
+ mpc -q {prev,next}
+
+ super + shift + @LaunchA
+ scrot -s -e 'image_viewer $f'
+
+ super + shift + equal
+ mosaic "$HOME/image"
+
+ super + {h,j,k,l}
+ bspc focus {left,down,up,right}
+
+ super + alt + {0-9}
+ mpc -q seek {0-9}0%
+
+ super + {alt,ctrl,alt + ctrl} + Eject
+ sudo systemctl {suspend,reboot,poweroff}
+
+ super + button{1,2,3}
+ bspc grab_pointer {move,focus,resize}
+
+ super + !button{1,3}
+ bspc {track_pointer,track_pointer} %i %i
+
+ super + @button{1,3}
+ bspc {ungrab_pointer,ungrab_pointer}
+
## Installation
make
diff --git a/examples/sxhkdrc b/examples/sxhkdrc
@@ -1,34 +0,0 @@
-MonBrightness{Down,Up}
- backlight {-1,+1}
-
-Audio{Prev,Next}
- mpc -q {prev,next}
-
-super + LaunchA
- scrot
-
-super + shift + @LaunchA
- scrot -s
-
-button8
- bspc toggle_visibility
-
-super + shift + equal
- mosaic "$HOME/image"
-
-super + {h,j,k,l}
- bspc focus {left,down,up,right}
-
-super + alt + {0-9}
- mpc -q seek {0-9}0%
-
-super + button{1,2,3}
- bspc grab_pointer {move,focus,resize}
-
-super + !button{1,3}
- bspc {track_pointer,track_pointer} %i %i
-
-super + @button{1,3}
- bspc {ungrab_pointer,ungrab_pointer}
-
-# vim: set ft=conf: