diff options
| author | Craig Jennings <c@cjennings.net> | 2025-06-06 16:31:28 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-06-06 16:31:28 -0500 |
| commit | 73270bddbe6bdf8fcb1d931ada372416bd6d11f1 (patch) | |
| tree | 930552560770db47cc5a7e88b93e71b5736a8eb9 | |
| parent | 7a9cfcf5fc69f4be1524304f0b7a8f0363e0ca09 (diff) | |
reorganize keybindings to improve readability
| -rw-r--r-- | dotfiles/system/.config/sxhkd/sxhkdrc | 71 |
1 files changed, 47 insertions, 24 deletions
diff --git a/dotfiles/system/.config/sxhkd/sxhkdrc b/dotfiles/system/.config/sxhkd/sxhkdrc index 564437a..e57b229 100644 --- a/dotfiles/system/.config/sxhkd/sxhkdrc +++ b/dotfiles/system/.config/sxhkd/sxhkdrc @@ -3,14 +3,26 @@ # https://github.com/baskerville/sxhkd -# Emacs client or emacs if client fails -super + e - emacsclient -c -a "" || emacs +# +# Browsers +# -# Web Browser super + w $BROWSER +super + shift + w + $ALTBROWSER +ctrl + alt + w + tor-browser + +# +# Applications +# + +# Emacs +super + e + emacsclient -c -a "" || emacs +# File Manager super + shift + f thunar @@ -18,6 +30,21 @@ super + shift + f super + v virtualbox + +# Library +super + shift + l + calibre + +# Radio +super + shift + r + shortwave + + +# +# Accessories +# + + # Colorpicker super + c xcolor | xsel -b @@ -27,37 +54,24 @@ super + s file="$(date +%Y.%m.%d-%M%S).png" && maim ~/pictures/screenshots/$file && \ notify-send "screenshot" "Image saved to ~/Pictures/screenshots/$file" -super + shift + s - maimpick +# +# System +# -# Ebook Library -super + shift + l - calibre - -# Shortwave (Radio) -super + shift + r - shortwave - -# Shortcut Editing/Reloading -super + k - emacsclient -r -a "" ~/.config/sxhkd/sxhkdrc && notify-send "Keyboard Shortcuts" "Editing shortcuts" -super + shift + k - sudo killall sxhkd && sxhkd && notify-send "Keyboard Shortcuts" "Keyboard shortcuts reloaded" - -# Audio +# Audio Keys XF86AudioMute amixer -q -D pulse sset Master toggle && XF86Audio{Raise,Lower}Volume pactl -- set-sink-volume 0 {+,-}10% && -# Brightness +# Brightness Keys XF86MonBrightnessUp brightnessctl s +10% && notify-send "Brightness" "Brightness increased" XF86MonBrightnessDown brightnessctl s 10%- && notify-send "Brightness" "Brightness decreased" # Microphone Toggle -super + alt + control + space +control + alt + space amixer set Capture toggle && amixer get Capture | grep '\[off\]' && notify-send "Microphone" "Microphone muted" || notify-send "Microphone" "Microphone on" # Bluetooth @@ -65,5 +79,14 @@ super + shift + b blueman-manager # Lock Screen -super + grave +super + Escape slock & + +# +# Keybinding +# + +super + k + emacsclient -r -a "" ~/.config/sxhkd/sxhkdrc && notify-send "Keyboard Shortcuts" "Editing shortcuts" +super + shift + k + sudo killall sxhkd && sxhkd && notify-send "Keyboard Shortcuts" "Keyboard shortcuts reloaded" |
