#!/bin/bash

sleep 20

theme="com.github.Melawy.Melawy-round-gray.Nier-A2.desktop"

plasma-apply-lookandfeel -a "$theme" --resetLayout

notify-send -a "Theme is" "$theme" "$(date '+%Y.%m.%d %H:%M:%S')"

if [ "$(whoami)" != "liveuser" ]; then
    sleep 5
    rm "$HOME/.config/autostart/reset-layout.desktop"
    rm "$HOME/.local/userbin/reset-layout.sh"
fi