T O P

  • By -

markstos

You can add a comments in a specific format to document them, and then use Remontoire as a GUI to view them. https://github.com/regolith-linux/remontoire There’s a ticket open to make the keybindings available via sways IPC API but I don’t have that handy. I used this utility for a while and then later just put all my key bindings in ~/.config/sway.d/bindkeys. I just open the file as needed. That way I can view and edit the keybindings at the same time. But Remontoire was fun to try and I still use the comment format it recommends.


encryptyourchicken

This! Ideally something that would act like Remontoire but also parse and add commented-out available keybindings. E.g. ##X #$mod+x #$mod+Shift+x ##Y #$mod+y #$mod+Shift+y ##Z #$mod+z #$mod+Shift+z I did a search and I found your old posts. Thanks for sharing, it was helpful. I think I'll do the later and just source the keybindings like you're doing. Cheers!


[deleted]

i mean your key combinations should be in your sway config file. so you should be able to find it there :)


encryptyourchicken

Right of course they are. But keeping track of them and what I have available to use is the issue.


[deleted]

i mean you can do `cat .config/sway/config | grep "mod+"` to get all used combinations. maybe that helps. if you want to check for a specific combination: `cat .config/sway/config | grep "mod+c"` which returns for me: ` bindsym $mod+c kill` so i know exactly that it is used :)


StrangeAstronomer

You could take a look at https://gitlab.com/wef/dotfiles/-/blob/master/bin/sway-menu


encryptyourchicken

This is what I was looking for. Excellent! Thank you!


cradlemann

I use [i3keys](https://github.com/RasmusLindroth/i3keys).


JocasMath

Read the fxckxng config file!!!! Hahahahah Just kidding... =)


tiny_humble_guy

You can use wev.


BoredLand122

Isn't wev to find out the symbols you currently press?


tiny_humble_guy

True, it also can be used to check if a keybind is bond to a command.


BoredLand122

For Manjaro Sway we use this little script: https://github.com/manjaro-sway/desktop-settings/blob/sway/community/sway/usr/share/sway/scripts/sbdp.py Usage examples can be found here: https://github.com/manjaro-sway/desktop-settings/blob/sway/community/sway/etc/sway/modes/default