diff options
author | dx <aryadevchavali1@gmail.com> | 2020-06-10 18:51:39 +0100 |
---|---|---|
committer | dx <aryadevchavali1@gmail.com> | 2020-06-10 18:51:39 +0100 |
commit | 12ca0efdafab060bc71c93cf441d523749bb5301 (patch) | |
tree | 6f5667fe476df4b4b1aded2ad9d9e344590b569a /SXHkD/.config | |
parent | 68fa5a1790594a9ac254c501aab30be308d3827d (diff) | |
download | dotfiles-12ca0efdafab060bc71c93cf441d523749bb5301.tar.gz dotfiles-12ca0efdafab060bc71c93cf441d523749bb5301.tar.bz2 dotfiles-12ca0efdafab060bc71c93cf441d523749bb5301.zip |
~refit sxhkd for bspwm and polybar, with notify-send
Diffstat (limited to 'SXHkD/.config')
-rw-r--r-- | SXHkD/.config/sxhkd/sxhkdrc | 40 |
1 files changed, 26 insertions, 14 deletions
diff --git a/SXHkD/.config/sxhkd/sxhkdrc b/SXHkD/.config/sxhkd/sxhkdrc index daad941..978f2a1 100644 --- a/SXHkD/.config/sxhkd/sxhkdrc +++ b/SXHkD/.config/sxhkd/sxhkdrc @@ -3,29 +3,38 @@ super + {_, shift + } {h,j,k,l} bspc node -{f,s} {west, south, north, east} super + Escape - killall xinit + notify-send "Reloaded sxhkd"; \ + killall sxhkd; sxhkd super + {_,shift + } q - bspc node -{c,k} + bspc node -{c,k}; + +super + alt + {q,r} + bspc {quit,wm -r} super + c bspc node -s biggest super + shift + {t,f} + notify-send "Switched to {tiling,floating}"; \ bspc node -t {tiled,floating} super + f bspc node -t ~fullscreen -super + {_,shift + }{1,2,3} - bspc {desktop -f,node -d} {Development,Browser,Media} +super + {_,shift + }{1,2,3,4} + bspc {desktop -f,node -d} {Development,Browser,Media,4} + +hyper + {_,shift + }{1,2,3,4} + bspc {desktop -f,node -d} {Development,Browser,Media,4} -hyper + {_,shift + }{1,2,3} - bspc {desktop -f,node -d} {Development,Browser,Media} +super + {comma,period} + bspc node -z {left -20 0,right 20 0} # Launchers {super + Return, hyper + a} - alacritty + notify-send "Launching terminal"; \ + $TERMINAL super + a dmenu_run @@ -34,15 +43,18 @@ hyper + e $HOME/.emacs_anywhere/bin/run hyper + s + notify-send "Launching qutebrowser"; \ qutebrowser hyper + q + notify-send "Launching Emacs"; \ emacsclient -c -s MAIN -a=emacs hyper + l $HOME/.local/scripts/lock hyper + d + notify-send "Changing background"; \ $HOME/.local/scripts/background hyper + m @@ -51,22 +63,22 @@ hyper + m # Music and volume F{6,7,8} mpc -q {prev,toggle,next}; \ - pkill -RTMIN+11 dwmblocks + notify-send "MPD: Track $(mpc --format '%title%' | head -1)" XF86Audio{Prev,Next} mpc -q {prev,next}; \ - pkill -RTMIN+11 dwmblocks + notify-send "MPD: Track $(mpc --format '%title%' | head -1)" {_,hyper + }F{9,10} {pactl set-sink-volume 0,$HOME/.local/scripts/mpc_volume} {-,+}5%; \ - pkill -RTMIN+12 dwmblocks {_,hyper + }XF86Audio{Lower,Raise}Volume - {pactl set-sink-volume 0,$HOME/.local/scripts/mpc_volume} {-,+}5%; \ - pkill -RTMIN+12 dwmblocks + {pactl set-sink-volume 0,$HOME/.local/scripts/mpc_volume} {-,+}5%; XF86MonBrightness{Down,Up} - xbacklight {-,+}15 + xbacklight {-,+}15; \ + notify-send "Brightness: $(xbacklight)" F{3,4} - xbacklight {-,+}15 + xbacklight {-,+}15; \ + notify-send "Brightness: $(xbacklight)" |