1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-12 20:11:06 +01:00
home-manager/tests/modules/services/window-managers/sway
Eldolfin d23d20f55d
sway: add bindswitches option (#7095)
Adds the bindswitches option to the sway module.

Bindswitches allows you to run a sway command when a state changes (when a certain event occurs).
See https://github.com/swaywm/sway/wiki#clamshell-mode and sway(5) for more information

It was already possible to configure this through sway.extraConfig but I find this approach dirty as described by the Nix RFC 42, and there is currently no settings as it describes.
2025-05-25 21:46:49 -05:00
..
default.nix sway: add bindswitches option (#7095) 2025-05-25 21:46:49 -05:00
sway-bar-focused-colors.conf tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
sway-bar-focused-colors.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
sway-bindkeys-to-code-and-extra-config.conf tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
sway-bindkeys-to-code-and-extra-config.nix tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
sway-bindswitches.conf sway: add bindswitches option (#7095) 2025-05-25 21:46:49 -05:00
sway-bindswitches.nix sway: add bindswitches option (#7095) 2025-05-25 21:46:49 -05:00
sway-check-config.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
sway-default.conf tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
sway-default.nix tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
sway-default.target sway: add support for XDG autostart using systemd (#3747) 2023-06-10 12:10:40 +02:00
sway-followmouse-expected.conf tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
sway-followmouse-legacy-expected.conf tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
sway-followmouse-legacy.nix tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
sway-followmouse.nix tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
sway-modules.conf tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
sway-modules.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
sway-no-xwayland.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
sway-null-config.nix tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
sway-null-package.conf tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
sway-null-package.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
sway-post-2003.conf tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
sway-post-2003.nix tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
sway-systemd-autostart.nix tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
sway-systemd-autostart.target sway: add support for XDG autostart using systemd (#3747) 2023-06-10 12:10:40 +02:00
sway-systemd-variables.conf tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
sway-systemd-variables.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
sway-workspace-default-expected.conf tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
sway-workspace-default.nix tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
sway-workspace-output-expected.conf tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
sway-workspace-output.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
swaynag-empty-settings.nix tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
swaynag-example-settings-expected.conf swaynag: add module 2021-11-21 18:37:50 +01:00
swaynag-example-settings.nix tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00