2024-07-19 20:59:09 +02:00
|
|
|
#!/usr/bin/env 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' &)
|
2024-07-20 06:14:42 +02:00
|
|
|
(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" &)
|
2024-07-19 20:59:09 +02:00
|
|
|
|
|
|
|
# Xfce theme?
|
2024-07-22 09:03:03 +02:00
|
|
|
(xfconf-query --channel xsettings --create --type string --property /Net/ThemeName --set Adwaita-dark &)
|
2024-07-19 20:59:09 +02:00
|
|
|
|
|
|
|
# Plasma
|
|
|
|
(lookandfeeltool --apply "org.kde.breezedark.desktop" &)
|