nixpkgs/pkgs/applications/window-managers/sway
Michael Weiss 1a047c4a8e
sway: Make it possible to use exec in extraSessionCommands
This is useful for use-cases like this (logging to journald):
```
programs.sway.extraSessionCommands = ''
  if [ -z "$_SWAY_DID_SYSTEMD_CAT" ]; then
    export _SWAY_DID_SYSTEMD_CAT=1
    exec ${config.systemd.package}/bin/systemd-cat -t sway "$0" "$@"
  fi
  # ... (potentially also another exec)
'';
```

Without this change the rest of the extraSessionCommands won't be
executed after the exec since the whole extraSessionCommands block would
be skipped during the re-execution (_SWAY_WRAPPER_ALREADY_EXECUTED is
already set).
2020-04-22 17:09:20 +02:00
..
bg.nix treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
default.nix treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
idle.nix swayidle: 1.5 -> 1.6 2020-01-22 21:38:01 +01:00
load-configuration-from-etc.patch sway: Read the configuration from /etc before /nix/store (#60319) 2019-04-27 22:38:18 +02:00
lock-effects.nix swaylock-effects: init at v1.6-0 2020-04-03 13:02:28 +02:00
lock-fancy.nix swaylock-fancy: 2019-03-31 -> 2020-02-22 2020-02-25 19:56:25 +01:00
lock.nix swaylock: 1.4 -> 1.5 2020-01-22 21:38:01 +01:00
sway-config-no-nix-store-references.patch nixos/sway: Improve the module and adapt it to NixOS 2019-03-13 11:37:11 +01:00
wrapper.nix sway: Make it possible to use exec in extraSessionCommands 2020-04-22 17:09:20 +02:00