update
This commit is contained in:
parent
5c0150f02c
commit
b97827f8dd
2 changed files with 18 additions and 2 deletions
|
@ -7,13 +7,13 @@ To install the cursor theme simply copy the compiled theme to your icons
|
||||||
directory. For local user installation:
|
directory. For local user installation:
|
||||||
|
|
||||||
```
|
```
|
||||||
cp -pr dist/ ~/.icons/McMojave-cursors
|
./install.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
For system-wide installation for all users:
|
For system-wide installation for all users:
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo cp -pr dist/ /usr/share/icons/McMojave-cursors
|
sudo ./install.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Then set the theme with your preferred desktop tools.
|
Then set the theme with your preferred desktop tools.
|
||||||
|
|
16
install.sh
Executable file
16
install.sh
Executable file
|
@ -0,0 +1,16 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
ROOT_UID=0
|
||||||
|
DEST_DIR=
|
||||||
|
|
||||||
|
# Destination directory
|
||||||
|
if [ "$UID" -eq "$ROOT_UID" ]; then
|
||||||
|
DEST_DIR="/usr/share/icons"
|
||||||
|
else
|
||||||
|
DEST_DIR="$HOME/.local/share/icons"
|
||||||
|
fi
|
||||||
|
|
||||||
|
cp -pr dist/ $DEST_DIR/McMojave-cursors
|
||||||
|
|
||||||
|
echo "Finished..."
|
||||||
|
|
Loading…
Reference in a new issue