mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-06 01:19:23 +01:00
18 lines
651 B
Bash
Executable File
18 lines
651 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# This is all adapted from /usr/share/doc/darkman/examples/dark-mode.d/
|
|
|
|
# Notify of light theme switch
|
|
(notify-send --app-name="darkman" --urgency=low --icon=moon-phase-full "Moonlights" &)
|
|
|
|
# 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?
|
|
(exec xfconf-query -c xsettings -p /Net/ThemeName -s 'Adwaita-dark' &)
|
|
|
|
# Plasma
|
|
(lookandfeeltool --apply "org.kde.breezedark.desktop" &)
|