Add .xbindkeysrc
authorSiraaj Khandkar <siraaj@khandkar.net>
Fri, 7 Jun 2019 20:47:23 +0000 (16:47 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Fri, 7 Jun 2019 20:47:23 +0000 (16:47 -0400)
Makefile
home/.xbindkeysrc [new file with mode: 0644]

index 8b5b710..c5a0236 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,7 @@ install:
        @cp       home/.profile     $(HOME)/
        @cp       home/.fonts.conf  $(HOME)/
        @fc-cache                   $(HOME)/.fonts
+       @cp       home/.xbindkeysrc $(HOME)/
 
 # May still need to run:
 # 1. dselect update
diff --git a/home/.xbindkeysrc b/home/.xbindkeysrc
new file mode 100644 (file)
index 0000000..d40dd5b
--- /dev/null
@@ -0,0 +1,100 @@
+"xbindkeys_show"
+  control+shift + q
+
+# Increase volume
+"vol_inc"
+   XF86AudioRaiseVolume
+# Decrease volume
+"vol_dec"
+   XF86AudioLowerVolume
+# Mute
+"vol_mute"
+   XF86AudioMute
+
+"backlight_adjust +5"
+    XF86MonBrightnessUp
+"backlight_adjust -5"
+    XF86MonBrightnessDown
+
+"xscreensaver-command -activate"
+   XF86ScreenSaver
+"xscreensaver-command -activate"
+   control + alt + l
+#"lock"
+#   XF86ScreenSaver
+#"lock"
+#   control + alt + l
+
+# ----------
+# MPD client
+# ----------
+# If keyboard has media keys, use them:
+"mpc toggle"
+    XF86AudioPlay
+"mpc stop"
+    XF86AudioStop
+"mpc prev"
+    XF86AudioPrev
+"mpc next"
+    XF86AudioNext
+# Otherwise use combinations:
+# (Mod4 is Windows key)
+"mpc toggle"
+    Mod4+Down
+"mpc stop"
+    Mod4+Up
+"mpc prev"
+    Mod4+Left
+"mpc next"
+    Mod4+Right
+
+## cmus-remote
+#"cmus-remote --stop"
+#    XF86AudioStop
+#"cmus-remote --prev"
+#    XF86AudioPrev
+#"cmus-remote --pause"
+#    XF86AudioPlay
+#"cmus-remote --next"
+#    XF86AudioNext
+
+
+# Quick access to in-terminal apps
+"st -e htop"
+    Mod4+h
+"st -e ncmpcpp"
+    Mod4+n
+"st -e ranger"
+    Mod4+r
+
+# Transparency adjust
+"compton-trans 40"
+    Mod4 + 4
+"compton-trans 45"
+    Mod4 + Shift + 4
+"compton-trans 50"
+    Mod4 + 5
+"compton-trans 55"
+    Mod4 + Shift + 5
+"compton-trans 60"
+    Mod4 + 6
+"compton-trans 65"
+    Mod4 + Shift + 6
+"compton-trans 70"
+    Mod4 + 7
+"compton-trans 75"
+    Mod4 + Shift + 7
+"compton-trans 80"
+    Mod4 + 8
+"compton-trans 85"
+    Mod4 + Shift + 8
+"compton-trans 90"
+    Mod4 + 9
+"compton-trans 95"
+    Mod4 + Shift + 9
+"compton-trans 100"
+    Mod4 + 0
+
+# Screenshot
+"screengrab -r"
+    Print
This page took 0.020723 seconds and 4 git commands to generate.