my over complex system configurations dotfiles.isabelroses.com/
nixos nix flake dotfiles linux
9
fork

Configure Feed

Select the types of activity you want to include in your feed.

modules/catppuccin: use oled

isabel a3989a49 5d85e14b

+89 -18
+6 -6
flake.lock
··· 7 7 ] 8 8 }, 9 9 "locked": { 10 - "lastModified": 1777024856, 11 - "narHash": "sha256-OQ+yIcRMXo4UaHyX+W5DCgBvJ5dZo/3kFGWPJiuR6x8=", 10 + "lastModified": 1777392868, 11 + "narHash": "sha256-SXlXUP3hdOLeACtGbx1Q5ShhJs3WgP2SPhCnv9Ew+Hw=", 12 12 "owner": "catppuccin", 13 13 "repo": "nix", 14 - "rev": "f41cc1cf13647e482b7317396f749840ef715e16", 14 + "rev": "89794a2a3023e14d51574499a23edc9945950d03", 15 15 "type": "github" 16 16 }, 17 17 "original": { ··· 201 201 ] 202 202 }, 203 203 "locked": { 204 - "lastModified": 1776833120, 205 - "narHash": "sha256-8q3tdQ5+jYTeGZJhwH5MvOLihrJ0hqv0H4EarvU7PGo=", 204 + "lastModified": 1777394017, 205 + "narHash": "sha256-+oA78EPzF19Cm9UgPfjtyq3E9A5fWsCuTdI9wRzdjGY=", 206 206 "owner": "isabelroses", 207 207 "repo": "nvim", 208 - "rev": "1f148c2ef68e814fb63d42c987cf4e15981c9f12", 208 + "rev": "d6bac47c87c47ba516731cb7bf1cd413b11b85fb", 209 209 "type": "github" 210 210 }, 211 211 "original": {
+4 -4
home/isabel/gui/quickshell/data/Settings.qml
··· 10 10 11 11 component Colors: QtObject { 12 12 property color backgroundLightest: "#313244" 13 - property color backgroundLighter: "#1e1e2e" 14 - property color background: "#181825" 15 - property color backgroundDarker: "#11111b" 13 + property color backgroundLighter: "#000000" 14 + property color background: "#010101" 15 + property color backgroundDarker: "#020202" 16 16 property color foreground: "#cdd6f4" 17 17 property color accent: "#89b4fa" 18 18 property color error: "#f38ba8" ··· 24 24 25 25 property string username: "isabel" 26 26 property string profilePicture: "/home/isabel/media/pictures/pfps/_current" 27 - property string wallpaper: "/home/isabel/media/pictures/wallpapers/rep.png"; 27 + property string wallpaper: "/home/isabel/media/pictures/wallpapers/rn.jpg"; 28 28 property int rounding: 14 29 29 30 30 // Notification settings
+32 -1
home/isabel/themes/catppuccin.nix
··· 1 1 { 2 + lib, 3 + pkgs, 2 4 config, 3 5 inputs, 4 6 options, 5 7 osClass, 8 + osConfig, 6 9 ... 7 10 }: 8 11 let 9 12 isGui = osClass == "nixos" && config.garden.profiles.graphical.enable; 13 + 14 + oled = { 15 + mocha = { 16 + base = "000000"; 17 + mantle = "010101"; 18 + crust = "020202"; 19 + }; 20 + }; 10 21 in 11 22 { 12 23 imports = [ inputs.catppuccin.homeModules.catppuccin ]; ··· 14 25 config = { 15 26 catppuccin = { 16 27 inherit (config.garden.profiles.workstation) enable; 17 - sources = options.catppuccin.sources.default; 28 + sources = 29 + if (options ? "catppuccin") then 30 + osConfig.catppuccin.sources 31 + else 32 + (options.catppuccin.sources.default.overrideScope ( 33 + _final: prev: { 34 + whiskers = pkgs.symlinkJoin { 35 + name = "whiskers-wrapped"; 36 + 37 + paths = [ prev.whiskers ]; 38 + nativeBuildInputs = [ pkgs.makeBinaryWrapper ]; 39 + 40 + postBuild = '' 41 + wrapProgram $out/bin/whiskers \ 42 + --add-flag ${lib.escapeShellArg "--color-overrides=${builtins.toJSON oled}"} 43 + ''; 44 + 45 + meta.mainProgram = "whiskers"; 46 + }; 47 + } 48 + )); 18 49 19 50 flavor = "mocha"; 20 51 accent = "pink";
+18 -5
home/isabel/themes/gtk.nix
··· 42 42 43 43 theme = { 44 44 name = "catppuccin-${ctp.flavor}-${ctp.accent}-standard"; 45 - package = pkgs.catppuccin-gtk.override { 46 - size = "standard"; 47 - accents = [ ctp.accent ]; 48 - variant = ctp.flavor; 49 - }; 45 + package = 46 + (pkgs.catppuccin-gtk.override { 47 + size = "standard"; 48 + accents = [ ctp.accent ]; 49 + variant = ctp.flavor; 50 + }).overrideAttrs 51 + (oa: { 52 + nativeBuildInputs = oa.nativeBuildInputs or [ ] ++ [ 53 + config.catppuccin.sources.whiskers 54 + pkgs.which 55 + ]; 56 + 57 + preInstall = '' 58 + cd sources/patches/colloid 59 + whiskers palette.tera 60 + cd - 61 + ''; 62 + }); 50 63 }; 51 64 52 65 font = {
+29 -2
modules/nixos/catppuccin.nix
··· 1 1 { 2 2 lib, 3 + pkgs, 3 4 config, 4 5 inputs, 5 6 options, 6 7 ... 7 8 }: 9 + let 10 + oled = { 11 + mocha = { 12 + base = "000000"; 13 + mantle = "010101"; 14 + crust = "020202"; 15 + }; 16 + }; 17 + in 8 18 { 9 19 imports = [ inputs.catppuccin.nixosModules.catppuccin ]; 10 20 11 21 config = { 12 22 catppuccin = { 13 23 enable = lib.mkDefault (!config.garden.profiles.headless.enable); 14 - sources = options.catppuccin.sources.default; 15 24 flavor = "mocha"; 16 25 26 + sources = options.catppuccin.sources.default.overrideScope ( 27 + _final: prev: { 28 + whiskers = pkgs.symlinkJoin { 29 + name = "whiskers-wrapped"; 30 + 31 + paths = [ prev.whiskers ]; 32 + nativeBuildInputs = [ pkgs.makeBinaryWrapper ]; 33 + 34 + postBuild = '' 35 + wrapProgram $out/bin/whiskers \ 36 + --add-flag ${lib.escapeShellArg "--color-overrides=${builtins.toJSON oled}"} 37 + ''; 38 + 39 + meta.mainProgram = "whiskers"; 40 + }; 41 + } 42 + ); 43 + 17 44 # IFD, easy to vendor 18 45 tty.enable = false; 19 46 }; 20 47 21 48 console.colors = lib.mkIf config.catppuccin.enable [ 22 - "1e1e2e" 49 + "000000" 23 50 "f38ba8" 24 51 "a6e3a1" 25 52 "f9e2af"