From 42a74f8ad329f95fc511adc6232ac310560b02e6 Mon Sep 17 00:00:00 2001 From: Inhji Date: Mon, 16 Oct 2023 11:31:01 +0200 Subject: [PATCH] sway: add waypaper --- config/sway/config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/sway/config b/config/sway/config index 372c846..2e9df0c 100644 --- a/config/sway/config +++ b/config/sway/config @@ -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