feat: wallpaper_random

This commit is contained in:
Ryan Yin
2023-07-29 23:08:13 +08:00
parent bc290e371b
commit a310ab4d4a
12 changed files with 153 additions and 47 deletions
+2 -4
View File
@@ -1,4 +1,4 @@
{pkgs, catppuccin-hyprland, wallpaper, ...}: {
{pkgs, catppuccin-hyprland, ...}: {
imports = [
./wayland-apps.nix
];
@@ -14,9 +14,7 @@
# copy the scripts directory recursively
recursive = true;
};
home.file.".config/hypr-themes".source = "${catppuccin-hyprland}/themes";
home.file.".config/hypr/wallpapers/wallpaper".source = wallpaper;
home.file.".config/hypr/themes".source = "${catppuccin-hyprland}/themes";
# gtk's theme settings, generate files:
# 1. ~/.gtkrc-2.0
+1 -1
View File
@@ -1,7 +1,7 @@
## Hyprland configuration file
# color-scheme: cappuccin-mocha
source=~/.config/hypr-themes/mocha.conf
source=~/.config/hypr/themes/mocha.conf
#-- Output ----------------------------------------------------
# Configure your Display resolution, offset, scale and Monitors here, use `hyprctl monitors` to get the info.
@@ -11,7 +11,7 @@ for _prs in "${_ps[@]}"; do
done
# Set wallpaper
swaybg --output '*' --mode fill --image ~/.config/hypr/wallpapers/wallpaper &
swaybg --output '*' --mode fill --image ~/.config/wallpapers/default_wallpaper &
# Lauch notification daemon (mako)
~/.config/hypr/scripts/notifications &