Add dark-mode and light-mode scripts for darkman
This commit is contained in:
parent
418c44e47d
commit
ad43053789
12
config.yaml
12
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
|
||||
|
4
dotfiles/local/share/dark-mode.d/01-gtk-theme.sh
Executable file
4
dotfiles/local/share/dark-mode.d/01-gtk-theme.sh
Executable file
@ -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"
|
4
dotfiles/local/share/light-mode.d/01-gtk-theme.sh
Executable file
4
dotfiles/local/share/light-mode.d/01-gtk-theme.sh
Executable file
@ -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"
|
Loading…
Reference in New Issue
Block a user