Move GTK theming to abstract to allow use with hyprland as well
This commit is contained in:
parent
0bdb0321ab
commit
456eaff23a
14
nixos/home-manager/env/gtk.nix
vendored
Normal file
14
nixos/home-manager/env/gtk.nix
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
gtk = {
|
||||
enable = true;
|
||||
cursorTheme = {
|
||||
package = pkgs.catppuccin-cursors.macchiatoDark;
|
||||
name = "Catppuccin-Macchiato-Dark-Cursors";
|
||||
};
|
||||
theme = {
|
||||
package = pkgs.catppuccin-gtk;
|
||||
name = "Catppuccin-Frappe-Standard-Blue-Dark";
|
||||
};
|
||||
};
|
||||
}
|
10
nixos/home-manager/env/hyprland.nix
vendored
10
nixos/home-manager/env/hyprland.nix
vendored
|
@ -1,4 +1,4 @@
|
|||
{ ... }:
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
flake-compat = builtins.fetchTarball "https://github.com/edolstra/flake-compat/archive/master.tar.gz";
|
||||
|
||||
|
@ -9,8 +9,16 @@ in
|
|||
{
|
||||
imports = [
|
||||
hyprland.homeManagerModules.default
|
||||
./gtk.nix
|
||||
./dunst.nix
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
hyprpaper
|
||||
wofi
|
||||
dolphin
|
||||
swaybg
|
||||
];
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
xwayland = {
|
||||
|
|
6
nixos/home-manager/env/xfce.nix
vendored
6
nixos/home-manager/env/xfce.nix
vendored
|
@ -2,6 +2,7 @@
|
|||
{
|
||||
imports = [
|
||||
./xresources.nix
|
||||
./gtk.nix
|
||||
./bspwm.nix
|
||||
./sxhkd.nix
|
||||
./picom.nix
|
||||
|
@ -9,8 +10,6 @@
|
|||
./polybar.nix
|
||||
];
|
||||
home.packages = with pkgs; [
|
||||
catppuccin-gtk
|
||||
catppuccin-cursors.macchiatoDark
|
||||
xfce.thunar
|
||||
ranger
|
||||
flameshot
|
||||
|
@ -22,9 +21,6 @@
|
|||
"general/LockCommand" = "i3lock-fancy";
|
||||
};
|
||||
xsettings = {
|
||||
"Net/ThemeName" = "Catppuccin-Frappe-Standard-Blue-Dark";
|
||||
"Gtk/CursorThemeName" = "Catppuccin-Macchiato-Dark-Cursors";
|
||||
"Gtk/FontName" = "Sans 12";
|
||||
"Gtk/MonospaceFontName" = "FiraCode Nerd Font 12";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue