Problem with editors that create backups

I had two parallel bars after I edited theme, because micro editor is set to create a backup (theme~). This line is to “vague”:

 # user config directory
include $HOME/.config/sway/config.d/*

needs to be *.conf or similar and all files renaming.


Alternatively, each file could be specified completely:

# user config directory
include $HOME/.config/sway/config.d/application_defaults
include $HOME/.config/sway/config.d/autostart_applications
1 Like

That would work.

BTW, I went with $HOME/.config/sway/config.d/*.conf
and added the .conf suffix to all the files in ~/.config/sway/config.d and that works just fine.