change themes

This commit is contained in:
mjallen18
2024-08-26 22:40:58 -05:00
parent c42e4f5a98
commit f536406ab0
10 changed files with 247 additions and 124 deletions

78
flake.lock generated
View File

@@ -53,11 +53,11 @@
"yafas": "yafas" "yafas": "yafas"
}, },
"locked": { "locked": {
"lastModified": 1724418754, "lastModified": 1724696661,
"narHash": "sha256-1pSQbkskj4pl1WxwByJ3pY6d35xWohlNo8pSvomxq+o=", "narHash": "sha256-tnT2qpwWAUEIdDZ8uhMP6zE+fFgjjWxCzvJ5u3WaASU=",
"owner": "chaotic-cx", "owner": "chaotic-cx",
"repo": "nyx", "repo": "nyx",
"rev": "61d7effc892f676cd8b07baa9a35df511d02215e", "rev": "e327b184c7b62b183fc9dd68c43b3e26a1469f35",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -92,11 +92,11 @@
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
}, },
"locked": { "locked": {
"lastModified": 1724431223, "lastModified": 1724636144,
"narHash": "sha256-m8K3mXCi6VypEMI3eirtChsaXBSJvKsoMwOXpuMqfZ4=", "narHash": "sha256-yKpqZ6D8BP/D113KC1y5R/QAv9uy8SIRZToAZQDfhkI=",
"owner": "lilyinstarlight", "owner": "lilyinstarlight",
"repo": "nixos-cosmic", "repo": "nixos-cosmic",
"rev": "f4ecea2443e7905f01d06b9a00c3219c0c7799ff", "rev": "a6292140f1813e97d0cd0d2242685f9007b1b5d7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -135,11 +135,11 @@
"rust-analyzer-src": "rust-analyzer-src" "rust-analyzer-src": "rust-analyzer-src"
}, },
"locked": { "locked": {
"lastModified": 1724308100, "lastModified": 1724394478,
"narHash": "sha256-1lP786QhspMdDNJGv2qep27BM9Dnce+7scwp1e49rKs=", "narHash": "sha256-JSiv2uwI4UJo/4pxt4255BfzWCiEberJmBC6pCxnzas=",
"owner": "nix-community", "owner": "nix-community",
"repo": "fenix", "repo": "fenix",
"rev": "37d8c6b53394b9ac18af2e045bb92aaf6e412881", "rev": "2e7bcdc4ef73aa56abd2f970e5a8b9c0cc87e614",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -410,11 +410,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1723986931, "lastModified": 1724412708,
"narHash": "sha256-Fy+KEvDQ+Hc8lJAV3t6leXhZJ2ncU5/esxkgt3b8DEY=", "narHash": "sha256-tLr1k+UZLVumyqXRU8E5lBtLjsvHSy8e2NiamfkjpYg=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "2598861031b78aadb4da7269df7ca9ddfc3e1671", "rev": "b18f3ebc4029c22d437e3424014c8597a8b459a0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -430,11 +430,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1724422166, "lastModified": 1724435763,
"narHash": "sha256-l9zifWrZe6sRTwl/Padz+a6zwGeE9eaU+0PFWtUQl2w=", "narHash": "sha256-UNky3lJNGQtUEXT2OY8gMxejakSWPTfWKvpFkpFlAfM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "5dc25356567119127f046b347c3060a8dd607365", "rev": "c2cd2a52e02f1dfa1c88f95abeb89298d46023be",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -445,11 +445,11 @@
}, },
"impermanence": { "impermanence": {
"locked": { "locked": {
"lastModified": 1724146542, "lastModified": 1724489415,
"narHash": "sha256-MLxtqDtu+y/4UDhXX5pFypX9/qbH54TDP6Z90oFzd/A=", "narHash": "sha256-ey8vhwY/6XCKoh7fyTn3aIQs7WeYSYtLbYEG87VCzX4=",
"owner": "nix-community", "owner": "nix-community",
"repo": "impermanence", "repo": "impermanence",
"rev": "03fe473c731cda2900bae9894b8dfc68e3492db5", "rev": "c7f5b394397398c023000cf843986ee2571a1fd7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -537,11 +537,11 @@
"nixpkgs": "nixpkgs_4" "nixpkgs": "nixpkgs_4"
}, },
"locked": { "locked": {
"lastModified": 1724299755, "lastModified": 1724561770,
"narHash": "sha256-P5zMA17kD9tqiqMuNXwupkM7buM3gMNtoZ1VuJTRDE4=", "narHash": "sha256-zv8C9RNa86CIpyHwPIVO/k+5TfM8ZbjGwOOpTe1grls=",
"owner": "LnL7", "owner": "LnL7",
"repo": "nix-darwin", "repo": "nix-darwin",
"rev": "a8968d88e5a537b0491f68ce910749cd870bdbef", "rev": "ac5694a0b855a981e81b4d9f14052e3ff46ca39e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -640,11 +640,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1724067415, "lastModified": 1724575805,
"narHash": "sha256-WJBAEFXAtA41RMpK8mvw0cQ62CJkNMBtzcEeNIJV7b0=", "narHash": "sha256-OB/kEL3GAhUZmUfkbPfsPhKs0pRqJKs0EEBiLfyKZw8=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "b09c46430ffcf18d575acf5c339b38ac4e1db5d2", "rev": "9fc19be21f0807d6be092d70bf0b1de0c00ac895",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -684,11 +684,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1724242322, "lastModified": 1724316499,
"narHash": "sha256-HMpK7hNjhEk4z5SFg5UtxEio9OWFocHdaQzCfW1pE7w=", "narHash": "sha256-Qb9MhKBUTCfWg/wqqaxt89Xfi6qTD3XpTzQ9eXi3JmE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "224042e9a3039291f22f4f2ded12af95a616cca0", "rev": "797f7dc49e0bc7fab4b57c021cdf68f595e47841",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -748,11 +748,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1724224976, "lastModified": 1724479785,
"narHash": "sha256-Z/ELQhrSd7bMzTO8r7NZgi9g5emh+aRKoCdaAv5fiO0=", "narHash": "sha256-pP3Azj5d6M5nmG68Fu4JqZmdGt4S4vqI5f8te+E/FTw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c374d94f1536013ca8e92341b540eba4c22f9c62", "rev": "d0e1602ddde669d5beb01aec49d71a51937ed7be",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -764,11 +764,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1724224976, "lastModified": 1724479785,
"narHash": "sha256-Z/ELQhrSd7bMzTO8r7NZgi9g5emh+aRKoCdaAv5fiO0=", "narHash": "sha256-pP3Azj5d6M5nmG68Fu4JqZmdGt4S4vqI5f8te+E/FTw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c374d94f1536013ca8e92341b540eba4c22f9c62", "rev": "d0e1602ddde669d5beb01aec49d71a51937ed7be",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -914,11 +914,11 @@
"rust-analyzer-src": { "rust-analyzer-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1724153119, "lastModified": 1724345276,
"narHash": "sha256-WxpvDJDttkINkXmUA/W5o11lwLPYhATAgu0QUAacZ2g=", "narHash": "sha256-MKvjkqVL/RJ3QXOA8tSUoK7HHXVGSB2AL+vKxU4Cf+c=",
"owner": "rust-lang", "owner": "rust-lang",
"repo": "rust-analyzer", "repo": "rust-analyzer",
"rev": "3723e5910c14f0ffbd13de474b8a8fcc74db04ce", "rev": "9b724459b5900c2424f5069023d6596a8617284b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -936,11 +936,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1724293269, "lastModified": 1724552650,
"narHash": "sha256-x/XhOAszT/ejditCHUtGOjQcVg2AQhrC/QVew3i7kTI=", "narHash": "sha256-u1xzgrdRTL0DQhjXMgmEvl75IrL8zGf0RS34IQJXxeU=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "6dc6d34a3a217457d7044dcce32b6d537480a6a1", "rev": "19fda552b69513df7b6aa5fcfd1412c0221467b1",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -4,10 +4,12 @@ in
home.file = { home.file = {
".config/wallpapers".source = "${configDir}/wallpapers"; ".config/wallpapers".source = "${configDir}/wallpapers";
".config/kitty/macchiato.conf".source = "${configDir}/kitty/macchiato.conf"; ".config/kitty/macchiato.conf".source = "${configDir}/kitty/macchiato.conf";
".config/kitty/nord.conf".source = "${configDir}/kitty/nord.conf";
".config/wlogout".source = "${configDir}/wlogout"; # ".config/wlogout".source = "${configDir}/wlogout"; #
".config/waybar/scripts".source = "${configDir}/waybar/scripts"; ".config/waybar/scripts".source = "${configDir}/waybar/scripts";
".config/waybar/macchiato.css".source = "${configDir}/waybar/macchiato.css"; ".config/waybar/macchiato.css".source = "${configDir}/waybar/macchiato.css";
".config/btop/themes/catppuccin_macchiato.theme".source = "${configDir}/btop/themes/catppuccin_macchiato.theme"; ".config/waybar/nord.css".source = "${configDir}/waybar/nord.css";
".config/btop/themes".source = "${configDir}/btop/themes";
".config/nwg-drawer".source = "${configDir}/nwg-drawer"; ".config/nwg-drawer".source = "${configDir}/nwg-drawer";
".config/nwg-panel".source = "${configDir}/nwg-panel"; ".config/nwg-panel".source = "${configDir}/nwg-panel";
}; };

View File

@@ -2,7 +2,7 @@
programs.btop = { programs.btop = {
enable = true; enable = true;
settings = { settings = {
color_theme = "/home/matt/.config/btop/themes/catppuccin_macchiato.theme"; color_theme = "/home/matt/.config/btop/themes/nord.theme";
theme_background = true; theme_background = true;
truecolor = true; truecolor = true;
force_tty = false; force_tty = false;

View File

@@ -0,0 +1,42 @@
theme[main_bg]="#2e3440"
theme[main_fg]="#eceff4"
theme[title]="#eceff4"
theme[hi_fg]="#8fbcbb"
theme[selected_bg]="#3b4252"
theme[selected_fg]="#8fbcbb"
theme[inactive_fg]="#434c5e"
theme[graph_text]="#eceff4"
theme[meter_bg]="#3b4252"
theme[proc_misc]="#eceff4"
theme[cpu_box]="#b48ead"
theme[mem_box]="#a3be8c"
theme[net_box]="#d08770"
theme[proc_box]="#bf616a"
theme[div_line]="#3b4252"
theme[temp_start]="#a3be8c"
theme[temp_mid]="#ebcb8b"
theme[temp_end]="#bf616a"
theme[cpu_start]="#b48ead"
theme[cpu_mid]="#d08770"
theme[cpu_end]="#bf616a"
theme[free_start]="#a3be8c"
theme[free_mid]="#ebcb8b"
theme[free_end]="#d08770"
theme[cached_start]="#a3be8c"
theme[cached_mid]="#ebcb8b"
theme[cached_end]="#d08770"
theme[available_start]="#eceff4"
theme[available_mid]="#bf616a"
theme[available_end]="#bf616a"
theme[used_start]="#a3be8c"
theme[used_mid]="#ebcb8b"
theme[used_end]="#bf616a"
theme[download_start]="#88c0d0"
theme[download_mid]="#88c0d0"
theme[download_end]="#d08770"
theme[upload_start]="#8fbcbb"
theme[upload_mid]="#8fbcbb"
theme[upload_end]="#d08770"
theme[process_start]="#b48ead"
theme[process_mid]="#d08770"
theme[process_end]="#bf616a"

View File

@@ -11,13 +11,13 @@
}; };
settings = { settings = {
include = "~/.config/kitty/macchiato.conf"; include = "~/.config/kitty/nord.conf";
bold_font = "auto"; bold_font = "auto";
italic_font = "auto"; italic_font = "auto";
bold_italic_font = "auto"; bold_italic_font = "auto";
mouse_hide_wait = "2.0"; mouse_hide_wait = "2.0";
cursor_shape = "block"; cursor_shape = "block";
url_color = "#0087bd"; url_color = "#88c0d0";
url_style = "dotted"; url_style = "dotted";
confirm_os_window_close = "0"; confirm_os_window_close = "0";
background_opacity = "0.8"; background_opacity = "0.8";

View File

@@ -0,0 +1,72 @@
# vim:ft=kitty
# The basic colors
foreground #eceff4
background #2e3440
selection_foreground #2e3440
selection_background #b48ead
# Cursor colors
cursor #b48ead
cursor_text_color #2e3440
# URL underline color when hovering with mouse
url_color #b48ead
# Kitty window border colors
active_border_color #5e81ac
inactive_border_color #3b4252
bell_border_color #ebcb8b
# OS Window titlebar colors
wayland_titlebar_color #2e3440
macos_titlebar_color #2e3440
# Tab bar colors
active_tab_foreground #4c566a
active_tab_background #b48ead
inactive_tab_foreground #eceff4
inactive_tab_background #3b4252
tab_bar_background #4c566a
# Colors for marks (marked text in the terminal)
mark1_foreground #2e3440
mark1_background #5e81ac
mark2_foreground #2e3440
mark2_background #b48ead
mark3_foreground #2e3440
mark3_background #7DC4E4
# The 16 terminal colors
# black
color0 #2e3440
color8 #3b4252
# red
color1 #bf616a
color9 #bf616a
# green
color2 #a3be8c
color10 #a3be8c
# yellow
color3 #ebcb8b
color11 #ebcb8b
# blue
color4 #5e81ac
color12 #5e81ac
# magenta
color5 #b48ead
color13 #b48ead
# cyan
color6 #88c0d0
color14 #88c0d0
# white
color7 #e5e9f0
color15 #d8dee9

View File

@@ -165,33 +165,23 @@
# https://catppuccin.com/palette # https://catppuccin.com/palette
style = '' style = ''
@define-color rosewater #f4dbd6; @define-color nord0 #2e3440;
@define-color flamingo #f0c6c6; @define-color nord1 #3b4252;
@define-color pink #f5bde6; @define-color nord2 #434c5e;
@define-color mauve #c6a0f6; @define-color nord3 #4c566a;
@define-color red #ed8796; @define-color nord4 #d8dee9;
@define-color maroon #ee99a0; @define-color nord5 #e5e9f0;
@define-color peach #f5a97f; @define-color nord6 #eceff4;
@define-color yellow #eed49f; @define-color nord7 #8fbcbb;
@define-color green #a6da95; @define-color nord8 #88c0d0;
@define-color teal #8bd5ca; @define-color nord9 #81a1c1;
@define-color sky #91d7e3; @define-color nord10 #5e81ac;
@define-color sapphire #7dc4e4; @define-color nord11 #bf616a;
@define-color blue #8aadf4; @define-color nord12 #d08770;
@define-color lavender #b7bdf8; @define-color nord13 #ebcb8b;
@define-color text #cad3f5; @define-color nord14 #a3be8c;
@define-color subtext1 #b8c0e0; @define-color nord15 #b48ead;
@define-color subtext0 #a5adcb; /*@import "nord.css";*/
@define-color overlay2 #939ab7;
@define-color overlay1 #8087a2;
@define-color overlay0 #6e738d;
@define-color surface2 #5b6078;
@define-color surface1 #494d64;
@define-color surface0 #363a4f;
@define-color base #24273a;
@define-color mantle #1e2030;
@define-color crust #181926;
/*@import "macchiato.css";*/
* { * {
font-family: font-family:
@@ -203,7 +193,7 @@
#waybar { #waybar {
background: transparent; background: transparent;
color: @text; color: @nord6;
margin: 5px 5px; margin: 5px 5px;
} }
@@ -211,50 +201,50 @@
padding: 0.5rem 1rem; padding: 0.5rem 1rem;
margin: 5px 0; margin: 5px 0;
border-radius: 1rem; border-radius: 1rem;
background-color: @surface0; background-color: @nord0;
opacity: 0.6; opacity: 0.6;
margin-left: 1rem; margin-left: 1rem;
} }
#workspaces button { #workspaces button {
color: @lavender; color: @nord10;
border-radius: 1rem; border-radius: 1rem;
padding: 0.4rem; padding: 0.4rem;
} }
#workspaces button.active { #workspaces button.active {
color: @sky; color: @nord8;
border-radius: 1rem; border-radius: 1rem;
} }
#workspaces button:hover { #workspaces button:hover {
color: @sapphire; color: @nord7;
border-radius: 1rem; border-radius: 1rem;
} }
#workspaces button.focused { #workspaces button.focused {
color: @subtext0; color: @nord6;
background: @yellow; background: @nord13;
border-radius: 1rem; border-radius: 1rem;
} }
#workspaces button.urgent { #workspaces button.urgent {
color: @crust; color: @nord0;
background: @subtext0; background: @nord6;
border-radius: 1rem; border-radius: 1rem;
} }
#tooltip { #tooltip {
background: @surface0; background: @nord0;
border-radius: 1rem; border-radius: 1rem;
border-width: 1rem; border-width: 1rem;
border-style: solid; border-style: solid;
border-color: @crust; border-color: @nord0;
} }
#window { #window {
color: @lavender; color: @nord15;
background-color: @surface0; background-color: @nord0;
opacity: 0.6; opacity: 0.6;
padding: 0.5rem 1rem; padding: 0.5rem 1rem;
margin: 5px 0; margin: 5px 0;
@@ -264,8 +254,8 @@
} }
#custom-weather { #custom-weather {
color: @rosewater; color: @nord10;
background-color: @surface0; background-color: @nord0;
padding: 0.5rem 1rem; padding: 0.5rem 1rem;
margin: 5px 0; margin: 5px 0;
border-radius: 0rem 1rem 1rem 0rem; border-radius: 0rem 1rem 1rem 0rem;
@@ -273,8 +263,8 @@
} }
#clock { #clock {
color: @flamingo; color: @nord9;
background-color: @surface0; background-color: @nord0;
padding: 0.5rem 1rem; padding: 0.5rem 1rem;
margin: 5px 0; margin: 5px 0;
border-radius: 1rem 0rem 0rem 1rem; border-radius: 1rem 0rem 0rem 1rem;
@@ -284,24 +274,24 @@
/* ------------- */ /* ------------- */
#pulseaudio.microphone { #pulseaudio.microphone {
color: @mauve; color: @nord8;
background-color: @surface0; background-color: @nord0;
padding: 0.5rem 1rem; padding: 0.5rem 1rem;
margin: 5px 0; margin: 5px 0;
border-radius: 0rem 1rem 1rem 0rem; border-radius: 0rem 1rem 1rem 0rem;
} }
#pulseaudio { #pulseaudio {
color: @red; color: @nord7;
background-color: @surface0; background-color: @nord0;
padding: 0.5rem 1rem; padding: 0.5rem 1rem;
margin: 5px 0; margin: 5px 0;
border-radius: 0; border-radius: 0;
} }
#keyboard-state.numlock { #keyboard-state.numlock {
color: @maroon; color: @nord8;
background-color: @surface0; background-color: @nord0;
padding: 0.5rem; padding: 0.5rem;
margin: 5px 0; margin: 5px 0;
border-radius: 0; border-radius: 0;
@@ -309,8 +299,8 @@
} }
#keyboard-state.capslock { #keyboard-state.capslock {
color: @peach; color: @nord9;
background-color: @surface0; background-color: @nord0;
padding: 0.5rem; padding: 0.5rem;
margin: 5px 0; margin: 5px 0;
border-radius: 0; border-radius: 0;
@@ -318,24 +308,24 @@
} }
#temperature.gpu { #temperature.gpu {
color: @yellow; color: @nord10;
background-color: @surface0; background-color: @nord0;
padding: 0.5rem 1rem; padding: 0.5rem 1rem;
margin: 5px 0; margin: 5px 0;
border-radius: 0; border-radius: 0;
} }
#temperature { #temperature {
color: @green; color: @nord9;
background-color: @surface0; background-color: @nord0;
padding: 0.5rem 1rem; padding: 0.5rem 1rem;
margin: 5px 0; margin: 5px 0;
border-radius: 0; border-radius: 0;
} }
#custom-updates { #custom-updates {
color: @teal; color: @nord8;
background-color: @surface0; background-color: @nord0;
padding: 0.5rem 1rem; padding: 0.5rem 1rem;
margin: 5px 0; margin: 5px 0;
border-radius: 1rem 0rem 0rem 1rem; border-radius: 1rem 0rem 0rem 1rem;
@@ -345,7 +335,7 @@
/* ------------- */ /* ------------- */
#tray { #tray {
background-color: @surface0; background-color: @nord0;
padding: 0.5rem 1rem; padding: 0.5rem 1rem;
margin: 5px 0; margin: 5px 0;
margin-right: 1rem; margin-right: 1rem;

View File

@@ -0,0 +1,16 @@
@define-color nord0 #2e3440;
@define-color nord1 #3b4252;
@define-color nord2 #434c5e;
@define-color nord3 #4c566a;
@define-color nord4 #d8dee9;
@define-color nord5 #e5e9f0;
@define-color nord6 #eceff4;
@define-color nord7 #8fbcbb;
@define-color nord8 #88c0d0;
@define-color nord9 #81a1c1;
@define-color nord10 #5e81ac;
@define-color nord11 #bf616a;
@define-color nord12 #d08770;
@define-color nord13 #ebcb8b;
@define-color nord14 #a3be8c;
@define-color nord15 #b48ead;

View File

@@ -24,6 +24,7 @@ in
ddcutil ddcutil
dunst dunst
glib glib
gnome-tweaks
gnome-disk-utility gnome-disk-utility
gsettings-desktop-schemas gsettings-desktop-schemas
hyprland hyprland

View File

@@ -5,21 +5,21 @@ let
cursorThemePkg = pkgs.apple-cursor; cursorThemePkg = pkgs.apple-cursor;
cursorSize = 24; cursorSize = 24;
gtkThemeSize = "compact"; gtkThemeSize = "compact";
gtkThemeAccent = "blue"; gtkThemeAccent = "all";
gtkThemeVariant = "macchiato"; gtkThemeVariant = "nord";
gtkTheme = "catppuccin-${gtkThemeVariant}-${gtkThemeAccent}-${gtkThemeSize}"; gtkThemeColor = "dark";
gtkThemePkg = pkgs.catppuccin-gtk.override { gtkTheme = "Colloid-Dark-Compact-Nord";
size = gtkThemeSize; gtkThemePkg = pkgs.colloid-gtk-theme.override {
accents = [ gtkThemeAccent ]; sizeVariants = [ gtkThemeSize ];
variant = gtkThemeVariant; colorVariants = [ gtkThemeColor ];
}; themeVariants = [ gtkThemeAccent ];
tweaks = [ gtkThemeVariant ];
};
iconThemeColor = "dark"; # "" "light" "dark" iconThemeColor = "dark"; # "" "light" "dark"
iconThemeVariant = "default"; # "" "purple" "pink" "red" "orange" "yellow" "green" "teal" "grey" # iconThemeVariant = "default"; # "" "purple" "pink" "red" "orange" "yellow" "green" "teal" "grey"
iconThemeScheme = "nord"; # "" "nord" "dracula" "gruvbox" "everforest" "catppuccin" iconThemeScheme = "nord"; # "" "nord" "dracula" "gruvbox" "everforest" "catppuccin"
iconTheme = "Colloid-${iconThemeScheme}-${iconThemeColor}"; iconTheme = "Colloid-${iconThemeScheme}-${iconThemeColor}";
iconThemePkg = pkgs.colloid-icon-theme.override { iconThemePkg = pkgs.colloid-icon-theme.override { schemeVariants = [ iconThemeScheme ]; };
schemeVariants = [ iconThemeScheme ];
};
in in
{ {
imports = [ imports = [
@@ -49,10 +49,10 @@ in
enable = true; enable = true;
settings = { settings = {
general = { general = {
before_sleep_cmd = "loginctl lock-session"; # lock before suspend. before_sleep_cmd = "loginctl lock-session"; # lock before suspend.
after_sleep_cmd = "hyprctl dispatch dpms on"; # to avoid having to press a key twice to turn on the display. after_sleep_cmd = "hyprctl dispatch dpms on"; # to avoid having to press a key twice to turn on the display.
ignore_dbus_inhibit = false; ignore_dbus_inhibit = false;
lock_cmd = "pidof hyprlock || hyprlock"; # avoid starting multiple hyprlock instances. lock_cmd = "pidof hyprlock || hyprlock"; # avoid starting multiple hyprlock instances.
}; };
listener = [ listener = [
# { # {
@@ -84,7 +84,7 @@ in
background = [ background = [
{ {
monitor = ""; monitor = "";
path = wallpaper; # supports png, jpg, webp (no animations, though) path = wallpaper; # supports png, jpg, webp (no animations, though)
color = "rgba(25, 20, 20, 1.0)"; color = "rgba(25, 20, 20, 1.0)";
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations # all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
@@ -129,8 +129,8 @@ in
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1"; QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
QT_AUTO_SCREEN_SCALE_FACTOR = "1"; QT_AUTO_SCREEN_SCALE_FACTOR = "1";
GTK_CSD = "0"; GTK_CSD = "0";
# WLR_DRM_DEVICES = "/dev/dri/card0"; # WLR_DRM_DEVICES = "/dev/dri/card0";
# WLR_NO_HARDWARE_CURSORS = "1"; # WLR_NO_HARDWARE_CURSORS = "1";
CLUTTER_BACKEND = "wayland"; CLUTTER_BACKEND = "wayland";
# WLR_RENDERER = "vulkan"; # WLR_RENDERER = "vulkan";
XCURSOR_THEME = cursorTheme; XCURSOR_THEME = cursorTheme;
@@ -151,7 +151,7 @@ in
home.pointerCursor = { home.pointerCursor = {
gtk.enable = true; gtk.enable = true;
package = cursorThemePkg; package = cursorThemePkg;
name = cursorTheme; name = cursorTheme;
size = cursorSize; size = cursorSize;
}; };
@@ -159,8 +159,8 @@ in
enable = true; enable = true;
cursorTheme = { cursorTheme = {
name = cursorTheme; # macOS-[BigSur, Monterey]-[ , White, White-Windows, Windows] name = cursorTheme; # macOS-[BigSur, Monterey]-[ , White, White-Windows, Windows]
package = cursorThemePkg; package = cursorThemePkg;
}; };
theme = { theme = {
@@ -182,4 +182,4 @@ in
}; };
}; };
} }