-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathuninstall.sh
45 lines (40 loc) · 1.41 KB
/
uninstall.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/bin/bash
# ____ _ _
# | _ \(_)_ ____ _(_)_ __ ___
# | |_) | | '_ \ \ /\ / / | '__/ _ \
# | __/| | |_) \ V V /| | | | __/
# |_| |_| .__/ \_/\_/ |_|_| \___|
# |_|
# ____ _ _ _
# / ___|___ _ __ | |_ _ __ ___ | | | ___ _ __
# | | / _ \| '_ \| __| '__/ _ \| | |/ _ \ '__|
# | |__| (_) | | | | |_| | | (_) | | | __/ |
# \____\___/|_| |_|\__|_| \___/|_|_|\___|_|
#
#
# A simple tray icon to control your audio
#
# Created by Andrianos Papamarkou
#
# Define target directories
LOCAL_BIN_DIR="$HOME/.local/bin"
ICON_DIR="$HOME/.local/share/icons"
AUTOSTART_DIR="$HOME/.config/autostart"
SCRIPT="pipewire-controller.py"
# Remove files and directories
# rm -rf "$HOME/.local/bin/pipewire-controller.py"
echo "Removing $LOCAL_BIN_DIR/$SCRIPT"
rm -f "$LOCAL_BIN_DIR/$SCRIPT"
# rm -rf "$HOME/.local/share/icons/pipewire-controller.py.png"
echo "Removing $ICON_DIR/$SCRIPT.png"
rm -f "$ICON_DIR/$SCRIPT.png"
# rm -rf "$HOME/.config/autostart/pipewire-controller.py.desktop"
echo "Removing $AUTOSTART_DIR/$SCRIPT.desktop"
rm -f "$AUTOSTART_DIR/$SCRIPT.desktop"
# rm -rf "$ΗΟΜΕ/.local/share/applications/pipewire-controller.py.desktop"
echo "Removing $HOME/.local/share/applications/$SCRIPT.desktop"
rm -f "$HOME/.local/share/applications/$SCRIPT.desktop"
cd ..
echo "Removing local copy of git repo..."
rm -rf pipewire-controller
echo "Uninstallation completed successfully."