summaryrefslogtreecommitdiffstats
path: root/public/.xbindkeysrc
diff options
context:
space:
mode:
authorMitsuo Tokumori <[email protected]>2024-09-11 04:25:38 +0900
committerMitsuo Tokumori <[email protected]>2024-09-11 04:25:38 +0900
commit37ff7062874b72bafa99afe661f42653565ed511 (patch)
tree60372bf7fdb94c9034c7d1cc5a17cd7df526c4fc /public/.xbindkeysrc
parentdca319b8d9d221f1aaf3a00ee457d202096c66ac (diff)
downloaddotfiles-37ff7062874b72bafa99afe661f42653565ed511.tar.gz
dotfiles-37ff7062874b72bafa99afe661f42653565ed511.tar.bz2
dotfiles-37ff7062874b72bafa99afe661f42653565ed511.zip
RESTRUCTURE. Replicate relative paths in public/
Diffstat (limited to 'public/.xbindkeysrc')
-rw-r--r--public/.xbindkeysrc205
1 files changed, 205 insertions, 0 deletions
diff --git a/public/.xbindkeysrc b/public/.xbindkeysrc
new file mode 100644
index 0000000..7acb6fe
--- /dev/null
+++ b/public/.xbindkeysrc
@@ -0,0 +1,205 @@
+# For the benefit of emacs users: -*- shell-script -*-
+###########################
+# xbindkeys configuration #
+###########################
+#
+# Version: 1.8.7
+#
+# If you edit this file, do not forget to uncomment any lines
+# that you change.
+# The pound(#) symbol may be used anywhere for comments.
+#
+# To specify a key, you can use 'xbindkeys --key' or
+# 'xbindkeys --multikey' and put one of the two lines in this file.
+#
+# The format of a command line is:
+# "command to start"
+# associated key
+#
+#
+# A list of keys is in /usr/include/X11/keysym.h and in
+# /usr/include/X11/keysymdef.h
+# The XK_ is not needed.
+#
+# List of modifier:
+# Release, Control, Shift, Mod1 (Alt), Mod2 (NumLock),
+# Mod3 (CapsLock), Mod4, Mod5 (Scroll).
+#
+
+# The release modifier is not a standard X modifier, but you can
+# use it if you want to catch release events instead of press events
+
+# By defaults, xbindkeys does not pay attention with the modifiers
+# NumLock, CapsLock and ScrollLock.
+# Uncomment the lines above if you want to pay attention to them.
+
+#keystate_numlock = enable
+#keystate_capslock = enable
+#keystate_scrolllock= enable
+
+# Examples of commands:
+
+#"xbindkeys_show"
+# control+shift + q
+
+## set directly keycode (here control + f with my keyboard)
+#"xterm"
+# c:41 + m:0x4
+
+## specify a mouse button
+#"xterm"
+# control + b:2
+
+#"xterm -geom 50x20+20+20"
+# Shift+Mod2+alt + s
+#
+## set directly keycode (here control+alt+mod2 + f with my keyboard)
+#"xterm"
+# alt + c:0x29 + m:4 + mod2
+#
+## Control+Shift+a release event starts rxvt
+#"rxvt"
+# release+control+shift + a
+#
+## Control + mouse button 2 release event starts rxvt
+#"rxvt"
+# Control + b:2 + Release
+
+
+# My shortcuts
+# ============
+
+# See all mappings in a neat table here: $HOME/docs/notes/keybindings.ods
+
+# Modifier scheme (order: Control,Shift,Alt(Mod1),Super(Mod4)):
+# * app-specific:
+# * Control, Control+Shift, Contrl+Alt (*)
+# * Linux & WM (dwm):
+# * Alt, Control+Alt (*), Shift+Alt
+# * user-defined:
+# * Mod4 (application launch & audio control)
+# * Shift+Mod4 (brightness control & audio control)
+# * Control+Mod4 (unused)
+# * Alt+Mod4 (unused)
+# * unused (4 finger shortcuts):
+# * Control+Shift+Alt, Control+Shift+Mod4, Control+Alt+Mod4, Shift+Alt+Mod4
+# * unused (5 finger shortcut):
+# * Control+Shift+Alt+Mod4
+
+# System
+# ------
+
+# WIP: shutdown and reboot require root privileges, so they won't work like this
+"shutdown 0"
+ Control+Shift+Alt+Mod4 + s
+
+"reboot"
+ Control+Shift+Alt+Mod4 + r
+
+"slock"
+ Control+Alt + l
+
+"audio_control.sh inc"
+ Mod4 + 0
+
+"audio_control.sh dec"
+ Mod4 + 9
+
+"audio_control.sh mutetoggle"
+ Mod4 + m
+
+"audio_control.sh micinc"
+ Mod4 + 8
+
+"audio_control.sh micdec"
+ Mod4 + 7
+
+"audio_control.sh deafentoggle"
+ Mod4 + n
+
+"brightness_control.sh inc"
+ Shift+Mod4 + 0
+
+"brightness_control.sh dec"
+ Shift+Mod4 + 9
+
+"network_control.sh wifitoggle"
+ Shift+Mod4 + c
+
+"network_control.sh bluetoothtoggle"
+ Shift+Mod4 + v
+
+"network_control.sh isolatetoggle"
+ Shift+Mod4 + b
+
+# Suckless desktop
+# --------------------
+
+"dmenu-webshortcuts.sh"
+ Alt + w
+
+"dmenu-emojicopy.sh"
+ Alt + e
+
+"screenshot.sh"
+ Print
+
+"screenshot.sh screen"
+ Shift + Print
+
+"screenshot_ocr.sh"
+ Mod4 + s
+
+# This key combination (Mod4 + Space) seems to break xbindkeys
+# See Also:
+# https://bbs.archlinux.org/viewtopic.php?id=226182
+#"audio_control.sh dec"
+# Mod4 + Space
+
+"input_control.sh en"
+ Mod4 + k
+
+"input_control.sh es"
+ Mod4 + l
+
+"input_control.sh ja"
+ Mod4 + j
+
+# Launch applications (super + key)
+# ---------------------------------
+
+"st -e tmux"
+ Mod4 + Return
+
+"st"
+ Shift+Mod4 + Return
+
+"pcmanfm"
+ Mod4 + e
+
+"firefox"
+ Mod4 + w
+
+"thunderbird"
+ Mod4 + t
+
+"goldendict"
+ Mod4 + g
+
+"zeal"
+ Mod4 + h
+
+# Media control
+# -------------
+
+"playerctl play-pause"
+ Mod4 + Down
+
+"playerctl stop"
+ Mod4 + Up
+
+"playerctl next"
+ Mod4 + Right
+
+"playerctl previous"
+ Mod4 + Left