sway: added swayidle, swaylock
This commit is contained in:
		
							parent
							
								
									41855e25d3
								
							
						
					
					
						commit
						3af59b04ed
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		|  | @ -255,4 +255,11 @@ bar { | |||
| } | ||||
| exec xrdb $HOME/.Xresources | ||||
| exec mako | ||||
| exec swayidle -w \ | ||||
|          timeout 60 'swaylock -f -c 000000' \ | ||||
|          timeout 90 'swaymsg "output * dpms off"' \ | ||||
|               resume 'swaymsg "output * dpms on"' \ | ||||
|          before-sleep 'swaylock -f -c 000000' \ | ||||
|          lock 'swaylock -f -c 000000' | ||||
| bindsym --release $mod+Shift+s exec loginctl lock-session | ||||
| include /etc/sway/config.d/* | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue