Remove deprecated transparent screensaver and update RNG command

This commit is contained in:
Ohad Livne 2025-06-04 22:45:38 +03:00
parent 8f514954fa
commit 270cc2f786
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D

View file

@ -99,9 +99,7 @@ input type:touchpad {
# Black
bindsym $wm_mod+l exec swaylock -f -c 000000
# Random color
bindsym $wm_mod+Shift+l exec swaylock -f -c $(printf "%02x%02x%02x" $((RANDOM%256)) $((RANDOM%256)) $((RANDOM%256)))
# Transparent
bindsym $wm_mod+semicolon exec swaylock -f -c 00000000
bindsym $wm_mod+semicolon exec swaylock -f -c $(dd if=/dev/urandom bs=1 count=3 2>/dev/null | hexdump -e '"%02x"')
# Exit sway (logs you out of your Wayland session)
bindsym $wm_mod+Delete exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'