#
# wm independent hotkeys
#

# reload sxhkd config
alt + Escape
        pkill -USR1 -x sxhkd

#
# dmenu interfaces
#

# program launcher
alt + d
        dmenu_run -h 24

# desktop application launcher
alt + r
        j4-dmenu-desktop --dmenu="dmenu -h 24 -l 15"

# dmenu prompt for recording
alt + control + r
        dmenurecord

# run dmenu interface for keepassxc
alt + p
        dmenu_keepass -H 24

# run dmenu interface for pass
alt + super + p
        passmenu

# run dmenu interface for mpv
alt + v
        dmpv

# run dmenu interface for ytfzf
alt + y
        ytfzf-launcher -D 'dmenu -h 24 -l 15'

# run dmenu interface to spawn browsers
alt + super + 1
        browser

# run dmenu interface for qutebrowser profile chooser
alt + super + q
        qbc
	#qbpm choose

# run dmenu interface for librewolf profile chooser
alt + super + w
        lwc

# run dmenu interface for librewolf profile chooser
alt + super + e
        fdc

# run dmenu interface to open book
alt + super + b
        dmenu_books

# run dmenu interface for mpris
alt + super + u
        mprisctl

# run dmenu interface for monattach
alt + super + m
        monattach right

# run dmenu interface for mondetach
alt + super + n
        mondetach

# run dmenu interface for mount
alt + super + comma
        dmenumount

# run dmenu interface for umount
alt + super + period
        dmenuumount

#run dmenu prompt for unicode chars
alt + super + u
        dmenuunicode

#
# utilities
#

# toggle x idle state
alt + c
        xidletog

# warp cursor to left or right monitor
alt + {Left,Right}
        mwarp.py {left,right}

# lock the screen
alt + q
	loginctl lock-session self

# restart dwmblocks
alt + super + 9
        toggle dwmblocks

# signal all dwmblocks modules
alt + super + 0
        sigdwmb all

# spawn file manager
alt + super + f
        $TERMINAL -e lfrun

# toggle touchpad
alt + super + t
        toggletouchpad

# notify-send firewall rules
alt + super + f
        notify-iptables

# mute volume
alt + super + m
        volsv -t

# mute microphone
alt + super + shift + m
        volsv -m

# load nsxiv for backgrounds
alt + super + x
        nsxiv ~/.local/src/wallpapers

# xkill
alt + x
	xkill

#
# xf86 keys
#

# manipulate audio stream
XF86Audio{Prev,Next,Play,Stop}
	mpc {prev,next,toggle,stop}

# turn the brightness up
XF86MonBrightnessUp
	xbacklight -inc 1
        # light -A 1

# turn the brightness down
XF86MonBrightnessDown
        xbacklight -dec 1
        # light -U 1

# raise the volume
XF86AudioRaiseVolume
	volsv -i

# lower the volume
XF86AudioLowerVolume
	volsv -d

# toggle mute
XF86AudioMute
	volsv -t

# mute mic
XF86AudioMicMute
	volsv -m