mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-10 10:39:22 +01:00
20 lines
704 B
Bash
Executable File
20 lines
704 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
. ~/.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
|
|
(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 &)
|