dreamcat4 / skippy-xd

A full-screen Exposé-style standalone task switcher for X11.
GNU General Public License v2.0
99 stars 12 forks source link

add: can now keep local custom user rc file ./skippy-xd.rc in-repo #37

Closed dreamcat4 closed 1 year ago

dreamcat4 commented 1 year ago

This changes should not conflict with any other recent ongoing / pending work. It merely adds capability to

add: can now keep local custom user rc file ./skippy-xd.rc in-repo (this custom user file is .gitignored)

if found / detected (optional file exists) --> then make install will give priority and install it into /etc/xdg/ if not found (default) --> then make install will just copy the default sample rc instead (as always)

example usage:

$ make
$ cp ./skippy-xd.sample.rc ./skippy-xd.rc

# edit your skippy-xd.rc file in-repo, it will be ignored by git

$ sudo make install
your custom skippy config file will be installed to: /etc/xdg/skippy-xd.rc
install -m 644 skippy-xd.rc "/etc/xdg/skippy-xd.rc"
skippy's sample config file will be installed to: /etc/xdg/skippy-xd.sample.rc
install -m 644 skippy-xd.sample.rc "/etc/xdg/skippy-xd.sample.rc"

Possible missing functionality / limitation:

dreamcat4 commented 1 year ago

hi, @felixfung please pull back to your local repo my changes, to keep in sync with master. for easier rebase / merge. It's just minor thing here, should not affect any of your own work.