feat: use kitty auto dark mode added in 0.38.0

This commit is contained in:
grassblock 2025-01-01 11:23:15 +08:00
parent 4563589831
commit 2976fbab63
10 changed files with 63 additions and 18 deletions

View file

@ -1,7 +1,12 @@
#!/usr/bin/env bash
# add a detection to prevent exec scripts on every login
#if [[ "$(darkman get)" =~ "light" ]] ; then
# GTK apps are not affected by the Plasma Global Theme, which only applies to Qt based programs.
# GTK themes can be installed here: Global Theme > Application Style > Configure GNOME/GTK Application Style.
# Reference: https://wiki.archlinux.org/title/Uniform_look_for_Qt_and_GTK_applications
dbus-send --session --dest=org.kde.GtkConfig --type=method_call /GtkConfig org.kde.GtkConfig.setGtkTheme "string:Nordic-bluish-dark"
#else
# echo "The GTK theme has been already switched, skipping"
#fi