Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
Geoffrey Frogeye | d8ae0467c3 |
14
hm/style.nix
14
hm/style.nix
|
@ -11,18 +11,20 @@ let
|
|||
{ command = "nuit"; polarity = "dark"; }
|
||||
];
|
||||
cfg = config.frogeye.desktop.phasesBrightness;
|
||||
bg = builtins.fetchurl {
|
||||
url = "https://get.wallhere.com/photo/sunlight-abstract-minimalism-green-simple-circle-light-leaf-wave-material-line-wing-computer-wallpaper-font-close-up-macro-photography-124350.png";
|
||||
sha256 = "sha256:1zfq3f3v34i45mi72pkfqphm8kbhczsg260xjfl6dbydy91d7y93";
|
||||
};
|
||||
bg_nored = pkgs.runCommand "bg.png" { env.GIMP2_DIRECTORY = "/tmp"; } ''
|
||||
${pkgs.gimp}/bin/gimp ${bg} --no-interface --no-data --no-fonts bg.png -b "(gimp-levels 2 1 0 255 1 0 0)" -b "(file-png-save-defaults 1 1 2 '$out' '$out')" -b "(gimp-quit 1)"
|
||||
'';
|
||||
in
|
||||
{
|
||||
imports = [ (import stylix).homeManagerModules.stylix ];
|
||||
|
||||
stylix = {
|
||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/solarized-${polarity}.yaml";
|
||||
image = builtins.fetchurl {
|
||||
url = "https://get.wallhere.com/photo/sunlight-abstract-minimalism-green-simple-circle-light-leaf-wave-material-line-wing-computer-wallpaper-font-close-up-macro-photography-124350.png";
|
||||
sha256 = "sha256:1zfq3f3v34i45mi72pkfqphm8kbhczsg260xjfl6dbydy91d7y93";
|
||||
};
|
||||
# The background is set on some occasions, autorandr + feh do the rest
|
||||
|
||||
image = bg_nored; # The background is set on some occasions, autorandr + feh do the rest
|
||||
fonts = {
|
||||
monospace = {
|
||||
package = pkgs.nerdfonts.override {
|
||||
|
|
Loading…
Reference in a new issue