keys 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # This is an example for icewm 1.8.3 hotkey definition file.
  2. # It will be installed as /usr/share/icewm/keys.
  3. # Place your variants in /etc/icewm or in $HOME/.icewm since
  4. # modifications to this file will be overwritten when you reinstall icewm.
  5. #
  6. # A list of all valid keyboard symbols can be found in
  7. # /usr/include/X11/keysym.h, keysymdefs.h, XF86keysym.h, ...
  8. # You'll have to omit XK_ prefixs and to replace XF86XK_ prefixes by
  9. # XF86. Valid modifiers are Alt, Ctrl, Shift, Meta, Super and Hyper.
  10. #
  11. key "Alt+Ctrl+t" kitty
  12. # key "Super+v" xdg-open about:blank
  13. # key "Super+F2" ponymix decrease 2
  14. # key "Super+F3" ponymix increase 1
  15. # key "Super+q" kill
  16. # key "Super+p" dmenu_run
  17. # "Multimedia key" bindings for Xorg. Gather the keycodes of your
  18. # advanced function keys by watching the output of the xev command whilest
  19. # pressing those keys and map those symbols by using xmodmap.
  20. # Note: some of them might have unwanted side effects through concurrency with
  21. # other listeners like systemd for the suspend key events
  22. #
  23. # key "XF86Standby" /bin/sh -c "{ test -e /run/systemd/system && systemctl suspend; } ||:"
  24. # key "XF86Sleep" /bin/sh -c "{ test -e /run/systemd/system && systemctl suspend; } ||:"
  25. key "XF86HomePage" xdg-open about:blank
  26. key "XF86Search" xdg-open https://www.duckduckgo.com
  27. key "XF86Eject" eject
  28. key "XF86AudioLowerVolume" pactl set-sink-volume @DEFAULT_SINK@ +10%
  29. key "XF86AudioRaiseVolume" pactl set-sink-volume @DEFAULT_SINK@ -10%
  30. key "XF86AudioMute" pactl set-sink-mute @DEFAULT_SINK@ toggle
  31. key "XF86Tools" cmus-notify.sh
  32. key "Mod1+F2" cmus-remote -v -2% || mpc volume -2
  33. key "Mod1+F3" cmus-remote -v +2% || mpc volume +2
  34. key "XF86AudioStop" cmus-remote -s || mpc stop
  35. key "XF86AudioPrev" cmus-remote -r || mpc prev
  36. key "XF86AudioPlay" cmus-remote -u || mpc toggle
  37. key "XF86AudioNext" cmus-remote -n || mpc next
  38. key "XF86MonBrightnessDown" xbacklight -dec 2
  39. key "XF86MonBrightnessUp" xbacklight -inc 1
  40. key "XF86Mail" emacsclient -a '' -c --eval '(mu4e)'
  41. switchkey "Super+p" icewm-menu-xrandr