fix(wallpaper): call fetcher by absolute path in set-wallpaper

Hyprland's exec_cmd does not source the shell PATH, so plain
wallpaper-fetcher failed from the keybinding; use ~/.local/bin. Binary
rebuilt (5.3MB -> 2.6MB) and the keybinding now fetches technics.
This commit is contained in:
2026-09-24 23:44:41 -04:00
parent b9997088c8
commit bf9780345d
3 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -477,7 +477,7 @@ hl.bind("mouse:276", hl.dsp.window.cycle_next({ next = false }), { click = true,
hl.bind(HYPR .. "V", hl.dsp.exec_cmd("pavucontrol"), { description = "Volume control" })
hl.bind(HYPR .. "B", hl.dsp.exec_cmd("blueberry"), { description = "Bluetooth manager" })
hl.bind(HYPR .. "semicolon", hl.dsp.exec_cmd("~/.local/bin/set-wallpaper.sh categories/quotes"),
hl.bind(HYPR .. "semicolon", hl.dsp.exec_cmd("~/.local/bin/set-wallpaper.sh categories/technics"),
{ description = "get new wallpaper" })
hl.bind(HYPR .. "A", hl.dsp.exec_cmd("gtk-launch pi.desktop"), { description = "Open pi tui" })