mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-24 09:06:31 -04:00
♻️ refactor: split switch_layout into next_layout and previous_layout functions
- Add next_layout() to cycle forward through layouts - Add previous_layout() to cycle backward through layouts - Keep switch_layout() as backward-compatible alias to next_layout() - Update config.conf with example keybinds for both new functions
This commit is contained in:
parent
ad754167b7
commit
caa8b05f38
4 changed files with 41 additions and 10 deletions
|
|
@ -26,6 +26,8 @@ int32_t spawn_on_empty(const Arg *arg);
|
|||
int32_t setkeymode(const Arg *arg);
|
||||
int32_t switch_keyboard_layout(const Arg *arg);
|
||||
int32_t setlayout(const Arg *arg);
|
||||
int32_t next_layout(const Arg *arg);
|
||||
int32_t previous_layout(const Arg *arg);
|
||||
int32_t switch_layout(const Arg *arg);
|
||||
int32_t setmfact(const Arg *arg);
|
||||
int32_t quit(const Arg *arg);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue