#
# wm independent hotkeys
#

# show help on key bindings
super + F1
  urxvt -name Float -e $HOME/.config/frankenwm/show_keys

# program launcher rofi
alt + d
  sh -c "$HOME/.bin/rofi.sh"

# toggle tint buuton
alt + space
  sh -c "$HOME/.bin/toggle-tint.sh"

# terminal emulator slop
alt + Return
  sh -c "$HOME/.bin/draw"

# terminal emulator findapp
alt + t
  sh -c "$HOME/.bin/findapp urxvt"

# firefox
alt + w
  sh -c "$HOME/.bin/findapp firefox"

# sublime text3
alt + e
  sh -c "$HOME/.bin/findapp subl3"

# thunar
alt + f
  sh -c "$HOME/.bin/findapp thunar"

# telegram
alt + m
  sh -c "$HOME/.bin/findapp telegram-desktop"

# ranger
alt + r
  urxvt -name Ranger -e ranger

# alt + c
#   rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}'

# polybar toggle
alt + p
  sh -c "polybar-msg cmd toggle"

# multilock.sh
alt + l
  sh -c "$HOME/.bin/multilock.sh -l blur"

# power menu rofi
super + alt + Delete
  sh -c "$HOME/.config/frankenwm/polybar/power"

# flameshot full save ~/Pictures
Print
  flameshot full -c -p "$(xdg-user-dir PICTURES)"

# flameshot gui
super + Print
  flameshot gui

# flameshot delay 5s save PICTURES
super + alt + Print
  flameshot full -c -d 5000 -p "$(xdg-user-dir PICTURES)"

# mpc current
super + alt + m
  notify-send "Now Playing ♫" "$(mpc current)"

# sxhkd reload:
super + Escape
  pkill -USR1 -x sxhkd

# audio control
XF86AudioLowerVolume
  amixer set Master 5%-
XF86AudioRaiseVolume
  amixer set Master 5%+
XF86AudioMute
  amixer set Master toggle

# Brightness control
XF86MonBrightnessDown
  xbacklight -dec 5
XF86MonBrightnessUp
  xbacklight -inc 5
