sway: add waypaper

This commit is contained in:
Inhji 2023-10-16 11:31:01 +02:00
parent 1169762ad0
commit 42a74f8ad3
1 changed files with 3 additions and 1 deletions

View File

@ -30,7 +30,8 @@ set $menu wofi --show drun -p Search -n -i -I -W 66% -s $HOME/.config/wofi.css
# Default wallpaper (more resolutions are available in @datadir@/backgrounds/sway/)
#output * bg "#000000" fill
#exec swaybg -c "#282828"
exec swaybg -i "/usr/share/backgrounds/reform-mountains.jpg"
#exec swaybg -i "/usr/share/backgrounds/reform-mountains.jpg"
exec waypaper --restore
#
# Example configuration:
@ -272,6 +273,7 @@ for_window [app_id="pavucontrol"] floating enable
for_window [app_id="gnome-control-center"] floating enable
for_window [app_id="blueman-manager"] floating enable
for_window [instance="Msgcompose"] floating enable
for_window [app_id="waypaper"] floating enable
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP=sway