wpaperd+tux: Implement wallpaper switching by keybind
required using the unstable version of wpaperd
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
{
|
{
|
||||||
config.flake.factory.wpaperd = config: {
|
config.flake.factory.wpaperd = config: { pkgs, ... }: {
|
||||||
services.wpaperd = {
|
services.wpaperd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = config;
|
settings = config;
|
||||||
|
package = pkgs.unstable.wpaperd;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,8 +32,9 @@
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
# wayland.windowManager.hyprland.settings.bind = {
|
wayland.windowManager.hyprland.extraConfig = ''
|
||||||
# _args "$mod, i, exec, wpaperctl next"
|
hl.bind("SUPER + i", hl.dsp.exec_cmd("${pkgs.unstable.wpaperd}/bin/wpaperctl next"))
|
||||||
# };
|
hl.bind("SUPER + o", hl.dsp.exec_cmd("${pkgs.unstable.wpaperd}/bin/wpaperctl set ${inputs.assets}/horizontal_16x9.png"))
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user