Make /var/run a ram mount.

This commit is contained in:
Tom Alexander 2022-11-29 02:33:11 -05:00
parent d6c2e72009
commit 64ed4c42b9
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 9 additions and 3 deletions

View File

@ -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

View File

@ -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'