summaryrefslogtreecommitdiff
path: root/dotfiles/common/.config/sxhkd/sxhkdrc
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/common/.config/sxhkd/sxhkdrc')
-rw-r--r--dotfiles/common/.config/sxhkd/sxhkdrc106
1 files changed, 106 insertions, 0 deletions
diff --git a/dotfiles/common/.config/sxhkd/sxhkdrc b/dotfiles/common/.config/sxhkd/sxhkdrc
new file mode 100644
index 0000000..16b90c7
--- /dev/null
+++ b/dotfiles/common/.config/sxhkd/sxhkdrc
@@ -0,0 +1,106 @@
+# SXHDRC
+# This is the sxhkdrc for the Simple X Hotkey Daemon.
+# https://github.com/baskerville/sxhkd
+
+
+super + space
+ rofi -show drun
+super + shift + s
+ rofi -show ssh
+
+
+#
+# Browsers
+#
+
+super + w
+ $BROWSER
+super + shift + w
+ $ALTBROWSER
+ctrl + alt + w
+ tor-browser
+
+#
+# Applications
+#
+
+# Emacs
+super + e
+ emacsclient -c -a "" || emacs
+
+# File Manager
+control + alt + f
+ nautilus
+
+# Virtualbox
+super + v
+ virtualbox
+
+
+# Library
+super + shift + l
+ calibre
+
+# Radio
+super + shift + r
+ shortwave
+
+#
+# Music
+#
+# super + slash
+# st -e ncmpcpp
+# ctrl + alt + slash
+# easytag ~/music
+
+
+#
+# Accessories
+#
+
+
+# Colorpicker
+super + c
+ xcolor | xsel -b
+
+# Screenshots
+super + s
+ file="$(date +%Y.%m.%d-%M%S).png" && maim ~/pictures/screenshots/$file && \
+ notify-send "screenshot" "Image saved to ~/Pictures/screenshots/$file"
+
+#
+# System
+#
+
+# Audio Keys
+XF86AudioMute
+ amixer -q -D pulse sset Master toggle &&
+XF86Audio{Raise,Lower}Volume
+ pactl -- set-sink-volume 0 {+,-}10% &&
+
+# Brightness Keys
+XF86MonBrightnessUp
+ brightnessctl s +10% && notify-send "Brightness" "Brightness increased"
+XF86MonBrightnessDown
+ brightnessctl s 10%- && notify-send "Brightness" "Brightness decreased"
+
+# Microphone Toggle
+control + alt + space
+ amixer set Capture toggle && amixer get Capture | grep '\[off\]' && notify-send "Microphone" "Microphone muted" || notify-send "Microphone" "Microphone on"
+
+# Bluetooth
+super + shift + b
+ blueman-manager
+
+# Lock Screen
+super + Escape
+ slock &
+
+#
+# Keybinding
+#
+
+super + k
+ $EDITOR ~/.config/sxhkd/sxhkdrc && notify-send "Keyboard Shortcuts" "Editing shortcuts"
+super + shift + k
+ sudo killall sxhkd && sxhkd && notify-send "Keyboard Shortcuts" "Keyboard shortcuts reloaded"