Add wallpapers

This commit is contained in:
Hadi
2024-03-13 18:09:30 +01:00
parent a17cf20b6d
commit 7632c0fd10
12 changed files with 74 additions and 59 deletions

View File

@@ -52,5 +52,6 @@
./neofetch
./spicetify
./variables/theme
./wallpaper
];
}

View File

@@ -1,11 +1,10 @@
{ pkgs, config, ... }: {
imports = [ ./hyprlock.nix ./hypridle.nix ];
imports = [ ./hyprlock.nix ./hypridle.nix ./hyprpaper.nix ];
home.packages = with pkgs; [
xdg-desktop-portal-hyprland
wlr-randr
swww
wl-clipboard
brightnessctl
gnome.gnome-themes-extra
@@ -31,11 +30,7 @@
"$menu" = "menu";
"$powermenu" = "${pkgs.wlogout}/bin/wlogout";
exec-once = [
"swww init"
"swww img /home/hadi/.config/wallpaper/default.png"
"hypridle"
];
exec-once = [ "hypridle" "hyprpaper"];
monitor = [
"eDP-2,highres,0x0,1"

View File

@@ -0,0 +1,8 @@
{ pkgs, config, ... }: {
home.packages = with pkgs; [ hyprpaper ];
xdg.configFile."hypr/hyprpaper.conf".text = ''
preload = ~/.config/wallpaper/${config.theme.wallpaper}
wallpaper = ,~/.config/wallpaper/${config.theme.wallpaper}
'';
}

View File

@@ -24,6 +24,7 @@
'';
shellAliases = {
sl = "ls";
vim = "nvim";
v = "nvim";
c = "clear";

View File

@@ -1,41 +0,0 @@
{
imports = [ ./config/template.nix ];
theme = {
waybar-transparent = true;
font-mono = "FiraCode Nerd Font Mono";
font = "SFProDisplay Nerd Font";
rounding = 12;
gaps-in = 10;
gaps-out = 20;
border-size = 3;
colors = {
bg = "040409";
fg = "FCFCFC";
alt-bg = "101012";
alt-fg = "ECECEC";
primary-bg = "a158ff";
primary-fg = "000000";
secondary-bg = "4928B8";
secondary-fg = "000000";
color0 = "000000";
color1 = "f7768e";
color2 = "73daca";
color3 = "e0af68";
color4 = "7aa2f7";
color5 = "9978F8";
color6 = "7dcfff";
color7 = "E4E5E7";
color8 = "515878";
color9 = "f7869e";
color10 = "83eada";
color11 = "f0bf78";
color12 = "8ab2f7";
color13 = "A988F8";
color14 = "8ddfff";
color15 = "f4f5f7";
};
};
}

View File

@@ -9,6 +9,12 @@ with lib;
type = types.bool;
description = "Does waybar have a transparent background?";
};
wallpaper = mkOption {
type = types.str;
description = "Name of the wallpaper (in the wallpaper directory)";
};
font = mkOption {
type = types.str;
description = "Default font";

View File

@@ -1 +1 @@
{ imports = [ ./blackish.nix ]; }
{ imports = [ ./nixy.nix ]; }

View File

@@ -2,19 +2,21 @@
imports = [ ./config/template.nix ];
theme = {
wallpaper = "default.png";
waybar-transparent = true;
font-mono = "FiraCode Nerd Font Mono";
font = "SFProDisplay Nerd Font";
rounding = 15;
rounding = 12;
gaps-in = 10;
gaps-out = 15;
border-size = 2;
gaps-out = 20;
border-size = 3;
colors = {
bg = "090914";
bg = "040409";
fg = "FCFCFC";
alt-bg = "191924";
alt-bg = "101012";
alt-fg = "ECECEC";
primary-bg = "9978F8";
primary-bg = "a158ff";
primary-fg = "000000";
secondary-bg = "4928B8";
secondary-fg = "000000";

View File

@@ -0,0 +1,6 @@
{ config, ... }: {
xdg.configFile."wallpaper" = {
recursive = true;
source = ./wallpaper;
};
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 MiB