sway: fix suspend scripts
This commit is contained in:
		
							parent
							
								
									a0531650c6
								
							
						
					
					
						commit
						d451db8d83
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -14,7 +14,8 @@ let
 | 
				
			||||||
    systemctl --user start swayidle.service
 | 
					    systemctl --user start swayidle.service
 | 
				
			||||||
  '';
 | 
					  '';
 | 
				
			||||||
  _suspend = pkgs.writeShellScriptBin "_suspend" ''
 | 
					  _suspend = pkgs.writeShellScriptBin "_suspend" ''
 | 
				
			||||||
    ${_lock}/bin/_lock
 | 
					    ${pkgs.sway}/bin/swaymsg mode default
 | 
				
			||||||
 | 
					    systemctl --user start swayidle.service
 | 
				
			||||||
    systemctl suspend
 | 
					    systemctl suspend
 | 
				
			||||||
  '';
 | 
					  '';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue