add settings for sway

This commit is contained in:
nnduc
2025-07-21 15:43:56 +07:00
parent dd33bc658f
commit 74a529e5bd
8 changed files with 177 additions and 147 deletions

View File

@@ -25,10 +25,9 @@ exec --no-startup-id dex --autostart --environment i3
# The combination of xss-lock, nm-applet and pactl is a popular choice, so
# they are included here as an example. Modify as you see fit.
exec --no-startup-id /usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh
#exec --no-startup-id /usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
# screen before suspend. Use loginctl lock-session to lock your screen.
exec --no-startup-id xss-lock --transfer-sleep-lock --i3lock --nofork --ignore-empty-password -i $wallpaper
exec --no-startup-id xrand --output HDMI-0 --mode 1920x1080 --rate 120
bindsym $mod+l exec i3lock --ignore-empty-password -i $wallpaper