theme: start configuring darkman
This commit is contained in:
parent
2fc2459a15
commit
ae17a6efc6
3 changed files with 46 additions and 5 deletions
|
@ -152,7 +152,7 @@ let
|
||||||
configure_touchpads tap enabled
|
configure_touchpads tap enabled
|
||||||
configure_touchpads scroll-method two-finger
|
configure_touchpads scroll-method two-finger
|
||||||
|
|
||||||
${pkgs.dbus}/bin/dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP XDG_SESSION_TYPE XCURSOR_SIZE QT_QPA_PLATFORM_THEME QT_STYLE_OVERRIDE QT_PLUGIN_PATH QTWEBKIT_PLUGIN_PATH
|
${pkgs.dbus}/bin/dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP XDG_SESSION_TYPE XCURSOR_SIZE QT_QPA_PLATFORM_THEME QT_STYLE_OVERRIDE QT_PLUGIN_PATH QTWEBKIT_PLUGIN_PATH GDK_PIXBUF_MODULE_FILE XDG_DATA_DIRS GIO_EXTRA_MODULES PATH
|
||||||
systemctl --user start river-session.target
|
systemctl --user start river-session.target
|
||||||
systemctl --user start tray.target
|
systemctl --user start tray.target
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -73,11 +73,9 @@ in
|
||||||
belgium-eid
|
belgium-eid
|
||||||
cookie-autodelete
|
cookie-autodelete
|
||||||
decentraleyes
|
decentraleyes
|
||||||
firefox-color
|
|
||||||
ff2mpv
|
ff2mpv
|
||||||
keepassxc-browser
|
keepassxc-browser
|
||||||
multi-account-containers
|
multi-account-containers
|
||||||
stylus
|
|
||||||
ublock-origin
|
ublock-origin
|
||||||
vue-js-devtools
|
vue-js-devtools
|
||||||
zotero-connector
|
zotero-connector
|
||||||
|
|
|
@ -7,7 +7,10 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.chvp.graphical.theme.enable {
|
config = lib.mkIf config.chvp.graphical.theme.enable {
|
||||||
chvp.base.zfs.homeLinks = [{ path = ".config/qt5ct"; type = "cache"; }];
|
chvp.base.zfs.homeLinks = [
|
||||||
|
{ path = ".config/qt5ct"; type = "cache"; }
|
||||||
|
{ path = ".config/qt6ct"; type = "cache"; }
|
||||||
|
];
|
||||||
fonts = {
|
fonts = {
|
||||||
fontDir.enable = true;
|
fontDir.enable = true;
|
||||||
fontconfig = {
|
fontconfig = {
|
||||||
|
@ -32,7 +35,11 @@
|
||||||
|
|
||||||
programs.dconf.enable = true;
|
programs.dconf.enable = true;
|
||||||
home-manager.users.charlotte = { pkgs, ... }: {
|
home-manager.users.charlotte = { pkgs, ... }: {
|
||||||
home.packages = [ pkgs.catppuccin-cursors.latteLight ];
|
home.packages = [
|
||||||
|
pkgs.catppuccin-cursors.latteLight
|
||||||
|
# Also install dark mode to profile for darkman
|
||||||
|
(pkgs.catppuccin-gtk.override { size = "compact"; variant = "frappe"; })
|
||||||
|
];
|
||||||
home.file = {
|
home.file = {
|
||||||
".icons/default/index.theme".text = ''
|
".icons/default/index.theme".text = ''
|
||||||
[Icon Theme]
|
[Icon Theme]
|
||||||
|
@ -76,6 +83,42 @@
|
||||||
package = pkgs.lightly-qt;
|
package = pkgs.lightly-qt;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
services.darkman = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
lat = 51.0;
|
||||||
|
lng = 3.7;
|
||||||
|
usegeoclue = false;
|
||||||
|
dbusserver = true;
|
||||||
|
portal = true;
|
||||||
|
};
|
||||||
|
darkModeScripts = {
|
||||||
|
emacs = ''
|
||||||
|
emacsclient --eval "(setq catppuccin-flavor 'frappe)"
|
||||||
|
emacsclient --eval "(load-theme 'catppuccin :no-confirm)"
|
||||||
|
'';
|
||||||
|
gtk = ''
|
||||||
|
${pkgs.glib}/bin/gsettings set org.gnome.desktop.interface gtk-theme Catppuccin-Frappe-Compact-Blue-Dark
|
||||||
|
'';
|
||||||
|
qt = ''
|
||||||
|
sed -i "s/Latte/Frappe/" ~/.config/qt5ct/qt5ct.conf
|
||||||
|
sed -i "s/Latte/Frappe/" ~/.config/qt6ct/qt6ct.conf
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
lightModeScripts = {
|
||||||
|
emacs = ''
|
||||||
|
emacsclient --eval "(setq catppuccin-flavor 'latte)"
|
||||||
|
emacsclient --eval "(load-theme 'catppuccin :no-confirm)"
|
||||||
|
'';
|
||||||
|
gtk = ''
|
||||||
|
${pkgs.glib}/bin/gsettings set org.gnome.desktop.interface gtk-theme Catppuccin-Latte-Compact-Blue-Light
|
||||||
|
'';
|
||||||
|
qt = ''
|
||||||
|
sed -i "s/Frappe/Latte/" ~/.config/qt5ct/qt5ct.conf
|
||||||
|
sed -i "s/Frappe/Latte/" ~/.config/qt6ct/qt6ct.conf
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue