added wallpaper

This commit is contained in:
Rouven Seifert 2022-12-31 10:52:13 +01:00
parent 9f15de8392
commit ac3b4fcbb4
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
3 changed files with 2 additions and 1 deletions

BIN
images/wallpaper.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 381 KiB

View file

@ -1,5 +1,6 @@
{ config, pkgs, ... }:
{
# declaration of awesome wm is in hosts/<name>/default.nix
home.file.".wallpaper.jpg".source = ../../../../images/wallpaper.jpg;
xdg.configFile."awesome/rc.lua".source = ./rc.lua;
}

View file

@ -162,7 +162,7 @@ local tasklist_buttons = gears.table.join(
local function set_wallpaper(s)
-- Wallpaper
awful.spawn.easy_async_with_shell("sh /home/rouven/.fehbg")
awful.spawn.easy_async_with_shell("feh --no-fehbg --bg-scale $HOME/.wallpaper.jpg")
end
-- Re-set wallpaper when a screen's geometry changes (e.g. different resolution)