Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only take backup once, so no keybinding changes remembered #1

Open
simon3270 opened this issue Jan 20, 2025 · 1 comment
Open

Only take backup once, so no keybinding changes remembered #1

simon3270 opened this issue Jan 20, 2025 · 1 comment

Comments

@simon3270
Copy link

Hi Popey, looks interesting, and I learned something new reading the code! One thought - you only take the backup once, and just re-use the file each time. Does this mean that if one of the Gnome keybindings is changed while your shields are down, the change will be reverted next time you lower shields and restore the original backup? Unless it takes a very long time to do the backup, it's probably better to create the file each raise, and delete on lower. Sorry, don't have a working gnome desktop to test on!

@popey
Copy link
Owner

popey commented Jan 20, 2025

Hi @simon3270 - you're right.

Perhaps it would be better to backup every time. I wasn't sure. I know from my uses, I don't change the GNOME keyboard shortcuts very often. One could just rm the backup of course. I'm not sure whether to backup every time overwriting, or backup and keep an older backup too, or just create a new one every time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants