waycrate / swhkd

Sxhkd clone for Wayland (works on TTY and X11 too)
https://git.sr.ht/~shinyzenith/swhkd
BSD 2-Clause "Simplified" License
667 stars 47 forks source link

[fix] don't overwrite configuration file #256

Closed TheLastZombie closed 3 months ago

TheLastZombie commented 3 months ago

Currently, if an swhkdrc file exists at the time of installation, make install will overwrite it. This also happens when updating the swhkd-git package on Arch, for example.

It would be preferable to only create the blank file if a configuration does not exist already.

Shinyzenith commented 3 months ago

Hi, ideally this should be handled on the side of the packagers but I am willing to merge this after reviewing.