summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/system/.config/sxhkd/sxhkdrc71
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"