mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-01-18 17:11:39 +01:00
added wallpaper
This commit is contained in:
parent
9f15de8392
commit
ac3b4fcbb4
3 changed files with 2 additions and 1 deletions
BIN
images/wallpaper.jpg
Normal file
BIN
images/wallpaper.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 381 KiB |
|
@ -1,5 +1,6 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
# declaration of awesome wm is in hosts/<name>/default.nix
|
# 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;
|
xdg.configFile."awesome/rc.lua".source = ./rc.lua;
|
||||||
}
|
}
|
||||||
|
|
|
@ -162,7 +162,7 @@ local tasklist_buttons = gears.table.join(
|
||||||
|
|
||||||
local function set_wallpaper(s)
|
local function set_wallpaper(s)
|
||||||
-- Wallpaper
|
-- 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
|
end
|
||||||
|
|
||||||
-- Re-set wallpaper when a screen's geometry changes (e.g. different resolution)
|
-- Re-set wallpaper when a screen's geometry changes (e.g. different resolution)
|
||||||
|
|
Loading…
Reference in a new issue