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

20 lines
704 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2024-07-22 11:11:47 +02:00
. ~/.local/share/dark-mode.d/00-do-not-repeat-yourself.bash
# This is all adapted from /usr/share/doc/darkman/examples/dark-mode.d/
# GTK Theme
2024-07-20 06:08:18 +02:00
(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?
2024-07-22 09:03:03 +02:00
(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 &)