baskerville / sxhkd

Simple X hotkey daemon
BSD 2-Clause "Simplified" License
2.78k stars 139 forks source link

Modifier only shortcuts #122

Open p4block opened 6 years ago

p4block commented 6 years ago

I tried doing the usual "Press super key to invoke launcher" shortcut that is present in most DEs but it seems there is no way to do it on sxhkd.

@super rofi -show drun

Doesn't work as expected.

I know this caused a lot of talk back in the day (at least on KDE) due to... misuse of key functionality.

Is there any way to hack this?

Chrysostomus commented 6 years ago

Yes, xcape. In autostart I have

 xcape -e 'Super_L=Super_L|Shift_L|space' &

And in sxhkdrc

 super + shift + space
     rofi -show
obvionaoe commented 1 year ago

Any luck with this? I saw on the ArchWiki how to achieve this but I'm not able to get it working :disappointed:

I'm running KDE Plasma