diff options
author | Sn4il <sn4il@thedroth.rocks> | 2024-04-02 21:47:05 +0300 |
---|---|---|
committer | Sn4il <sn4il@thedroth.rocks> | 2024-04-02 21:47:05 +0300 |
commit | 5130725ef2e83c7fd27709d8addd4b28d2322743 (patch) | |
tree | 6ef21b7aa6a0c29e108bc1fbeaee7d68802b21d8 /icewm/keys | |
parent | d319d894da2be96eaca81aeca62c4f53bb528c56 (diff) | |
download | dotfiles-5130725ef2e83c7fd27709d8addd4b28d2322743.tar.gz dotfiles-5130725ef2e83c7fd27709d8addd4b28d2322743.zip |
Add icewm config
Diffstat (limited to 'icewm/keys')
-rw-r--r-- | icewm/keys | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/icewm/keys b/icewm/keys new file mode 100644 index 0000000..73b0949 --- /dev/null +++ b/icewm/keys @@ -0,0 +1,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 + |