Trying with emacs
This commit is contained in:
+23
-4
@@ -1519,17 +1519,34 @@ This is top file of this level which contains just an import statement for all r
|
||||
#+BEGIN_SRC nix :tangle generated/system/applications/file_management/thunar.nix :noweb tangle :mkdirp yes :eval never-html
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
username = "henrov"; # <-- vervang dit door je echte gebruikersnaam
|
||||
in
|
||||
{
|
||||
home-manager.users.henrov = {
|
||||
home-manager.users.${username} = {
|
||||
# Symlink Papirus icon theme
|
||||
xdg.configFile."local/share/icons/Papirus".source = "/assets/system/theming/icons/papirus";
|
||||
xdg.configFile."local/share/icons/Papirus-Dark".source = "/assets/system/theming/icons/papirus-dark"; # If you have the dark variant
|
||||
xdg.configFile."local/share/icons/Papirus-Dark".source = "/assets/system/theming/icons/papirus-dark";
|
||||
|
||||
# Set Papirus as the default icon theme
|
||||
# GTK icon theme: Papirus + Catppuccin Mocha
|
||||
gtk.enable = true;
|
||||
gtk.gtk3.iconTheme.name = "Papirus";
|
||||
gtk.gtk4.iconTheme.name = "Papirus";
|
||||
|
||||
# Optional: force Catppuccin Mocha GTK dark theme via settings.ini
|
||||
xdg.configFile."gtk-3.0/settings.ini".text = ''
|
||||
[Settings]
|
||||
gtk-theme-name=Catppuccin-Mocha-Standard-Blue-Dark
|
||||
gtk-icon-theme-name=Papirus
|
||||
gtk-application-prefer-dark-theme=1
|
||||
'';
|
||||
xdg.configFile."gtk-4.0/settings.ini".text = ''
|
||||
[Settings]
|
||||
gtk-theme-name=Catppuccin-Mocha-Standard-Blue-Dark
|
||||
gtk-icon-theme-name=Papirus
|
||||
gtk-application-prefer-dark-theme=1
|
||||
'';
|
||||
|
||||
# Thunar and its plugins
|
||||
home.packages = with pkgs; [
|
||||
thunar
|
||||
@@ -1548,13 +1565,15 @@ This is top file of this level which contains just an import statement for all r
|
||||
xdg-utils
|
||||
];
|
||||
|
||||
# Set Thunar as default file manager
|
||||
xdg.mimeApps = {
|
||||
defaultApplications = {
|
||||
"inode/directory" = "Thunar.desktop";
|
||||
};
|
||||
};
|
||||
};
|
||||
}#+END_SRC
|
||||
}
|
||||
#+END_SRC
|
||||
|
||||
** =generated/system/applications/gaming/top.nix=
|
||||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||||
|
||||
@@ -1,17 +1,34 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
username = "henrov"; # <-- vervang dit door je echte gebruikersnaam
|
||||
in
|
||||
{
|
||||
home-manager.users.${config.home.username} = {
|
||||
home-manager.users.${username} = {
|
||||
# Symlink Papirus icon theme
|
||||
xdg.configFile."local/share/icons/Papirus".source = "/assets/system/theming/icons/papirus";
|
||||
xdg.configFile."local/share/icons/Papirus-Dark".source = "/assets/system/theming/icons/papirus-dark"; # If you have the dark variant
|
||||
xdg.configFile."local/share/icons/Papirus-Dark".source = "/assets/system/theming/icons/papirus-dark";
|
||||
|
||||
# Set Papirus as the default icon theme
|
||||
# GTK icon theme: Papirus + Catppuccin Mocha
|
||||
gtk.enable = true;
|
||||
gtk.gtk3.iconTheme.name = "Papirus";
|
||||
gtk.gtk4.iconTheme.name = "Papirus";
|
||||
|
||||
# Thunar and its plugins (as before)
|
||||
# Optional: force Catppuccin Mocha GTK dark theme via settings.ini
|
||||
xdg.configFile."gtk-3.0/settings.ini".text = ''
|
||||
[Settings]
|
||||
gtk-theme-name=Catppuccin-Mocha-Standard-Blue-Dark
|
||||
gtk-icon-theme-name=Papirus
|
||||
gtk-application-prefer-dark-theme=1
|
||||
'';
|
||||
xdg.configFile."gtk-4.0/settings.ini".text = ''
|
||||
[Settings]
|
||||
gtk-theme-name=Catppuccin-Mocha-Standard-Blue-Dark
|
||||
gtk-icon-theme-name=Papirus
|
||||
gtk-application-prefer-dark-theme=1
|
||||
'';
|
||||
|
||||
# Thunar and its plugins
|
||||
home.packages = with pkgs; [
|
||||
thunar
|
||||
thunar-volman
|
||||
@@ -29,6 +46,7 @@
|
||||
xdg-utils
|
||||
];
|
||||
|
||||
# Set Thunar as default file manager
|
||||
xdg.mimeApps = {
|
||||
defaultApplications = {
|
||||
"inode/directory" = "Thunar.desktop";
|
||||
|
||||
Reference in New Issue
Block a user