emacs: Allow easier theme switching
This commit is contained in:
parent
a1f09ed1d0
commit
ed6e4913ca
3 changed files with 18 additions and 5 deletions
|
@ -137,8 +137,7 @@
|
|||
};
|
||||
darkModeScripts = {
|
||||
emacs = ''
|
||||
emacsclient --eval "(setq catppuccin-flavor 'frappe)"
|
||||
emacsclient --eval "(load-theme 'catppuccin :no-confirm)"
|
||||
emacsclient --eval "(chvp--dark-mode)"
|
||||
'';
|
||||
gtk = ''
|
||||
${pkgs.glib}/bin/gsettings set org.gnome.desktop.interface gtk-theme Catppuccin-Frappe-Compact-Blue-Dark
|
||||
|
@ -163,8 +162,7 @@
|
|||
};
|
||||
lightModeScripts = {
|
||||
emacs = ''
|
||||
emacsclient --eval "(setq catppuccin-flavor 'latte)"
|
||||
emacsclient --eval "(load-theme 'catppuccin :no-confirm)"
|
||||
emacsclient --eval "(chvp--light-mode)"
|
||||
'';
|
||||
gtk = ''
|
||||
${pkgs.glib}/bin/gsettings set org.gnome.desktop.interface gtk-theme Catppuccin-Latte-Compact-Blue-Light
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue