1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-24 02:39:48 +01:00
home-manager/modules
Emily 4c0357ff87
sway: fix workspace 10 missing from default config (#4636)
workspace 10 is part of upstream's default config, but was missing in home-manager.

The initial "sway: add module" PR (02d6040003) went through multiple iterations and had workspace 10 included for a brief moment.
Until the author removed it in a force-push commenting

> Have removed the last change which added bound ${modifer}+0 to workspace number 10 as this messed up workspace numbering in sway.

The reason might have been, that sway used to sort the workspaces in the order they appeared in the config.

Attribute sets in nix are sorted, but not "naturally sorted", meaning `bindsym Mod1+0 workspace number 10` comes before `bindsym Mod1+0 workspace number 1`.

It's unclear if that's what really happened. A workaround would have been to use `lib.lists.naturalSort` in `keybindingsStr`.

But I cannot reproduce this anymore in any way.
I assume this has been fixed many years ago by now.

upstream config: 020a572ed6/config.in (L113-L134)
2024-02-10 19:59:52 +01:00
..
accounts accounts.email: fix runbox.com TLS setup (#4408) 2023-09-04 22:29:18 +02:00
config home-cursor: fix typo in XDG data directory link 2023-11-07 09:21:58 +01:00
i18n/input-method qt: use sessionVariablesExtra to export QT_PLUGIN_PATH/QML2_IMPORT_PATH 2023-10-19 21:41:18 +01:00
launchd treewide: deprecate DRY_RUN_CMD and DRY_RUN_NULL 2024-01-24 13:36:05 +01:00
lib jetbrains-remote: add module 2024-02-06 00:29:23 +01:00
lib-bash treewide: deprecate VERBOSE_ECHO 2024-01-24 13:36:05 +01:00
misc jetbrains-remote: add module 2024-02-06 00:29:23 +01:00
po Translate using Weblate (Ukrainian) 2023-12-31 15:09:47 +01:00
programs zellij: use full executable path 2024-02-09 09:26:22 +01:00
services sway: fix workspace 10 missing from default config (#4636) 2024-02-10 19:59:52 +01:00
targets treewide: deprecate VERBOSE_ECHO 2024-01-24 13:36:05 +01:00
default.nix home-manager: add extendModules attribute 2024-01-25 23:24:36 +01:00
files.nix treewide: deprecate VERBOSE_ECHO 2024-01-24 13:36:05 +01:00
home-environment.nix treewide: deprecate VERBOSE_ECHO 2024-01-24 13:36:05 +01:00
manual.nix docs: add style sheets and scrubDerivations 2024-02-01 01:10:58 +01:00
modules.nix jetbrains-remote: add module 2024-02-06 00:29:23 +01:00
systemd-activate.rb Revert "systemd: use sd-switch" 2020-08-04 19:38:14 +02:00
systemd-activate.sh home-manager: remove the export of run 2024-01-28 10:53:09 +01:00
systemd.nix systemd: avoid creating an empty user.conf 2023-11-11 00:51:53 +01:00
xresources.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xsession.nix xsession: allow xplugd to restart on failure 2024-01-16 08:07:00 +01:00