-
Hi, The configuration page has a section on keybindings, but only for the mod key (the default mod key is fine). It then links to another page for Xresource settings, but none of these are keybindings. Also, is Xresources even used for wayland/sway? ' Further digging brings you to the section in the docs for configuring i3 settings but again, not a single example for keybidings. Certainly, changing the default keybinding of something like "close application" should be easy to do? Or does regolith really want you to stick with the defaults? Further reading on the i3 configuration section explains how to override partials of the i3 config locally, but the config files seem to reference This seems insane. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @Fingel ! Yes, the docs for this aspect of Regolith need some work.
There is an equivalent called trawl. The client is
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/share/regolith/sway/config.d/55_session_keybindings:set_from_resource $wm.binding.exit_app wm.binding.exit_app Shift+q
/usr/share/regolith/sway/config.d/55_session_keybindings:bindsym $mod+$wm.binding.exit_app [con_id="__focused__"] kill
/usr/share/regolith/sway/config.d/55_session_keybindings:set_from_resource $wm.program.logout wm.program.logout /usr/bin/gnome-session-quit --logout --no-prompt && swaymsg exit It's not obvious but the line here that we care about is:
So the keybinding defaults to
Then I refresh sway with |
Beta Was this translation helpful? Give feedback.
Hi @Fingel !
Yes, the docs for this aspect of Regolith need some work.
There is an equivalent called trawl. The client is
trawlcat
.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: