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
|
let
|
||||||
flake-compat = builtins.fetchTarball "https://github.com/edolstra/flake-compat/archive/master.tar.gz";
|
flake-compat = builtins.fetchTarball "https://github.com/edolstra/flake-compat/archive/master.tar.gz";
|
||||||
|
|
||||||
|
@ -9,8 +9,16 @@ in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
hyprland.homeManagerModules.default
|
hyprland.homeManagerModules.default
|
||||||
|
./gtk.nix
|
||||||
|
./dunst.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
hyprpaper
|
||||||
|
wofi
|
||||||
|
dolphin
|
||||||
|
swaybg
|
||||||
|
];
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
xwayland = {
|
xwayland = {
|
||||||
|
|
6
nixos/home-manager/env/xfce.nix
vendored
6
nixos/home-manager/env/xfce.nix
vendored
|
@ -2,6 +2,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./xresources.nix
|
./xresources.nix
|
||||||
|
./gtk.nix
|
||||||
./bspwm.nix
|
./bspwm.nix
|
||||||
./sxhkd.nix
|
./sxhkd.nix
|
||||||
./picom.nix
|
./picom.nix
|
||||||
|
@ -9,8 +10,6 @@
|
||||||
./polybar.nix
|
./polybar.nix
|
||||||
];
|
];
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
catppuccin-gtk
|
|
||||||
catppuccin-cursors.macchiatoDark
|
|
||||||
xfce.thunar
|
xfce.thunar
|
||||||
ranger
|
ranger
|
||||||
flameshot
|
flameshot
|
||||||
|
@ -22,9 +21,6 @@
|
||||||
"general/LockCommand" = "i3lock-fancy";
|
"general/LockCommand" = "i3lock-fancy";
|
||||||
};
|
};
|
||||||
xsettings = {
|
xsettings = {
|
||||||
"Net/ThemeName" = "Catppuccin-Frappe-Standard-Blue-Dark";
|
|
||||||
"Gtk/CursorThemeName" = "Catppuccin-Macchiato-Dark-Cursors";
|
|
||||||
"Gtk/FontName" = "Sans 12";
|
|
||||||
"Gtk/MonospaceFontName" = "FiraCode Nerd Font 12";
|
"Gtk/MonospaceFontName" = "FiraCode Nerd Font 12";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue