diff options
| author | David T. Sadler <davidtsadler@googlemail.com> | 2026-01-24 17:31:00 +0000 |
|---|---|---|
| committer | David T. Sadler <davidtsadler@googlemail.com> | 2026-01-24 17:31:00 +0000 |
| commit | e92b50a7109bb81b4a4ba181cddb70210dbf076a (patch) | |
| tree | 71fb4d5f15ecb64ca0a25af7c8a6682afc118012 | |
| parent | 2697d68f6ff3fbf1c1e4ae9fc3e806ed9639881b (diff) | |
Map AltGr to the Windows key
| -rw-r--r-- | oxwm/.config/oxwm/config.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/oxwm/.config/oxwm/config.lua b/oxwm/.config/oxwm/config.lua index dca2b0b..769211e 100644 --- a/oxwm/.config/oxwm/config.lua +++ b/oxwm/.config/oxwm/config.lua @@ -281,7 +281,7 @@ oxwm.key.bind({ modkey, "Control", "Shift" }, "9", oxwm.tag.toggletag(8)) ------------------------------------------------------------------------------- -- Keychords allow you to bind multiple-key sequences (like Emacs or Vim) -- Format: {{modifiers}, key1}, {{modifiers}, key2}, ... --- Example: Press Mod4+Space, then release and press T to spawn a terminal without auto starting zellij +-- Example: Press Mod4+Space, then release and press T to spawn a terminal without auto starting anything. oxwm.key.chord({ { { modkey }, "Space" }, { {}, "T" } @@ -293,6 +293,8 @@ oxwm.key.chord({ -- Commands to run once when OXWM starts -- Uncomment and modify these examples, or add your own +-- Keycode 108 was found using the exv command and pressing the AltGr key in the popup window. +oxwm.autostart("xmodmap -e 'keycode 108 = Super_R' -e 'add mod4 = Super_R'") -- oxwm.autostart("picom") -- oxwm.autostart("feh --bg-scale ~/wallpaper.jpg") -- oxwm.autostart("dunst") |
