wpaperd+tux: Implement wallpaper switching by keybind

required using the unstable version of wpaperd
This commit is contained in:
2026-06-20 04:13:28 +02:00
parent 7fb5a0515a
commit 3fa5ef2441
2 changed files with 6 additions and 4 deletions
@@ -32,8 +32,9 @@
})
];
# wayland.windowManager.hyprland.settings.bind = {
# _args "$mod, i, exec, wpaperctl next"
# };
wayland.windowManager.hyprland.extraConfig = ''
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"))
'';
};
}