added even more hyprland stuff
This commit is contained in:
parent
0022cf7d50
commit
ca920737c5
8 changed files with 68 additions and 109 deletions
|
@ -1,39 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: with lib; let
|
||||
cfg = config.modules.themes.cursor;
|
||||
username = config.modules.other.system.username;
|
||||
in {
|
||||
options.modules.themes.cursor = {
|
||||
enable = mkEnableOption "cursor theming";
|
||||
package = mkOption {
|
||||
description = "cursor theme package";
|
||||
type = types.package;
|
||||
};
|
||||
name = mkOption {
|
||||
description = "cursor theme name";
|
||||
type = types.str;
|
||||
};
|
||||
size = mkOption {
|
||||
description = "cursor size";
|
||||
type = types.int;
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.sessionVariables = {
|
||||
XCURSOR_THEME = "${cfg.name}";
|
||||
XCURSOR_SIZE = "${toString cfg.size}";
|
||||
};
|
||||
|
||||
home-manager.users.${username} = {
|
||||
home.pointerCursor = {
|
||||
inherit (cfg) package name size;
|
||||
gtk.enable = true;
|
||||
x11.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,7 +1,6 @@
|
|||
_: {
|
||||
imports = [
|
||||
./vesktop.nix
|
||||
./cursor.nix
|
||||
./gtk.nix
|
||||
./mpv.nix
|
||||
./qt.nix
|
||||
|
|
|
@ -36,16 +36,16 @@ in {
|
|||
gtk = {
|
||||
enable = true;
|
||||
theme = {
|
||||
# inherit (cfg) name package;
|
||||
package = pkgs.gruvbox-gtk-theme;
|
||||
name = "Gruvbox-Dark-BL";
|
||||
#package = pkgs.gruvbox-gtk-theme;
|
||||
#name = "Gruvbox-Dark-BL";
|
||||
};
|
||||
iconTheme = {
|
||||
name = "Papirus-Dark";
|
||||
package = pkgs.catppuccin-papirus-folders;
|
||||
};
|
||||
# iconTheme = {
|
||||
# inherit (cfg.iconTheme) name package;
|
||||
# };
|
||||
};
|
||||
home.sessionVariables = {
|
||||
GTK_THEME = "Gruvbox-Dark-BL";
|
||||
#GTK_THEME = "Gruvbox-Dark-BL";
|
||||
# GTK_USE_PORTAL = "1";
|
||||
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ in {
|
|||
#background_opacity = "0.9";
|
||||
confirm_os_window_close = "0";
|
||||
#font_family = "JetBrainsMono Nerd Font";
|
||||
|
||||
/*
|
||||
cursor_text_color = "background";
|
||||
|
||||
url_color = "#83a598";
|
||||
|
@ -69,6 +69,7 @@ in {
|
|||
# white (fg4/fg3)
|
||||
color7 = "#a89984";
|
||||
color15 = "#bdae93";
|
||||
*/
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
@ -21,7 +21,6 @@ in {
|
|||
zathura.enable = true;
|
||||
gtk.enable = true;
|
||||
hyprland.enable = true;
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -35,6 +34,7 @@ in {
|
|||
name = "Bibata-Modern-Classic";
|
||||
size = 24;
|
||||
};
|
||||
targets.plymouth.enable = true;
|
||||
opacity = {
|
||||
applications = 0.7;
|
||||
popups = 0.7;
|
||||
|
@ -46,13 +46,22 @@ in {
|
|||
popups = 14;
|
||||
|
||||
};
|
||||
sansSerif = config.stylix.fonts.monospace;
|
||||
serif = config.stylix.fonts.monospace;
|
||||
emoji = config.stylix.fonts.monospace;
|
||||
monospace = {
|
||||
package = (pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];});
|
||||
name = "JetBrainsMono";
|
||||
};
|
||||
serif = {
|
||||
package = (pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];});
|
||||
name = "JetBrainsMono";
|
||||
};
|
||||
sansSerif = {
|
||||
package = (pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];});
|
||||
name = "JetBrainsMono";
|
||||
};
|
||||
emoji = {
|
||||
package = pkgs.noto-fonts-emoji;
|
||||
name = "Noto Color Emoji";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue