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

41
.gitignore vendored Normal file
View File

@ -0,0 +1,41 @@
# Paid wallpapers
/home/wallpaper/wallpaper/16.png
/home/wallpaper/wallpaper/17.png
/home/wallpaper/wallpaper/2020.png
/home/wallpaper/wallpaper/35.png
/home/wallpaper/wallpaper/abyss.png
/home/wallpaper/wallpaper/afterglow.png
/home/wallpaper/wallpaper/air.png
/home/wallpaper/wallpaper/birds.png
/home/wallpaper/wallpaper/cell.png
/home/wallpaper/wallpaper/circles.png
/home/wallpaper/wallpaper/dawn.png
/home/wallpaper/wallpaper/destination.png
/home/wallpaper/wallpaper/dim.png
/home/wallpaper/wallpaper/distance.png
/home/wallpaper/wallpaper/edge.png
/home/wallpaper/wallpaper/empty.png
/home/wallpaper/wallpaper/evening.png
/home/wallpaper/wallpaper/faraway_point.png
/home/wallpaper/wallpaper/framents.png
/home/wallpaper/wallpaper/harbour.png
/home/wallpaper/wallpaper/horizon.png
/home/wallpaper/wallpaper/lull.png
/home/wallpaper/wallpaper/nice.png
/home/wallpaper/wallpaper/night.png
/home/wallpaper/wallpaper/on_the_hill.png
/home/wallpaper/wallpaper/pap6.png
/home/wallpaper/wallpaper/pearls.png
/home/wallpaper/wallpaper/pieces.png
/home/wallpaper/wallpaper/rose.png
/home/wallpaper/wallpaper/same_way.png
/home/wallpaper/wallpaper/specimen.png
/home/wallpaper/wallpaper/stardust.png
/home/wallpaper/wallpaper/stay_here.png
/home/wallpaper/wallpaper/summer.png
/home/wallpaper/wallpaper/undertone.png
/home/wallpaper/wallpaper/weak_blue.png
/home/wallpaper/wallpaper/weak_red.png
/home/wallpaper/wallpaper/works.png
/home/wallpaper/wallpaper/xp.png
/home/wallpaper/wallpaper/zephyr.png

View File

@ -4,11 +4,9 @@ This is my dotfiles repo. It's a work in progress, and I'm still learning how to
# TODOLIST # TODOLIST
- [x] import theme globally
- [ ] Variable user & homeDir - [ ] Variable user & homeDir
- [ ] Settings fzf - [ ] Settings fzf
- [ ] Nixvim Alpha config - [ ] Nixvim Alpha config
- [ ] Add shortcuts for nixos config
- [ ] Scripts: - [ ] Scripts:
- [ ] Edit - [ ] Edit
- [ ] Rebuild - [ ] Rebuild
@ -16,9 +14,7 @@ This is my dotfiles repo. It's a work in progress, and I'm still learning how to
- [ ] Garbage collector - [ ] Garbage collector
- [ ] Ricing things - [ ] Ricing things
- [ ] Peaclock - [ ] Peaclock
- [ ] Spicetify
- [ ] Find a tui app for white noises (does that exist ? If not, I'll build my own) - [ ] Find a tui app for white noises (does that exist ? If not, I'll build my own)
- [ ] Collections of wallpapers - [ ] Collections of wallpapers
- [ ] Symbolic links for own dotfiles in Nextcloud folder if exist (wallpapers) - [ ] Symbolic links for own dotfiles in Nextcloud folder if exist (wallpapers)
- [ ] Custom GTK & Qt Theme based on the colorscheme - [ ] Custom GTK & Qt Theme based on the colorscheme
- [ ] Ascii art neofetch

View File

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

View File

@ -1,11 +1,10 @@
{ pkgs, config, ... }: { { pkgs, config, ... }: {
imports = [ ./hyprlock.nix ./hypridle.nix ]; imports = [ ./hyprlock.nix ./hypridle.nix ./hyprpaper.nix ];
home.packages = with pkgs; [ home.packages = with pkgs; [
xdg-desktop-portal-hyprland xdg-desktop-portal-hyprland
wlr-randr wlr-randr
swww
wl-clipboard wl-clipboard
brightnessctl brightnessctl
gnome.gnome-themes-extra gnome.gnome-themes-extra
@ -31,11 +30,7 @@
"$menu" = "menu"; "$menu" = "menu";
"$powermenu" = "${pkgs.wlogout}/bin/wlogout"; "$powermenu" = "${pkgs.wlogout}/bin/wlogout";
exec-once = [ exec-once = [ "hypridle" "hyprpaper"];
"swww init"
"swww img /home/hadi/.config/wallpaper/default.png"
"hypridle"
];
monitor = [ monitor = [
"eDP-2,highres,0x0,1" "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 = { shellAliases = {
sl = "ls";
vim = "nvim"; vim = "nvim";
v = "nvim"; v = "nvim";
c = "clear"; 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; type = types.bool;
description = "Does waybar have a transparent background?"; description = "Does waybar have a transparent background?";
}; };
wallpaper = mkOption {
type = types.str;
description = "Name of the wallpaper (in the wallpaper directory)";
};
font = mkOption { font = mkOption {
type = types.str; type = types.str;
description = "Default font"; description = "Default font";

View File

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

View File

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