diff options
| author | Mitsuo Tokumori <[email protected]> | 2023-11-23 22:05:37 -0500 |
|---|---|---|
| committer | Mitsuo Tokumori <[email protected]> | 2023-11-23 22:05:37 -0500 |
| commit | 37d62ed30fcc512de308b6e47fdab0f425a8a63b (patch) | |
| tree | 7bb75ed794ec43745ba3d2f60f96c5809b63e3eb /Xorg/xbindkeysrc | |
| parent | 2f2555df201c74cd0f93b1e543fd397cda9a23e5 (diff) | |
| download | dotfiles-37d62ed30fcc512de308b6e47fdab0f425a8a63b.tar.gz dotfiles-37d62ed30fcc512de308b6e47fdab0f425a8a63b.tar.bz2 dotfiles-37d62ed30fcc512de308b6e47fdab0f425a8a63b.zip | |
Use dwm instead of KDE Plasma 5
Diffstat (limited to 'Xorg/xbindkeysrc')
| -rw-r--r-- | Xorg/xbindkeysrc | 94 |
1 files changed, 75 insertions, 19 deletions
diff --git a/Xorg/xbindkeysrc b/Xorg/xbindkeysrc index 6a4c8d8..9437ef0 100644 --- a/Xorg/xbindkeysrc +++ b/Xorg/xbindkeysrc @@ -69,35 +69,86 @@ # My shortcuts # ============ -# Change brightness or volume with (Super + up|down). This might be better to -# configure from the DE/WM. It's more complex and the command varies depending -# on the machine. -# See: https://askubuntu.com/a/149264/951105 - -## Increase volume -#"pactl set-sink-volume @DEFAULT_SINK@ +1000" +# Modifier scheme (order: Control,Shift,Alt(Mod1),Super(Mod4)): +# * app-specific: +# * Control, Control+Shift +# * 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 +# ------ + +"sudo shutdown 0" + Control+Shift+Alt+Mod4 + s +"sudo reboot" + Control+Shift+Alt+Mod4 + r + +"slock" + Control+Alt + l + +# Audio & brightness control +# Ref.: +# https://wiki.archlinux.org/title/Backlight + +"pactl set-sink-volume '@DEFAULT_SINK@' '+10%'" + Mod4 + k # XF86AudioRaiseVolume -## Decrease volume -#"pactl set-sink-volume @DEFAULT_SINK@ -1000" -# XF86AudioLowerVolume +"pactl set-sink-volume '@DEFAULT_SINK@' '-10%'" + Mod4 + j +# XF86AudioLowerVolume + +"pactl set-sink-mute '@DEFAULT_SINK@' 'toggle'" + Shift+Mod4 + m +# XF86AudioMute + +"pactl set-source-mute @DEFAULT_SOURCE@ toggle" + Mod4 + m + +# Maybe it'd be a good idea to remove the sudo from here, idk +"sudo xbacklight -inc 10" + Shift+Mod4 + k +# XF86MonBrightnessUp -# Terminal +"sudo xbacklight -dec 10" + Shift+Mod4 + j +# XF86MonBrightnessDown + +# dwm +# -------------------- + +"dmenu-webshortcuts.sh" + Alt + w + +"dmenu-emojicopy.sh" + Alt + e + +# Launch applications (super + key) +# --------------------------------- -# st with tmux (super + return) "st -e tmux" Mod4 + Return "st" Shift+Mod4 + Return -# Other applications (super + key) +"pcmanfm" + Mod4 + e "firefox" Mod4 + w "thunderbird" - Mod4 + m + Mod4 + t "goldendict" Mod4 + g @@ -105,15 +156,20 @@ "zeal" Mod4 + h -# mpd control with mpc (just use strawberry(1)) +# Media control +# ------------- -#"mpc toggle" +"playerctl play-pause" + Mod4 + Down # XF86AudioPlay -#"mpc stop" +"playerctl stop" + Mod4 + Up # XF86AudioStop -#"mpc prev" +"playerctl next" + Mod4 + Right # XF86AudioPrev -#"mpc next" +"playerctl previous" + Mod4 + Left # XF86AudioNext ################################## |
