mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-23 17:04:19 +01:00
feat(nix): give the sweep's toggle-focus-follows-mouse its option
kfw declares the subcommand with arg_required_else_help, so without an argument it prints help and exits 2, although the option has a default. kfde accepts the same option, so the sweep passes it explicitly: --implementation windows, the default on both ports.
This commit is contained in:
1 parent
32b08d1b77
commit
93c786242b
1 file changed
+6
-2
@@ -24,6 +24,10 @@ LAYOUTS: tuple[str, ...] = (
|
||||
"scrolling",
|
||||
)
|
||||
|
||||
# A command with an option that has a default is given the option here when one port requires some
|
||||
# argument: kfw's `toggle-focus-follows-mouse` prints its help and exits 2 without one, and kfde's
|
||||
# accepts it.
|
||||
#
|
||||
# Every command the ports share that changes something, in an order that leaves the daemon with
|
||||
# windows to act on. `{config}` is the path of a configuration file for `replace-configuration`.
|
||||
SWEEP: tuple[str, ...] = (
|
||||
@@ -207,8 +211,8 @@ SWEEP: tuple[str, ...] = (
|
||||
"toggle-mouse-follows-focus",
|
||||
"focus-follows-mouse enable",
|
||||
"focus-follows-mouse disable",
|
||||
"toggle-focus-follows-mouse",
|
||||
"toggle-focus-follows-mouse",
|
||||
"toggle-focus-follows-mouse --implementation windows",
|
||||
"toggle-focus-follows-mouse --implementation windows",
|
||||
"transparency enable",
|
||||
"transparency-alpha 150",
|
||||
"toggle-transparency",
|
||||
|
||||
Reference in new issue
Block a user