chore: add Makefile
This commit is contained in:
11
Makefile
Normal file
11
Makefile
Normal file
@@ -0,0 +1,11 @@
|
||||
PREFIX = /usr/local
|
||||
NAUTILUS_PYTHONS_EXTENSIONS = $(PREFIX)/share/nautilus-python/extensions
|
||||
|
||||
.PHONY: install
|
||||
install:
|
||||
install -m644 -D -t $(NAUTILUS_PYTHONS_EXTENSIONS) ./kitty-nautilus.py
|
||||
|
||||
.PHONY: remove
|
||||
remove:
|
||||
rm $(NAUTILUS_PYTHONS_EXTENSIONS)/kitty-nautilus.py
|
||||
rmdir --ignore-fail-on-non-empty -p $(NAUTILUS_PYTHONS_EXTENSIONS)
|
||||
17
README.md
17
README.md
@@ -8,3 +8,20 @@ gnome-terminal-nautilus or gnome-console-nautilus).
|
||||
- [kitty](https://github.com/kovidgoyal/kitty/)
|
||||
- [nautilus](https://gitlab.gnome.org/GNOME/nautilus/)
|
||||
- [nautilus-phython](https://gitlab.gnome.org/GNOME/nautilus-python/)
|
||||
|
||||
Your distribution most likely has a `nautilus-python` package.
|
||||
|
||||
## Install
|
||||
|
||||
Use `make install` to install the extension globally. To uninstall run `make
|
||||
remove`. You may place the extension in any of the directories from which
|
||||
`nautilus-python` accepts extensions:
|
||||
|
||||
- `$XDG_DATA_HOME/nautilus-python/extensions/`
|
||||
- `$XDG_DATA_DIRS/nautilus-python/extensions/`
|
||||
|
||||
See <https://gitlab.gnome.org/GNOME/nautilus-python/#nautilus-python> for
|
||||
additional information.
|
||||
|
||||
After installing or uninstalling, you must restart nautilus for the change to
|
||||
take effect (`killall nautilus`).
|
||||
|
||||
Reference in New Issue
Block a user