Use feh for managing wallpaper

This commit is contained in:
Oliver Davies 2024-01-08 01:13:35 +00:00
parent c700329642
commit e87b718592
4 changed files with 16 additions and 7 deletions

View file

@ -1,11 +1,9 @@
{ config, inputs, self, ... }:
{ config, inputs, self, username, ... }:
let
modifier = "Mod4";
in
{
home.file.".background-image".source = ../../../../config/wallpaper/wallpaper.jpg;
xsession.windowManager.i3 = {
enable = true;
@ -60,6 +58,8 @@ in
bindswitch --reload --locked lid:on output $laptop disable
bindswitch --reload --locked lid:off output $laptop enable
exec --no-startup-id feh --randomize --bg-scale /home/${username}/Pictures/Wallpaper/*;
default_border none
default_floating_border none
smart_borders on