Merge pull request #51065 from bbigras/sway
nixos/sway-beta: pass arguments from wrapper to sway
This commit is contained in:
		
						commit
						5b56b28a5a
					
				@ -8,7 +8,7 @@ let
 | 
			
		||||
 | 
			
		||||
  swayWrapped = pkgs.writeShellScriptBin "sway" ''
 | 
			
		||||
    ${cfg.extraSessionCommands}
 | 
			
		||||
    exec ${pkgs.dbus.dbus-launch} --exit-with-session ${swayPackage}/bin/sway
 | 
			
		||||
    exec ${pkgs.dbus.dbus-launch} --exit-with-session ${swayPackage}/bin/sway "$@"
 | 
			
		||||
  '';
 | 
			
		||||
  swayJoined = pkgs.symlinkJoin {
 | 
			
		||||
    name = "sway-joined";
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user