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

View File

@@ -262,7 +262,7 @@ exec --no-startup-id ~/.screenlayout/monitor.sh
# set wallpaper
# exec --no-startup-id sleep 2 && nitrogen --restore
exec --no-startup-id sleep 1 && feh --bg-fill ~/.config/i3/wallpaper
exec --no-startup-id sleep 1 && feh --bg-fill ~/.config/wallpapers/default_wallpaper
# set powersavings for display:
exec --no-startup-id xset s 480 dpms 600 600 600

View File

@@ -1,4 +1,4 @@
{ pkgs, wallpaper, ...}: {
{ pkgs, ...}: {
# i3 window manager's config, based on https://github.com/endeavouros-team/endeavouros-i3wm-setup
imports = [
@@ -6,8 +6,6 @@
];
home.file = {
# wallpaper, binary file
".config/i3/wallpaper".source = wallpaper;
".config/i3/config".source = ./config;
".config/i3/i3blocks.conf".source = ./i3blocks.conf;
".config/i3/scripts" = {