Update theme-switcher.sh

This commit is contained in:
dataprolet 2024-05-30 00:09:28 +02:00
parent 23c2560d1e
commit 50dfb2f293
1 changed files with 2 additions and 0 deletions

View File

@ -16,7 +16,9 @@ end_command1=$((6 * 60 + 30)) # 06:30 in minutes
if (( current_time >= start_command1 || current_time < end_command1 )); then
# Execute command1 if the time is between 21:30 and 06:30
plasma-apply-colorscheme BreezeDark
lookandfeeltool -a org.kde.breezedark.desktop
else
# Execute command2 if the time is between 06:30 and 21:30
plasma-apply-colorscheme BreezeLight
lookandfeeltool -a org.kde.breeze.desktop
fi