shell-things/local/share/dark-mode.d/10-adwaita-breeze-dark.bash

20 lines
702 B
Bash
Executable File

#!/usr/bin/env bash
. ~/.local/share/dark-mode.d/00-do-not-repeat-yourself.sh
# This is all adapted from /usr/share/doc/darkman/examples/dark-mode.d/
# GTK Theme
(gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' &)
(gsettings set org.gnome.desktop.interface gtk-theme Adwaita-dark &)
(dbus-send --session --dest=org.kde.GtkConfig --type=method_call /GtkConfig org.kde.GtkConfig.setGtkTheme "string:Adwaita-dark" &)
# Xfce theme?
(xfconf-query --channel xsettings --create --type string --property /Net/ThemeName --set Adwaita-dark &)
# Plasma
(lookandfeeltool --apply "org.kde.breezedark.desktop" &)
# Kvantum Qt
(sleep 3 && kvantummanager --set KvGnomeDark --noAssign-All &)