diff --git a/sway/config b/sway/config.in similarity index 97% rename from sway/config rename to sway/config.in index a769dc8..94050ba 100644 --- a/sway/config +++ b/sway/config.in @@ -22,8 +22,8 @@ set $menu dmenu_path | dmenu | xargs swaymsg exec -- ### Output configuration # -# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) -output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill +# Default wallpaper (more resolutions are available in @datadir@/backgrounds/sway/) +output * bg @datadir@/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill # # Example configuration: # @@ -214,4 +214,4 @@ bar { } } -include /etc/sway/config.d/* +include @sysconfdir@/sway/config.d/*