diff --git a/config.yaml b/config.yaml index 6dd3d31..2032cac 100644 --- a/config.yaml +++ b/config.yaml @@ -79,6 +79,14 @@ dotfiles: src: local/bin/convert-libaom.sh dst: ~/.local/bin/convert-libaom.sh chmod: '755' + f_dark-mode-theme.sh: + src: local/share/dark-mode.d/01-gtk-theme.sh + dst: ~/.local/share/dark-mode.d/01-gtk-theme.sh + chmod: '755' + f_light-mode-theme.sh: + src: local/share/light-mode.d/01-gtk-theme.sh + dst: ~/.local/share/light-mode.d/01-gtk-theme.sh + chmod: '755' profiles: everywhere: dotfiles: @@ -110,6 +118,8 @@ profiles: - f_fuzzel.ini - f_wezterm.lua - f_convert-libaom.sh + - f_dark-mode-theme.sh + - f_light-mode-theme.sh knafeh: dotfiles: - d_vim @@ -135,3 +145,5 @@ profiles: - f_fuzzel.ini - f_wezterm.lua - f_convert-libaom.sh + - f_dark-mode-theme.sh + - f_light-mode-theme.sh diff --git a/dotfiles/local/share/dark-mode.d/01-gtk-theme.sh b/dotfiles/local/share/dark-mode.d/01-gtk-theme.sh new file mode 100755 index 0000000..42c2e95 --- /dev/null +++ b/dotfiles/local/share/dark-mode.d/01-gtk-theme.sh @@ -0,0 +1,4 @@ +#!/usr/bin/bash + +gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark" +gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" diff --git a/dotfiles/local/share/light-mode.d/01-gtk-theme.sh b/dotfiles/local/share/light-mode.d/01-gtk-theme.sh new file mode 100755 index 0000000..41d1846 --- /dev/null +++ b/dotfiles/local/share/light-mode.d/01-gtk-theme.sh @@ -0,0 +1,4 @@ +#!/usr/bin/bash + +gsettings set org.gnome.desktop.interface gtk-theme "Adwaita" +gsettings set org.gnome.desktop.interface color-scheme "prefer-light"