about summary refs log tree commit diff
path: root/xbindkeys
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>1970-01-01 03:00:00 +0300
committerAzat Bahawi <azat@bahawi.net>2022-09-20 11:51:54 +0300
commit38bab29776950ac2364ed64195b89887717c33de (patch)
treeedaaf366a55dbe96d268019124536bc504c64e87 /xbindkeys
chore: init HEAD master
Diffstat (limited to 'xbindkeys')
-rw-r--r--xbindkeys/.xbindkeysrc69
-rwxr-xr-xxbindkeys/@install7
2 files changed, 76 insertions, 0 deletions
diff --git a/xbindkeys/.xbindkeysrc b/xbindkeys/.xbindkeysrc
new file mode 100644
index 0000000..abb760b
--- /dev/null
+++ b/xbindkeys/.xbindkeysrc
@@ -0,0 +1,69 @@
+keystate_numlock = disable
+keystate_capslock = disable
+keystate_scrolllock= disable
+
+"st -e tmux"
+    Mod4 + Return
+
+"st -e tmux attach"
+    Mod4 + Shift + Return
+
+"st -e ncmpcpp"
+    Mod4 + Shift + m
+
+"st -e htop"
+    Mod4 + Shift + t
+
+"dmenu_run"
+    Mod4 + x
+
+"gentoo-passmenu"
+    Mod4 + Shift + p
+
+"otpmenu"
+    Mod4 + Control + p
+
+"qutebrowser"
+    Mod4 + w
+
+"xset dpms force suspend && slock"
+    XF86ScreenSaver
+
+"mon"
+    XF86Display
+
+"sus"
+    XF86Sleep
+
+"hib"
+    Shift + XF86Sleep
+
+"amixer sset Master toggle"
+    XF86AudioMute
+
+"amixer sset Master unmute 5%+"
+    XF86AudioRaiseVolume
+
+"amixer sset Master unmute 5%-"
+    XF86AudioLowerVolume
+
+"amixer sset Capture toggle"
+    XF86AudioMicMute
+
+"amixer sset Capture unmute 5%+"
+    Shift + XF86AudioRaiseVolume
+
+"amixer sset Capture unmute 5%-"
+    Shift + XF86AudioLowerVolume
+
+"mpc --quiet toggle"
+    XF86AudioPlay
+
+"mpc --quiet stop"
+    XF86AudioStop
+
+"mpc --quiet next"
+    XF86AudioNext
+
+"mpc --quiet prev"
+    XF86AudioPrev
diff --git a/xbindkeys/@install b/xbindkeys/@install
new file mode 100755
index 0000000..48067d9
--- /dev/null
+++ b/xbindkeys/@install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+stow \
+    --target="${HOME}" \
+    --ignore="^@.*" \
+    --verbose \
+    xbindkeys

Consider giving Nix/NixOS a try! <3