chore: update sway config for background

This commit is contained in:
Andrea 2024-12-08 15:12:40 +01:00
parent 2dac270063
commit 37a7c68536
Signed by: nullndr
GPG Key ID: 8DA8996EF89F33BB

View File

@ -11,9 +11,11 @@ set $right l
set $screenrecorder `bash $HOME/.config/sway/scripts/toggle-screen-recorder.sh` set $screenrecorder `bash $HOME/.config/sway/scripts/toggle-screen-recorder.sh`
bindsym --to-code $mod+Shift+R exec $screenrecorder bindsym --to-code $mod+Shift+R exec $screenrecorder
# background
set $background "/usr/share/backgrounds/sway/arch.png"
# lock screen # lock screen
bindsym Mod4+l exec swaylock -l -f -e -F -i "/usr/share/backgrounds/sway/universe.jpg" -s stretch bindsym Mod4+l exec swaylock -l -f -e -F -i "$background" -s stretch
# nyxt browser # nyxt browser
bindsym $mod+Shift+b exec nyxt bindsym $mod+Shift+b exec nyxt
@ -47,7 +49,7 @@ client.urgent #434c5e #434c5e #eceff4 #434c5e #434c5e
### Output configuration ### Output configuration
# #
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
output * bg /usr/share/backgrounds/sway/universe.jpg stretch output * bg "$background" stretch
### Idle configuration ### Idle configuration
# #