Add wallpapers
This commit is contained in:
@@ -52,5 +52,6 @@
|
||||
./neofetch
|
||||
./spicetify
|
||||
./variables/theme
|
||||
./wallpaper
|
||||
];
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
|
||||
8
home/hyprland/hyprpaper.nix
Normal file
8
home/hyprland/hyprpaper.nix
Normal 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}
|
||||
'';
|
||||
}
|
||||
@@ -24,6 +24,7 @@
|
||||
'';
|
||||
|
||||
shellAliases = {
|
||||
sl = "ls";
|
||||
vim = "nvim";
|
||||
v = "nvim";
|
||||
c = "clear";
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
@@ -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";
|
||||
|
||||
@@ -1 +1 @@
|
||||
{ imports = [ ./blackish.nix ]; }
|
||||
{ imports = [ ./nixy.nix ]; }
|
||||
|
||||
@@ -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";
|
||||
|
||||
6
home/wallpaper/wallpaper.nix
Normal file
6
home/wallpaper/wallpaper.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{ config, ... }: {
|
||||
xdg.configFile."wallpaper" = {
|
||||
recursive = true;
|
||||
source = ./wallpaper;
|
||||
};
|
||||
}
|
||||
BIN
home/wallpaper/wallpaper/default.png
Normal file
BIN
home/wallpaper/wallpaper/default.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 MiB |
Reference in New Issue
Block a user