3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications
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
..
accessibility contrast: 0.0.2 -> 0.0.3 2020-04-19 13:09:15 -04:00
audio openmpt123: 0.4.11 -> 0.4.12 2020-04-21 19:47:06 +02:00
backup
blockchains go-ethereum: 1.9.12 -> 1.9.13 2020-04-17 08:14:02 +08:00
display-managers Merge pull request #84255 from prikhi/lightdm-mini-greeter-040 2020-04-14 08:38:23 -04:00
editors android-studio: add ps to closure 2020-04-21 22:48:47 +02:00
gis
graphics xournalpp: 1.0.17 -> 1.0.18 2020-04-21 19:45:02 +02:00
kde Add myself (turion) to the maintainers list for several packages 2020-04-19 13:14:31 +02:00
misc pwsafe 1.09.0 -> 3.52.0 2020-04-21 21:10:27 +02:00
networking mblaze: install msuck and mblow 2020-04-22 12:52:47 +00:00
office trilium: 0.40.5 -> 0.40.7 2020-04-21 19:44:40 +02:00
qubes/qubes-core-vchan-xen
radio treewide: use blas and lapack 2020-04-17 16:24:09 -05:00
science Merge pull request #85636 from matthewbauer/blas-lapack-fix-fallout-from-83888 2020-04-21 19:59:16 +02:00
search
system monitor: add note how to use indicator. 2020-04-16 01:11:27 -04:00
version-management thicket: specify the build type and pin to crystal 0.33 2020-04-22 17:30:23 +08:00
video Merge pull request #72420 from minijackson/waylandpp-0.2.7 2020-04-22 13:12:06 +02:00
virtualization Merge pull request #85526 from zowoq/misc 2020-04-19 19:26:41 -05:00
window-managers sway: Make it possible to use exec in extraSessionCommands 2020-04-22 17:09:20 +02:00