create t2 different scripts to work with either gtk3 or gtk4
This commit is contained in:
parent
544c9bdb88
commit
ce70d92c62
0
gedit/install.sh → gedit/install-gtk3.sh
Executable file → Normal file
0
gedit/install.sh → gedit/install-gtk3.sh
Executable file → Normal file
2
gedit/install-gtk4.sh
Normal file
2
gedit/install-gtk4.sh
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
sudo cp ldpl.lang /usr/share/gtksourceview-4/language-specs/
|
11
gedit/readme
11
gedit/readme
|
@ -2,14 +2,19 @@
|
||||||
| LDPL Syntax Highlighting for Gedit / Pluma / Etc. |
|
| LDPL Syntax Highlighting for Gedit / Pluma / Etc. |
|
||||||
+---------------------------------------------------+
|
+---------------------------------------------------+
|
||||||
|
|
||||||
|
This folder contains installation scripts for both GTK3 and GTK4. The install-gtk3.sh
|
||||||
|
script will work for editors that use GTK3 and install-gtk4.sh will for those that use
|
||||||
|
GTK4.
|
||||||
|
|
||||||
[Installing]
|
[Installing]
|
||||||
To install LDPL syntax highlighting for the gedit / pluma / etc editors just
|
To install LDPL syntax highlighting for the gedit / pluma / etc editors just
|
||||||
run the install.sh file found in the same folder as this README.
|
run the install-gtk*.sh file found in the same folder as this README.
|
||||||
|
|
||||||
[Installing (by hand)]
|
[Installing (by hand)]
|
||||||
1. Copy the file ldpl.lang to /usr/share/gtksourceview-3.0/language-specs/
|
1. Copy the file ldpl.lang to /usr/share/gtksourceview-3.0/language-specs/ or
|
||||||
|
/usr/share/gtksourceview-4/language-specs/ based on your editor
|
||||||
2. Restart Gedit / Pluma / Etc.
|
2. Restart Gedit / Pluma / Etc.
|
||||||
|
|
||||||
[Uninstalling]
|
[Uninstalling]
|
||||||
Delete /usr/share/gtksourceview-3.0/language-specs/ldpl.lang
|
Delete /usr/share/gtksourceview-3.0/language-specs/ldpl.lang or /usr/share/gtksourceview-4/language-specs/ldpl.lang
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user