Make /var/run a ram mount.
This commit is contained in:
		
							parent
							
								
									d6c2e72009
								
							
						
					
					
						commit
						64ed4c42b9
					
				| @ -94,6 +94,10 @@ | ||||
|       src: tmpfs | ||||
|       fstype: tmpfs | ||||
|       opts: rw,mode=777 | ||||
|     - dst: /var/run | ||||
|       src: tmpfs | ||||
|       fstype: tmpfs | ||||
|       opts: rw,mode=755 | ||||
| 
 | ||||
| - name: Add fstab entries | ||||
|   when: efi_dev is defined | ||||
|  | ||||
| @ -1,6 +1,8 @@ | ||||
| set $lock swaylock -c 000000 | ||||
| 
 | ||||
| # Hotkey to lock the screen | ||||
| bindsym $mod+l exec pkill -USR1 swayidle | ||||
| bindsym $mod+l exec $lock | ||||
| 
 | ||||
| exec swayidle \ | ||||
|    timeout 300 'swaylock -c 000000' \ | ||||
|    before-sleep 'swaylock -c 000000' | ||||
|    timeout 300 '$lock' \ | ||||
|    before-sleep '$lock' | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Tom Alexander
						Tom Alexander