swaybg init

This commit is contained in:
twoneis 2024-03-21 03:47:58 +01:00
parent 5253cd1e40
commit 70c46f822c
2 changed files with 3 additions and 1 deletions

View file

@ -1,4 +1,4 @@
{ lib, config, ... }: lib.mkIf (config.withNiri) {
{ lib, config, pkgs, ... }: lib.mkIf (config.withNiri) {
programs.niri.enable = true;
home-manager.users.twoneis = {
programs.niri = {
@ -74,6 +74,7 @@
spawn-at-startup = [
{ command = ["waybar"]; }
{ command = ["swaybg" "-i" "${../../../wallpaper/wallpaper.png}"]; }
];
binds = {