about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorMichael Weiss <dev.primeos@gmail.com>2020-04-23 22:34:33 +0200
committerGitHub <noreply@github.com>2020-04-23 22:34:33 +0200
commit71c672133add546318f1e3cd7a7872980e9636db (patch)
treeb15566232a087fa2d9a456f05bc72f3f7ae5fc55 /pkgs/applications
parent5b49b4347da61faa8f02109181e4a164587fa577 (diff)
parent1a047c4a8eb6e6a1903dfe8453d8df585e22ac9a (diff)
Merge pull request #85783 from primeos/sway-wrapper-exec-support
sway: Make it possible to use exec in extraSessionCommands
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/window-managers/sway/wrapper.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/window-managers/sway/wrapper.nix b/pkgs/applications/window-managers/sway/wrapper.nix
index 7c59b8b7cde4d..3e12e3fcc55f7 100644
--- a/pkgs/applications/window-managers/sway/wrapper.nix
+++ b/pkgs/applications/window-managers/sway/wrapper.nix
@@ -14,8 +14,8 @@ let
   baseWrapper = writeShellScriptBin "sway" ''
      set -o errexit
      if [ ! "$_SWAY_WRAPPER_ALREADY_EXECUTED" ]; then
-       export _SWAY_WRAPPER_ALREADY_EXECUTED=1
        ${extraSessionCommands}
+       export _SWAY_WRAPPER_ALREADY_EXECUTED=1
      fi
      if [ "$DBUS_SESSION_BUS_ADDRESS" ]; then
        export DBUS_SESSION_BUS_ADDRESS