The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

i3 config file after upgrade

asked Feb 3 '14

adder gravatar image

After the latest i3 upgrade on Debian testing, I ended up with 4.7.2. Examining my existing i3/config file in my home folder with the new /etc/i3/config file, I noticed that there are a few extra lines concerning the scratchpad. I copied them over (changing Mod1 to $mod) to my ~/.i3/config and everything works fine. I would like to ask however if there is a safe procedure for having the ~/.i3/config file in sync after upgrades.

1 answer

Sort by » oldest newest most voted
2

answered Feb 3 '14

joepd gravatar image

No, there is not. The only thing you can track (depending on your package manager) is if the file /etc/i3/config file has changed.

In archlinux I exploit pacman in the following way: I changed /etc/i3/config with an extra space, so my package manager will write /etc/i3/config.pacnew instead of overwriting the changed file, and warns me about it.

A periodical locate pacnew will inform me of overdue system maintenance tasks, including possibly new niceties in the i3 config file.

I am pretty sure apt has similar possibilities to deal with changed config files.

Question Tools

Stats

Asked: Feb 3 '14

Seen: 93 times

Last updated: Feb 03 '14