mirror of
https://github.com/Hopiu/RandomWallpaperGnome3.git
synced 2026-03-16 22:20:24 +00:00
Fix debug.sh and install.sh
This commit is contained in:
parent
8dca4e9d4b
commit
d6f8e47ddf
2 changed files with 3 additions and 3 deletions
2
debug.sh
2
debug.sh
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [[ $1 == 'prefs' ]]; then
|
||||
if [ "$1" = "prefs" ]; then
|
||||
gnome-shell-extension-prefs randomwallpaper@iflow.space
|
||||
else
|
||||
journalctl -f /usr/bin/gnome-shell
|
||||
|
|
|
|||
|
|
@ -4,12 +4,12 @@ extensionFolder="randomwallpaper@iflow.space"
|
|||
sourcepath="$PWD/$extensionFolder"
|
||||
targetpath="/home/$USER/.local/share/gnome-shell/extensions"
|
||||
|
||||
if [[ $1 == 'uninstall' ]]; then
|
||||
if [ "$1" = "uninstall" ]; then
|
||||
echo "# Removing $targetpath/$extensionFolder"
|
||||
rm "$targetpath/$extensionFolder"
|
||||
else
|
||||
echo "# Making extension directory"
|
||||
mkdir -p $targetpath
|
||||
echo "# Linking extension folder"
|
||||
ln -s $sourcepath "$targetpath/$extensionFolder"
|
||||
ln -s "$sourcepath" "$targetpath"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue