Trying with thunar
This commit is contained in:
+11
-7
@@ -1520,20 +1520,24 @@ This is top file of this level which contains just an import statement for all r
|
|||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
username = "henrov"; # <-- vervang dit door je echte gebruikersnaam
|
username = "henrov"; # vervang door je echte gebruikersnaam
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
home-manager.users.${username} = {
|
home-manager.users.${username} = {
|
||||||
# Symlink Papirus icon theme
|
# Symlink Papirus icon theme via builtins.path
|
||||||
xdg.configFile."local/share/icons/Papirus".source = builtins.path ./assets/system/theming/icons/papirus;
|
xdg.configFile."local/share/icons/Papirus" = {
|
||||||
xdg.configFile."local/share/icons/Papirus-Dark".source = builtins.path ./assets/system/theming/icons/papirus-dark;
|
source = builtins.path ./assets/system/theming/icons/papirus;
|
||||||
|
};
|
||||||
|
xdg.configFile."local/share/icons/Papirus-Dark" = {
|
||||||
|
source = builtins.path ./assets/system/theming/icons/papirus-dark;
|
||||||
|
};
|
||||||
|
|
||||||
# GTK icon theme: Papirus + Catppuccin Mocha
|
# GTK icon theme: Papirus + Catppuccin Mocha
|
||||||
gtk.enable = true;
|
gtk.enable = true;
|
||||||
gtk.gtk3.iconTheme.name = "Papirus";
|
gtk.gtk3.iconTheme.name = "Papirus";
|
||||||
gtk.gtk4.iconTheme.name = "Papirus";
|
gtk.gtk4.iconTheme.name = "Papirus";
|
||||||
|
|
||||||
# Optional: force Catppuccin Mocha GTK dark theme via settings.ini
|
# Catppuccin Mocha dark theme
|
||||||
xdg.configFile."gtk-3.0/settings.ini".text = ''
|
xdg.configFile."gtk-3.0/settings.ini".text = ''
|
||||||
[Settings]
|
[Settings]
|
||||||
gtk-theme-name=Catppuccin-Mocha-Standard-Blue-Dark
|
gtk-theme-name=Catppuccin-Mocha-Standard-Blue-Dark
|
||||||
@@ -1547,7 +1551,7 @@ in
|
|||||||
gtk-application-prefer-dark-theme=1
|
gtk-application-prefer-dark-theme=1
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Thunar and its plugins
|
# Thunar and plugins
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
thunar
|
thunar
|
||||||
thunar-volman
|
thunar-volman
|
||||||
@@ -1559,7 +1563,7 @@ in
|
|||||||
xdg-utils
|
xdg-utils
|
||||||
];
|
];
|
||||||
|
|
||||||
# Set Thunar as default file manager
|
# Default file manager
|
||||||
xdg.mimeApps = {
|
xdg.mimeApps = {
|
||||||
defaultApplications = {
|
defaultApplications = {
|
||||||
"inode/directory" = "Thunar.desktop";
|
"inode/directory" = "Thunar.desktop";
|
||||||
|
|||||||
@@ -1,20 +1,24 @@
|
|||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
username = "henrov"; # <-- vervang dit door je echte gebruikersnaam
|
username = "henrov"; # vervang door je echte gebruikersnaam
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
home-manager.users.${username} = {
|
home-manager.users.${username} = {
|
||||||
# Symlink Papirus icon theme
|
# Symlink Papirus icon theme via builtins.path
|
||||||
xdg.configFile."local/share/icons/Papirus".source = builtins.path ./assets/system/theming/icons/papirus;
|
xdg.configFile."local/share/icons/Papirus" = {
|
||||||
xdg.configFile."local/share/icons/Papirus-Dark".source = builtins.path ./assets/system/theming/icons/papirus-dark;
|
source = builtins.path ./assets/system/theming/icons/papirus;
|
||||||
|
};
|
||||||
|
xdg.configFile."local/share/icons/Papirus-Dark" = {
|
||||||
|
source = builtins.path ./assets/system/theming/icons/papirus-dark;
|
||||||
|
};
|
||||||
|
|
||||||
# GTK icon theme: Papirus + Catppuccin Mocha
|
# GTK icon theme: Papirus + Catppuccin Mocha
|
||||||
gtk.enable = true;
|
gtk.enable = true;
|
||||||
gtk.gtk3.iconTheme.name = "Papirus";
|
gtk.gtk3.iconTheme.name = "Papirus";
|
||||||
gtk.gtk4.iconTheme.name = "Papirus";
|
gtk.gtk4.iconTheme.name = "Papirus";
|
||||||
|
|
||||||
# Optional: force Catppuccin Mocha GTK dark theme via settings.ini
|
# Catppuccin Mocha dark theme
|
||||||
xdg.configFile."gtk-3.0/settings.ini".text = ''
|
xdg.configFile."gtk-3.0/settings.ini".text = ''
|
||||||
[Settings]
|
[Settings]
|
||||||
gtk-theme-name=Catppuccin-Mocha-Standard-Blue-Dark
|
gtk-theme-name=Catppuccin-Mocha-Standard-Blue-Dark
|
||||||
@@ -28,7 +32,7 @@ in
|
|||||||
gtk-application-prefer-dark-theme=1
|
gtk-application-prefer-dark-theme=1
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Thunar and its plugins
|
# Thunar and plugins
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
thunar
|
thunar
|
||||||
thunar-volman
|
thunar-volman
|
||||||
@@ -40,7 +44,7 @@ in
|
|||||||
xdg-utils
|
xdg-utils
|
||||||
];
|
];
|
||||||
|
|
||||||
# Set Thunar as default file manager
|
# Default file manager
|
||||||
xdg.mimeApps = {
|
xdg.mimeApps = {
|
||||||
defaultApplications = {
|
defaultApplications = {
|
||||||
"inode/directory" = "Thunar.desktop";
|
"inode/directory" = "Thunar.desktop";
|
||||||
|
|||||||
Reference in New Issue
Block a user