#enable wob
set $WOBSOCK $XDG_RUNTIME_DIR/wob.sock
exec_always 'killall wob; rm -f $WOBSOCK && mkfifo $WOBSOCK && tail -f $WOBSOCK | wob'

bindsym {
# Volume Keys
#vol up
  XF86AudioRaiseVolume exec "$HOME/.config/sway/scripts/volume.sh up"
#vol down
  XF86AudioLowerVolume exec "$HOME/.config/sway/scripts/volume.sh down"
#vol mute
  XF86AudioMute exec "$HOME/.config/sway/scripts/volume.sh mute"

# Media Keys
#previous
  XF86AudioPrev exec playerctl previous
  $mod+F1 exec playerctl previous
#skip
  XF86AudioNext exec playerctl next
  $mod+F3 exec playerctl next
#play/pause
  XF86AudioPlay exec playerctl play-pause
  $mod+F2 exec playerctl play-pause

# Brightness
#brightness up
  XF86MonBrightnessUp exec "$HOME/.config/sway/scripts/brightness.sh up"
#brightness down
  XF86MonBrightnessDown exec "$HOME/.config/sway/scripts/brightness.sh down"

# Keyboard Brightness
#brightness up
  $mod+XF86AudioRaiseVolume exec "$HOME/.config/sway/scripts/kb_brightness up"
#brightness down
  $mod+XF86AudioLowerVolume exec "$HOME/.config/sway/scripts/kb_brightness down"
}  
