diff options
Diffstat (limited to 'sxhkd')
-rw-r--r-- | sxhkd/.config/sxhkd/sxhkdrc | 74 | ||||
-rwxr-xr-x | sxhkd/.local/bin/toggle-presentation-mode | 3 |
2 files changed, 36 insertions, 41 deletions
diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index 07ab0e0..78dd17d 100644 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc @@ -3,73 +3,65 @@ # # terminal emulator -super + Return - urxvt -super + shift + Return - urxvt -name tiled +super + {_,shift} + Return + urxvt{_, -name tiled} # program launcher super + space - rofi -show run -font "Inconsolata 13" + rofi -show run -# rofi-pass +# window finder +super + backslash + rofi -show window + +# password manager super + shift + space rofi-pass -# teiler -super + shift + s - teiler - -super + z ; t - urxvt - -super + z ; f - firefox-nightly - # firefox #super + r # firefox # chromium #super + c -# chromium +# chromium -incognito # emacs super + e emacs -# emacs -Q -l src/elisp/oremacs/init.el - -# stalonetray -#super + minus -# toggle_tray& -# volume up -XF86AudioRaiseVolume - pamixer --allow-boost --increase 5 +# make sxhkd reload its configuration files: +super + Escape + pkill -USR1 -x sxhkd -# volume down -XF86AudioLowerVolume - pamixer --allow-boost --decrease 5 +# volume {up,down} +XF86Audio{Raise,Lower}Volume + pamixer --allow-boost --{in,de}crease 5 # mute XF86AudioMute pamixer --toggle-mute +# Xfce log out +super + shift + q + xfce4-session-logout + +# Toggle keyboard layout +XF86LaunchA + toggle-layout + +# Toggle Xfce presentation mode +XF86LaunchB + toggle-presentation-mode + # monitor brightness #XF86MonBrightness{Up,Down} -# xbacklight -time 0 {+5,-5} +# light -s mba6x_backlight -{A,U} 10 # keyboard brightness #XF86KbdBrightness{Up,Down} # kbdlight {up,down} -XF86LaunchA - /home/amin/.local/bin/toggle-layout - -# make sxhkd reload its configuration files: -super + Escape - pkill -USR1 -x sxhkd - # # bspwm hotkeys # @@ -118,13 +110,13 @@ super + {_,shift + }{h,j,k,l} super + {p,b,comma,period} bspc node -f @{parent,brother,first,second} -# focus the next/previous node -super + {_,shift + }slash - bspc node -f {next,prev} +# focus the next/previous node in the current desktop +super + {_,shift + }c + bspc node -f {next,prev}.local -# focus the next/previous desktop +# focus the next/previous desktop in the current monitor super + bracket{left,right} - bspc desktop -f {prev,next} + bspc desktop -f {prev,next}.local # send to next/prev desktop super + shift + bracket{left,right} diff --git a/sxhkd/.local/bin/toggle-presentation-mode b/sxhkd/.local/bin/toggle-presentation-mode new file mode 100755 index 0000000..00279bd --- /dev/null +++ b/sxhkd/.local/bin/toggle-presentation-mode @@ -0,0 +1,3 @@ +#!/bin/bash + +xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -T |