From fd50e4c51be6c8d6a47ce5e0658013baf5dd7854 Mon Sep 17 00:00:00 2001 From: RobTheFiveNine Date: Tue, 2 May 2023 18:12:13 +0100 Subject: [PATCH 1/3] Add Makefile for cleaning and installing the KDE theme --- INSTALL.md | 19 +++++++++++++++++++ Makefile | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 Makefile diff --git a/INSTALL.md b/INSTALL.md index d3c34f1b..a7cedc97 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -15,6 +15,25 @@ gsettings set org.gnome.desktop.wm.preferences theme "Dracula" or Change via distribution specific tweak tool. + +### KDE + +### Install manually +Pull the source code using git (or alternatively [Download the Latest ZIP File](https://github.com/dracula/gtk/archive/refs/heads/master.zip)): + +```bash +git clone https://github.com/dracula/gtk.git +``` + +In a terminal, enter the directory containing the source code and run the `install` make target with the `PLATFORM` variable set to `KDE`: + +```bash +cd gtk +make install PLATFORM=KDE +``` + +After installation is complete, open the appearance settings and choose the Dracula theme in the `Global Theme` section. + ## Icon Theme (optional) #### Install manually diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..511ca4dd --- /dev/null +++ b/Makefile @@ -0,0 +1,48 @@ + clean: + @echo "* Removing Plasma theme..." + rm -rf ~/.local/share/plasma/desktoptheme/Dracula + rm -rf ~/.local/share/plasma/desktoptheme/Dracula-Solid + rm -rf ~/.local/share/plasma/look-and-feel/Dracula + + @echo "\n* Removing Aurorae theme..." + rm -rf ~/.local/share/aurorae/themes/Dracula + + @echo "\n* Removing color schemes..." + rm -f ~/.local/share/color-schemes/Dracula.colors + rm -f ~/.local/share/color-schemes/DraculaPurple.colors + + @echo "\n* Removing cursors..." + rm -rf ~/.icons/Dracula-cursors + + @echo "\n* Removing SDDM theme (requires root)..." + sudo rm -rf /usr/share/sddm/themes/Dracula + +install: +ifeq ($(filter $(PLATFORM),kde KDE),) + @echo "Exiting: only KDE is currently supported by the Makefile" + @exit 1 +endif + @echo "* Making required paths (requires root)..." + mkdir -p ~/.local/share/plasma/desktoptheme + mkdir -p ~/.local/share/plasma/look-and-feel + mkdir -p ~/.local/share/aurorae/themes + mkdir -p ~/.local/share/color-schemes + mkdir -p ~/.icons + sudo mkdir -p /usr/share/sddm/themes + + @echo "\n* Installing Plasma theme..." + cp -r kde/plasma/desktoptheme/* ~/.local/share/plasma/desktoptheme/ + cp -r kde/plasma/look-and-feel/* ~/.local/share/plasma/look-and-feel/ + + @echo "\n* Installing Aurorae theme..." + cp -r kde/aurorae/Dracula ~/.local/share/aurorae/themes/ + + @echo "\n* Installing color schemes..." + cp -r kde/color-schemes/* ~/.local/share/color-schemes/ + + @echo "\n* Installing cursors..." + cp -r kde/cursors/Dracula-cursors ~/.icons/ + + @echo "\n* Installing SDDM theme (requires root)..." + sudo cp -r kde/sddm/Dracula /usr/share/sddm/themes/ + From 8866d27bc35e59953f140c0d210722a99e0badfa Mon Sep 17 00:00:00 2001 From: RobTheFiveNine Date: Tue, 2 May 2023 18:15:24 +0100 Subject: [PATCH 2/3] Normalise the heading sizes --- INSTALL.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index a7cedc97..c34faf6f 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -1,10 +1,10 @@ -### [GTK](https://www.gtk.org/) +## [GTK](https://www.gtk.org/) -#### Install manually +### Install manually Download using the [GitHub .zip download](https://github.com/dracula/gtk/archive/master.zip) option and extract the `.zip` file to the themes directory i.e. `/usr/share/themes/` or `~/.themes/` (create it if necessary). -#### Activating theme +### Activating theme To activate the theme in Gnome, run the following commands in Terminal: @@ -16,7 +16,7 @@ gsettings set org.gnome.desktop.wm.preferences theme "Dracula" or Change via distribution specific tweak tool. -### KDE +## KDE ### Install manually Pull the source code using git (or alternatively [Download the Latest ZIP File](https://github.com/dracula/gtk/archive/refs/heads/master.zip)): @@ -36,11 +36,11 @@ After installation is complete, open the appearance settings and choose the Drac ## Icon Theme (optional) -#### Install manually +### Install manually Download using the [GitHub .zip download](https://github.com/dracula/gtk/files/5214870/Dracula.zip) option and extract the `.zip` file to the icons directory i.e. `/usr/share/icons/` or `~/.icons/` (create it if necessary). -#### Activating icon theme +### Activating icon theme To activate the theme in Gnome, run the following commands in Terminal: From 6d5ae14260660c919b2dfd4a408103b5f550173f Mon Sep 17 00:00:00 2001 From: RobTheFiveNine Date: Tue, 2 May 2023 18:16:55 +0100 Subject: [PATCH 3/3] Add manual uninstallation instructions --- INSTALL.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index c34faf6f..08f2de89 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -34,6 +34,20 @@ make install PLATFORM=KDE After installation is complete, open the appearance settings and choose the Dracula theme in the `Global Theme` section. +### Uninstall manually +To uninstall the manually installed KDE theme, pull the source code using git (or alternatively [Download the Latest ZIP File](https://github.com/dracula/gtk/archive/refs/heads/master.zip)): + +```bash +git clone https://github.com/dracula/gtk.git +``` + +In a terminal, enter the directory containing the source code and run the `clean` make target + +```bash +cd gtk +make clean +``` + ## Icon Theme (optional) ### Install manually