some hyprland updates
This commit is contained in:
103
modules/desktop-environments/hyprland/theme.nix
Normal file
103
modules/desktop-environments/hyprland/theme.nix
Normal file
@@ -0,0 +1,103 @@
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
themeSize = "compact"; # [ "standard" "compact" ]
|
||||
themeAccent = "all"; # [ "default" "purple" "pink" "red" "orange" "yellow" "green" "teal" "grey" "all" ]
|
||||
themeVariant = "nord"; # [ "nord" "dracula" "gruvbox" "everforest" "catppuccin" "all" "black" "rimless" "normal" "float" ]
|
||||
themeColor = "dark"; # [ "standard" "light" "dark" ]
|
||||
iconThemeVariant = "all"; # [ "default" "purple" "pink" "red" "orange" "yellow" "green" "teal" "grey" "all" ]
|
||||
iconScheme = "nord"; # [ "default" "nord" "dracula" "gruvbox" "everforest" "catppuccin" "all" ]
|
||||
user = "matt";
|
||||
in
|
||||
{
|
||||
# Displays
|
||||
displayLeft = {
|
||||
input = "DP-1";
|
||||
resolution = "3840x2160";
|
||||
refreshRate = "240.00000";
|
||||
};
|
||||
displayRight = {
|
||||
input = "DP-2";
|
||||
resolution = "3840x2160";
|
||||
refreshRate = "240.00000";
|
||||
};
|
||||
|
||||
# Cursor
|
||||
cursorTheme = "macOS";
|
||||
cursorThemePkg = pkgs.apple-cursor;
|
||||
cursorSize = 24;
|
||||
|
||||
# GTK
|
||||
gtkThemeSize = themeSize;
|
||||
gtkThemeAccent = themeAccent;
|
||||
gtkThemeVariant = themeVariant;
|
||||
gtkThemeColor = themeColor;
|
||||
gtkTheme = "Colloid-Dark-Compact-Nord";
|
||||
gtkThemePkg = pkgs.colloid-gtk-theme.override {
|
||||
sizeVariants = [ themeSize ];
|
||||
colorVariants = [ themeColor ];
|
||||
themeVariants = [ themeAccent ];
|
||||
tweaks = [ themeVariant ];
|
||||
};
|
||||
|
||||
# Icons
|
||||
iconThemeScheme = iconScheme;
|
||||
iconTheme = "Colloid-Nord-Dark";
|
||||
iconThemePkg = pkgs.colloid-icon-theme.override {
|
||||
schemeVariants = [ iconScheme ];
|
||||
colorVariants = [ iconThemeVariant ];
|
||||
};
|
||||
|
||||
# Fonts
|
||||
fontName = "JetBrainsMono NFM";
|
||||
fontPackage = pkgs.nerd-fonts.jetbrains-mono;
|
||||
fontSize = 12;
|
||||
|
||||
# SDDM/Locking
|
||||
sddmTheme = "astronaut";
|
||||
lockScreenTimer = 900; # 15 min
|
||||
screenOffTimer = 930; # 15.5 min
|
||||
suspendTimer = 3600; # 1hr
|
||||
|
||||
# Packages needed for the theme(s)
|
||||
requiredPkgs = with pkgs; [
|
||||
adwaita-icon-theme
|
||||
adwaita-icon-theme
|
||||
apple-cursor
|
||||
catppuccin
|
||||
catppuccin-gtk
|
||||
catppuccin-qt5ct
|
||||
catppuccin-sddm
|
||||
colloid-gtk-theme
|
||||
colloid-icon-theme
|
||||
papirus-folders
|
||||
sddm-astronaut
|
||||
];
|
||||
|
||||
# Nord colors
|
||||
nord = {
|
||||
polarNight = {
|
||||
nord0 = "2e3440";
|
||||
nord1 = "3b4252";
|
||||
nord2 = "434c5e";
|
||||
nord3 = "4c566a";
|
||||
};
|
||||
snowStorm = {
|
||||
nord4 = "d8dee9";
|
||||
nord5 = "e5e9f0";
|
||||
nord6 = "eceff4";
|
||||
};
|
||||
frost = {
|
||||
nord7 = "8fbcbb";
|
||||
nord8 = "88c0d0";
|
||||
nord9 = "81a1c1";
|
||||
nord10 = "5e81ac";
|
||||
};
|
||||
aurora = {
|
||||
nord11 = "bf616a";
|
||||
nord12 = "d08770";
|
||||
nord13 = "ebcb8b";
|
||||
nord14 = "a3be8c";
|
||||
nord15 = "b48ead";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user