Skip to content

Commit

Permalink
style: update wallpapers
Browse files Browse the repository at this point in the history
  • Loading branch information
flexiondotorg committed Sep 10, 2024
1 parent 3c27fab commit c051cdb
Show file tree
Hide file tree
Showing 20 changed files with 73 additions and 41 deletions.
18 changes: 9 additions & 9 deletions home-manager/_mixins/desktop/gnome/martin/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,24 +43,24 @@ in
picture-options = "zoom";
}
// lib.optionalAttrs (hostname == "phasma") {
picture-uri = "file:///etc/backgrounds/DeterminateColorway-3440x1440.png";
picture-uri-dark = "file:///etc/backgrounds/DeterminateColorway-3440x1440.png";
picture-uri = "file:///etc/backgrounds/Catppuccin-3440x1440.png";
picture-uri-dark = "file:///etc/backgrounds/Catppuccin-3440x1440.png";
}
// lib.optionalAttrs (hostname == "sidious") {
picture-uri = "file:///etc/backgrounds/DeterminateColorway-3840x2160.png";
picture-uri-dark = "file:///etc/backgrounds/DeterminateColorway-3840x2160.png";
picture-uri = "file:///etc/backgrounds/Catppuccin-3840x2160.png";
picture-uri-dark = "file:///etc/backgrounds/Catppuccin-3840x2160.png";
}
// lib.optionalAttrs (hostname == "tanis") {
picture-uri = "file:///etc/backgrounds/DeterminateColorway-1920x1200.png";
picture-uri-dark = "file:///etc/backgrounds/DeterminateColorway-1920x1200.png";
picture-uri = "file:///etc/backgrounds/Catppuccin-1920x1200.png";
picture-uri-dark = "file:///etc/backgrounds/Catppuccin-1920x1200.png";
}
// lib.optionalAttrs (hostname == "vader") {
picture-uri = "file:///etc/backgrounds/DeterminateColorway-2560x2880.png";
picture-uri-dark = "file:///etc/backgrounds/DeterminateColorway-2560x2880.png";
picture-uri = "file:///etc/backgrounds/Catppuccin-2560x2880.png";
picture-uri-dark = "file:///etc/backgrounds/Catppuccin-2560x2880.png";
};

"org/gnome/desktop/screensaver" = {
picture-uri = "file://etc/backgrounds/DeterminateColorway-3840x2160.png";
picture-uri = "file://etc/backgrounds/Catppuccin-3840x2160.png";
};

"org/gnome/desktop/input-sources" = {
Expand Down
53 changes: 42 additions & 11 deletions home-manager/_mixins/desktop/hyprland/hyprpaper/default.nix
Original file line number Diff line number Diff line change
@@ -1,22 +1,53 @@
{hostname, ... }:
let
wallpaperResolution = if hostname == "vader" then
"2560x2880"
else if hostname == "phasma" then
"3440x1440"
else
"1920x1080";
in
{
# hyprpaper is a wallpaper manager and part of the hyprland suite
services = {
hyprpaper = {
enable = true;
settings = {
splash = false;
splash_offset = 2.0;
preload = [ "/etc/backgrounds/DeterminateColorway-${wallpaperResolution}.png" ];
wallpaper = [ ", /etc/backgrounds/DeterminateColorway-${wallpaperResolution}.png" ];
preload = if hostname == "phasma" then
[
"/etc/backgrounds/Catppuccin-3440x1440.png"
"/etc/backgrounds/Catppuccin-2560x1600.png"
"/etc/backgrounds/Catppuccin-1920x1080.png"
]
else if hostname == "vader" then
[
"/etc/backgrounds/Catppuccin-2560x2880.png"
"/etc/backgrounds/Catppuccin-1920x1080.png"
]
else if hostname == "vader" then
[
"/etc/backgrounds/DeterminateColorway-2560x2880.png"
"/etc/backgrounds/DeterminateColorway-1920x1080.png"
]
else
[
"/etc/backgrounds/Catppuccin-1920x1080.png"
];
wallpaper = if hostname == "phasma" then
[
"DP-1, /etc/backgrounds/Catppuccin-3440x1440.png"
"HDMI-A-1, /etc/backgrounds/Catppuccin-2560x1600.png"
"DP-2, /etc/backgrounds/Catppuccin-1920x1080.png"
]
else if hostname == "vader" then
[
"DP-1, /etc/backgrounds/Catppuccin-2560x2880.png"
"DP-2, /etc/backgrounds/Catppuccin-2560x2880.png"
"DP-3, /etc/backgrounds/Catppuccin-1920x1080.png"
]
else if hostname == "vader" then
[
"DP-1, /etc/backgrounds/DeterminateColorway-2560x2880.png"
"DP-2, /etc/backgrounds/DeterminateColorway-2560x2880.png"
"DP-3, /etc/backgrounds/DeterminateColorway-1920x1080.png"
]
else
[
", /etc/backgrounds/Catppuccin-1920x1080.png"
];
};
};
};
Expand Down
18 changes: 9 additions & 9 deletions home-manager/_mixins/desktop/pantheon/martin/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,24 +47,24 @@
picture-options = "zoom";
}
// lib.optionalAttrs (hostname == "phasma") {
picture-uri = "file:///etc/backgrounds/DeterminateColorway-3440x1440.png";
picture-uri-dark = "file:///etc/backgrounds/DeterminateColorway-3440x1440.png";
picture-uri = "file:///etc/backgrounds/Catppuccin-3440x1440.png";
picture-uri-dark = "file:///etc/backgrounds/Catppuccin-3440x1440.png";
}
// lib.optionalAttrs (hostname == "sidious") {
picture-uri = "file:///etc/backgrounds/DeterminateColorway-3840x2160.png";
picture-uri-dark = "file:///etc/backgrounds/DeterminateColorway-3840x2160.png";
picture-uri = "file:///etc/backgrounds/Catppuccin-3840x2160.png";
picture-uri-dark = "file:///etc/backgrounds/Catppuccin-3840x2160.png";
}
// lib.optionalAttrs (hostname == "tanis") {
picture-uri = "file:///etc/backgrounds/DeterminateColorway-1920x1200.png";
picture-uri-dark = "file:///etc/backgrounds/DeterminateColorway-1920x1200.png";
picture-uri = "file:///etc/backgrounds/Catppuccin-1920x1200.png";
picture-uri-dark = "file:///etc/backgrounds/Catppuccin-1920x1200.png";
}
// lib.optionalAttrs (hostname == "vader") {
picture-uri = "file:///etc/backgrounds/DeterminateColorway-2560x2880.png";
picture-uri-dark = "file:///etc/backgrounds/DeterminateColorway-2560x2880.png";
picture-uri = "file:///etc/backgrounds/Catppuccin-2560x2880.png";
picture-uri-dark = "file:///etc/backgrounds/Catppuccin-2560x2880.png";
};

"org/gnome/desktop/screensaver" = {
picture-uri = "file://etc/backgrounds/DeterminateColorway-3840x2160.png";
picture-uri = "file://etc/backgrounds/Catppuccin-3840x2160.png";
};

"org/gnome/desktop/input-sources" = {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
13 changes: 7 additions & 6 deletions nixos/_mixins/desktop/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@
};

environment.etc = {
"backgrounds/DeterminateColorway-1920x1080.png".source = ../configs/backgrounds/DeterminateColorway-1920x1080.png;
"backgrounds/DeterminateColorway-1920x1200.png".source = ../configs/backgrounds/DeterminateColorway-1920x1200.png;
"backgrounds/DeterminateColorway-2560x1440.png".source = ../configs/backgrounds/DeterminateColorway-2560x1440.png;
"backgrounds/DeterminateColorway-2560x2880.png".source = ../configs/backgrounds/DeterminateColorway-2560x2880.png;
"backgrounds/DeterminateColorway-3440x1440.png".source = ../configs/backgrounds/DeterminateColorway-3440x1440.png;
"backgrounds/DeterminateColorway-3840x2160.png".source = ../configs/backgrounds/DeterminateColorway-3840x2160.png;
"backgrounds/Catppuccin-1920x1080.png".source = ../configs/backgrounds/Catppuccin-1920x1080.png;
"backgrounds/Catppuccin-1920x1200.png".source = ../configs/backgrounds/Catppuccin-1920x1200.png;
"backgrounds/Catppuccin-2560x1440.png".source = ../configs/backgrounds/Catppuccin-2560x1440.png;
"backgrounds/Catppuccin-2560x1600.png".source = ../configs/backgrounds/Catppuccin-2560x1600.png;
"backgrounds/Catppuccin-2560x2880.png".source = ../configs/backgrounds/Catppuccin-2560x2880.png;
"backgrounds/Catppuccin-3440x1440.png".source = ../configs/backgrounds/Catppuccin-3440x1440.png;
"backgrounds/Catppuccin-3840x2160.png".source = ../configs/backgrounds/Catppuccin-3840x2160.png;
};

environment.systemPackages =
Expand Down
4 changes: 2 additions & 2 deletions nixos/_mixins/desktop/hyprland/greetd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ in
}
output * scale 1
output * bg #1E1E2D solid_color
output * bg /etc/backgrounds/DeterminateColorway-${wallpaperResolution}.png fill
output * bg /etc/backgrounds/Catppuccin-${wallpaperResolution}.png fill
seat seat0 xcursor_theme catppuccin-mocha-blue-cursors 48
xwayland disable
exec "${pkgs.greetd.regreet}/bin/regreet; ${pkgs.sway}/bin/swaymsg exit"
Expand All @@ -75,7 +75,7 @@ in
};
# https://docs.gtk.org/gtk4/enum.ContentFit.html
background = {
path = "/etc/backgrounds/DeterminateColorway-${wallpaperResolution}.png";
path = "/etc/backgrounds/Catppuccin-${wallpaperResolution}.png";
fit = "Cover";
};
commands = {
Expand Down
2 changes: 1 addition & 1 deletion nixos/_mixins/services/homepage/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ lib.mkIf (lib.elem "${hostname}" installOn) {
];
settings = {
background = {
image = "https://raw.githubusercontent.com/wimpysworld/nix-config/main/nixos/_mixins/configs/backgrounds/DeterminateColorway-2560x1440.png";
image = "https://raw.githubusercontent.com/wimpysworld/nix-config/main/nixos/_mixins/configs/backgrounds/Catppuccin-2560x2880.png";
blur = "sm"; # sm, md, xl... see https://tailwindcss.com/docs/backdrop-blur
saturate = "75"; # 0, 50, 100... see https://tailwindcss.com/docs/backdrop-saturate
brightness = "75"; # 0, 50, 75... see https://tailwindcss.com/docs/backdrop-brightness
Expand Down
6 changes: 3 additions & 3 deletions nixos/_mixins/users/nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ in
};
"org/gnome/desktop/background" = {
picture-options = "zoom";
picture-uri = "file:///etc/backgrounds/DeterminateColorway-3840x2160.png";
picture-uri-dark = "file:///etc/backgrounds/DeterminateColorway-3840x2160.png";
picture-uri = "file:///etc/backgrounds/Catppuccin-3840x2160.png";
picture-uri-dark = "file:///etc/backgrounds/Catppuccin-3840x2160.png";
};
"org/gnome/desktop/screensaver" = {
picture-uri = "file:///etc/backgrounds/DeterminateColorway-3840x2160.png";
picture-uri = "file:///etc/backgrounds/Catppuccin-3840x2160.png";
};
};
}
Expand Down

0 comments on commit c051cdb

Please sign in to comment.