Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation causes black screen and hang on Plasma 6. #75

Open
ottergauze opened this issue Aug 13, 2024 · 2 comments
Open

Installation causes black screen and hang on Plasma 6. #75

ottergauze opened this issue Aug 13, 2024 · 2 comments

Comments

@ottergauze
Copy link

I decided to install the Catppuccin theme to my Plasma desktop to tie together all my other applications that use it, and after installing the theme, I'm left at a black screen when logging in.

I'm unable to obtain any diagnostic information, unfortunately, but supplying a way to reverse everything done by the installer script would be much appreciated.

@elogicuk
Copy link

elogicuk commented Nov 5, 2024

Made this with chatgtp for you brother

#!/bin/bash
# Uninstall Script for Catppuccin KDE Theme

# Function to remove files and directories if they exist
remove_if_exists() {
    if [ -e "$1" ]; then
        rm -rf "$1"
        echo "Removed $1"
    else
        echo "$1 does not exist, skipping."
    fi
}

# KDE theme paths
plasma_theme_dir="$HOME/.local/share/plasma/desktoptheme/Catppuccin"
color_scheme_dir="$HOME/.local/share/color-schemes"
konsole_scheme_dir="$HOME/.local/share/konsole"
window_decoration_dir="$HOME/.local/share/aurorae/themes/Catppuccin"
lookandfeel_dir="$HOME/.local/share/plasma/look-and-feel/Catppuccin"
cursordir="$HOME/.icons/Catppuccin-Cursors"

# Uninstalling plasma desktop theme
remove_if_exists "$plasma_theme_dir"

# Uninstalling color schemes
remove_if_exists "$color_scheme_dir/Catppuccin-Dark.colors"
remove_if_exists "$color_scheme_dir/Catppuccin-Light.colors"

# Uninstalling Konsole schemes
remove_if_exists "$konsole_scheme_dir/Catppuccin-Dark.colorscheme"
remove_if_exists "$konsole_scheme_dir/Catppuccin-Light.colorscheme"

# Uninstalling window decorations
remove_if_exists "$window_decoration_dir"

# Uninstalling look and feel package
remove_if_exists "$lookandfeel_dir"

# Uninstalling cursors
remove_if_exists "$cursordir"

echo "Uninstallation complete."

@ottergauze
Copy link
Author

ottergauze commented Nov 6, 2024

Made this with chatgtp for you brother

Thanks, but "I made this with ChatGPT" isn't exactly something that gets my vote of confidence. Regardless, I started again with a new user account since it effectively starts you from scratch. Anyone else who happens to have this issue is welcome to report back on if this works, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants