# Launchers
Print
  scrot -s;

super + Escape
  notify-send "Reloaded sxhkd"; \
  killall sxhkd; sxhkd

super + shift + Escape
  notify-send "Reloading xprofile"; \
  sh .xprofile;

super + Return
  notify-send "Launching terminal"; \
  $TERMINAL

super + shift + Return
  notify-send "Launching Dev Terminal"; \
  $TERMINAL -c 'Dev'

super + a
  dmenu_run

super + e
  $HOME/.emacs_anywhere/bin/run

super + s
  notify-send "Launching browser"; \
  xdg-open "https://search.aryadevchavali.com"

super + z
  notify-send "Launching zathura"; \
  zathura

super + w
  $HOME/.local/scripts/eselect;

super + ctrl + l
  $HOME/.local/scripts/lock

super + ctrl + d
  notify-send "Changing background"; \
  $HOME/.local/scripts/background;

super + m
  $HOME/.local/scripts/playlist_choice

super + p
  passmenu -f -i

super + F12
  systemctl suspend

# Music and volume
super + F{6,7,8}
  playerctl --player=spotify {previous,play-pause,next};

XF86Audio{Prev,Play,Next}
  playerctl --player=spotify {previous,play-pause,next};

{_,shift + }XF86Audio{Lower,Raise}Volume
  kill -43  $(pidof dwmblocks); \
  {pactl set-sink-volume 42,$HOME/.local/scripts/spotify_volume} {-,+}5%;

XF86AudioMute
  kill -43 $(pidof dwmblocks); \
  pactl set-sink-mute 42 toggle;

XF86MonBrightness{Down,Up}
  light -{U,A} 15; \
  notify-send "Brightness: $(xbacklight)";

super + F{3,4}
  light -{U,A} 10; \
  notify-send "Brightness: $(xbacklight)";

# BSPWM
# super + {_, shift + } {h,j,k,l}
#   bspc node -{f,s} {west, south, north, east}

# super + {_,shift + } q
#   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 window state"; \
#   bspc node -t {tiled,floating}

# super + f
#   bspc node -t ~fullscreen

# 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}

# super + {comma,period}
#   bspc node -z {left -20 0,right 20 0};