aboutsummaryrefslogtreecommitdiff
path: root/icewm/keys
blob: 73b09492d17e2b6987e0f784fd1c9afd661038fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# This is an example for icewm 3.3.0 hotkey definition file.
# It will be installed as /usr/share/icewm/keys.
# Place your variants in /etc/icewm or in $HOME/.icewm since
# modifications to this file will be overwritten when you reinstall icewm.
#
# A list of all valid keyboard symbols can be found in
# /usr/include/X11/keysym.h, keysymdefs.h, XF86keysym.h, ...
# You'll have to omit XK_ prefixs and to replace XF86XK_ prefixes by
# XF86. Valid modifiers are Alt, Ctrl, Shift, Meta, Super and Hyper.
#
key "Super+t"            kitty
key "Super+r"            rofi -modi drun,run -show drun
key "Super+g"            kitty amfora
key "Super+n"		 dunstctl close-all
key "Super+m"            audacious
key "Super+f"            thunar
key "Super+KP_Subtract"     pamixer -d 5
key "Super+KP_Add"          pamixer -i 5

# "Multimedia key" bindings for Xorg. Gather the keycodes of your
# advanced function keys by watching the output of the xev command whilest
# pressing those keys and map those symbols by using xmodmap.

# Note: some of them might have unwanted side effects through concurrency with
# other listeners like systemd for the suspend key events
#
# key "XF86Standby"         loginctl suspend
# key "XF86Sleep"           loginctl suspend
key "XF86AudioLowerVolume"  pamixer -d 5
key "XF86AudioRaiseVolume"  pamixer -i 5
key "XF86AudioMute"         pamixer -t
key "XF86HomePage"          xdg-open about:blank
key "XF86Search"            xdg-open https://www.google.com
key "XF86Eject"             eject
key "XF86Calculator"        /bin/sh -c "gnome-calculator || xcalc || ( type bc >/dev/null 2>&1 && xterm -e bc -l)"

switchkey "Super+p"         icewm-menu-xrandr