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 2014-02-03 05:48:29 +0000

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.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2014-02-03 07:32:16 +0000

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.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-02-03 05:48:29 +0000

Seen: 93 times

Last updated: Feb 03 '14