From 5130725ef2e83c7fd27709d8addd4b28d2322743 Mon Sep 17 00:00:00 2001 From: Sn4il Date: Tue, 2 Apr 2024 21:47:05 +0300 Subject: Add icewm config --- icewm/keys | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 icewm/keys (limited to 'icewm/keys') 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 + -- cgit v1.2.3