Skip to content

How to edit keybindings on regolith sway? #919

Answered by kgilmer
Fingel asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Fingel !

Yes, the docs for this aspect of Regolith need some work.

Also, is Xresources even used for wayland/sway?

There is an equivalent called trawl. The client is trawlcat.

Certainly, changing the default keybinding of something like "close application" should be easy to do?

It should be yes. Lets take your example for close application. This is what I'd do:

Since I'm not sure where in the configuration the keybinding for "close application" is, I'd first search for it in Sway's partial dir:

~/dev/repos/voulage$ find /usr/share/regolith/sway/config.d/ | xargs grep -HsFi exit
/usr/share/regolith/sway/config.d/55_session_keybindings:## Session // Exit App // <><Shift> q ##
/usr/…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Fingel
Comment options

@worldofgeese
Comment options

@kgilmer
Comment options

@worldofgeese
Comment options

Answer selected by Fingel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants