sxhkdrc 951 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # Reload functions
  2. alt + Escape
  3. "$XDG_CONFIG_HOME"/sxhkd/functions
  4. alt + shift + p
  5. passmenu --type -i
  6. Print
  7. ~/.scripts/screenshot.sh
  8. alt + shift + e
  9. ~/.scripts/exit_menu.sh
  10. alt + shift + x
  11. ~/.scripts/img-chon.sh query-dmenu
  12. # Launch programs
  13. alt + shift + s
  14. setxkbmap se
  15. alt + shift + u
  16. setxkbmap us
  17. alt + shift + f
  18. $BROWSER
  19. # Media controls
  20. XF86AudioRaiseVolume
  21. pulseaudio-ctl up 4; pkill --signal=USR1 dwm_status.sh
  22. XF86AudioLowerVolume
  23. pulseaudio-ctl down 4; pkill --signal=USR1 dwm_status.sh
  24. XF86AudioMute
  25. pulseaudio-ctl mute; pkill --signal=USR1 dwm_status.sh
  26. XF86AudioPlay
  27. playerctl play-pause || mpc toggle
  28. XF86AudioNext
  29. playerctl next || mpc next; pkill --signal=USR1 dwm_status.sh
  30. XF86AudioPrev
  31. playerctl previous || mpc prev; pkill --signal=USR1 dwm_status.sh
  32. alt + z
  33. mpc toggle; pkill --signal=USR1 dwm_status.sh
  34. alt + x
  35. mpc next; pkill --signal=USR1 dwm_status.sh