conformal / spectrwm

A small dynamic tiling window manager for X11.
ISC License
1.34k stars 97 forks source link

Can't create keybindings without MOD #451

Closed yusufbedelci closed 3 years ago

yusufbedelci commented 3 years ago

I found out that when I write keybindings in the configuration file that don't start with MOD, the keys used in the keybinding stop working throughout the rest of the system. I am not sure whether this is done on purpose or not since all default keybindings remarkably start with MOD, either way I couldn't find it being mentioned in the man pages for spectrwm. The keys do work when I use them in the combination of the keybinding, aka the keybindings actually work, but the individual keys just become defective on the rest of the system.

I tried checking my space key using xev since I use the space key in a screenshot keybinding. Even though it recorded the key press it didn't recognize it as the space key, and when I commented out the keybinding in the config it did recognize the space key. (bind[screenshot_wind] = Print+space)

I installed spectrwm using pacman on Arch Linux, the current version of spectrwm installed on my system is 3.4.1-1

LordReg commented 3 years ago

It is not currently possible to bind a combination of multiple keysyms likePrint+space. You can bind Print and space separately, with or without modifiers. For example:

bind[screenshot_wind] = Print
bind[screenshot_wind] = Control+Shift+space