Visual tweaks

This commit is contained in:
Agatha Lovelace 2023-10-25 13:34:55 +02:00
parent a9f551821f
commit e08b57898a
Signed by: sorceress
GPG Key ID: 01D0B3AB10CED4F8
6 changed files with 34 additions and 18 deletions

View File

@ -48,7 +48,6 @@
follow = true; follow = true;
}; };
"Yubico Authenticator".state = "floating"; "Yubico Authenticator".state = "floating";
"firefox:Places".state = "floating";
}; };
}; };

View File

@ -51,7 +51,6 @@
gnome.nautilus gnome.nautilus
gnome.totem gnome.totem
hyperfine hyperfine
lxappearance
magic-wormhole magic-wormhole
neofetch neofetch
nil nil
@ -137,6 +136,11 @@
<Multi_key> <m><s> : "/html <span data-mx-spoiler=\"\"></span>" <Multi_key> <m><s> : "/html <span data-mx-spoiler=\"\"></span>"
''; '';
# Fix for apps that expect fonts in the usual location
home.file.".local/share/fonts".source =
config.home-manager.users.agatha.lib.file.mkOutOfStoreSymlink
"/run/current-system/sw/share/X11/fonts";
programs.direnv.enable = true; programs.direnv.enable = true;
home.sessionVariables = { "DIRENV_LOG_FORMAT" = ""; }; home.sessionVariables = { "DIRENV_LOG_FORMAT" = ""; };

View File

@ -1,4 +1,4 @@
{ pkgs, config, lib, ... }: { { pkgs, ... }: {
home-manager.users.agatha = { home-manager.users.agatha = {
services.picom = { services.picom = {
enable = true; enable = true;
@ -43,6 +43,8 @@
"class_g = 'firefox-nightly' && argb" "class_g = 'firefox-nightly' && argb"
"class_g = 'firefox' && argb" "class_g = 'firefox' && argb"
"_GTK_FRAME_EXTENTS@:c" "_GTK_FRAME_EXTENTS@:c"
"_NET_FRAME_EXTENTS@:c && WM_WINDOW_ROLE@:s = 'Popup'"
"override_redirect = true"
]; ];
# Fade # Fade
@ -79,9 +81,14 @@
background-exclude = [ background-exclude = [
"window_type = 'dock'" "window_type = 'dock'"
"window_type = 'desktop'" "window_type = 'desktop'"
"window_type = 'dropdown_menu'"
"window_type = 'popup_menu'"
"window_type = 'tooltip'"
"_GTK_FRAME_EXTENTS@:c" "_GTK_FRAME_EXTENTS@:c"
"_NET_FRAME_EXTENTS@:c && WM_WINDOW_ROLE@:s = 'Popup'"
"class_g = 'firefox-nightly' && argb" "class_g = 'firefox-nightly' && argb"
"class_g = 'firefox' && argb" "class_g = 'firefox' && argb"
"override_redirect = true"
]; ];
}; };
}; };

View File

@ -1,4 +1,4 @@
{ pkgs, lib, ... }: { { pkgs, ... }: {
programs.spicetify = with pkgs.spicetify-pkgs; { programs.spicetify = with pkgs.spicetify-pkgs; {
enable = true; enable = true;

View File

@ -36,8 +36,8 @@
recursive = true; recursive = true;
source = pkgs.fetchgit { source = pkgs.fetchgit {
url = "https://github.com/ZorinOS/zorin-desktop-themes.git"; url = "https://github.com/ZorinOS/zorin-desktop-themes.git";
rev = "6708d5148545c6d9a99712f63b5efe5a5c0eb2d9"; rev = "4edec9606ee60d40d6cebae9a5cf5ca52a9b694c";
sha256 = "sha256-3KEPP39dCr0ZjyqbAb/isoGdeiySDTvHL9k4oxcw19M="; sha256 = "sha256-onsQeEuideN8dikcVNnq8v22ccln6I2hXP3jFPg8Hr0=";
sparseCheckout = [ "ZorinPurple-Dark" "ZorinPurple-Light" ]; sparseCheckout = [ "ZorinPurple-Dark" "ZorinPurple-Light" ];
}; };
}; };
@ -52,6 +52,12 @@
"ZorinPurple-Dark"; "ZorinPurple-Dark";
}; };
dconf.settings."org/gnome/desktop/interface".color-scheme =
if config.environment.graphical.theme.light then
"prefer-light"
else
"prefer-dark";
programs.helix.settings.theme = programs.helix.settings.theme =
if config.environment.graphical.theme.light then if config.environment.graphical.theme.light then
"paramount-light" "paramount-light"

View File

@ -53,11 +53,11 @@
"utils": "utils_2" "utils": "utils_2"
}, },
"locked": { "locked": {
"lastModified": 1696354652, "lastModified": 1696800008,
"narHash": "sha256-Axbr9jIerxTsLhONYmSRbtA+W1+D4j8PcYYtidyNVEc=", "narHash": "sha256-dQ2Xf1K5qH18J7h3pzx4ffp6n1nwN+2L8jv6OBXPLzQ=",
"owner": "AgathaSorceress", "owner": "AgathaSorceress",
"repo": "colorpickle", "repo": "colorpickle",
"rev": "4612d3de1692c98e79e2de848c5776b412377bd1", "rev": "a1a21aebbc9b9716136ab9cc6f77bf5346f8e7ba",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -242,11 +242,11 @@
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
}, },
"locked": { "locked": {
"lastModified": 1696295907, "lastModified": 1697893116,
"narHash": "sha256-GFeo5NpbFQjVeu2lv/B/pfZY/+SIt0KRHjh26s0bXAY=", "narHash": "sha256-KVA6ybNgqVpM4JEkvJE5ujucqvAUCsQGdxZYIasRp/8=",
"owner": "helix-editor", "owner": "helix-editor",
"repo": "helix", "repo": "helix",
"rev": "75c0a5ceb32d8a503915a93ccc1b64c8ad1cba8b", "rev": "31f50bf5bf0d49af7359533e0865e878184c5225",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -465,11 +465,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1696261572, "lastModified": 1697915759,
"narHash": "sha256-s8TtSYJ1LBpuITXjbPLUPyxzAKw35LhETcajJjCS5f0=", "narHash": "sha256-WyMj5jGcecD+KC8gEs+wFth1J1wjisZf8kVZH13f1Zo=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "0c7ffbc66e6d78c50c38e717ec91a2a14e0622fb", "rev": "51d906d2341c9e866e48c2efcaac0f2d70bfd43e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -524,11 +524,11 @@
}, },
"nixpkgs_5": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1696039360, "lastModified": 1697777081,
"narHash": "sha256-g7nIUV4uq1TOVeVIDEZLb005suTWCUjSY0zYOlSBsyE=", "narHash": "sha256-n2vQARhKevRGyeo+LAa8g+CdUQsdH/caNk8jnylcPhY=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "32dcb45f66c0487e92db8303a798ebc548cadedc", "rev": "679cadfdfed2b90311a247b2d6ef6dfd3d6cab73",
"type": "github" "type": "github"
}, },
"original": { "original": {