manage wallpaper without hyprpanel

This commit is contained in:
2025-09-10 12:44:40 -05:00
parent 43fde8741b
commit 9cb4e51316
3 changed files with 3 additions and 4 deletions

View File

@@ -32,7 +32,7 @@
},
"theme.bar.opacity": 50,
"wallpaper.image": "/tmp/nathan/bg",
"wallpaper.enable": true,
"wallpaper.enable": false,
"theme.matugen_settings.scheme_type": "content",
"theme.matugen_settings.variation": "standard_2",
"theme.matugen": true,

View File

@@ -33,10 +33,10 @@
chmod 600 /tmp/nathan/bg
fi
img=''$(realpath ''${1:-/tmp/nathan/bg})
hyprctl dispatch exec ${pkgs.swww}/bin/swww img ''$img -t random
${pkgs.hyprpanel}/bin/hyprpanel sw ''$img
changeColors ''$img ''$2
'')
# ${pkgs.swww}/bin/swww img ''$img
(pkgs.writeShellScriptBin "changeColors" ''
@@ -101,7 +101,7 @@
rm ${config.home.homeDirectory}/.local/share/calcurse/.calcurse.pid
fi
hyprctl dispatch exec ${pkgs.hyprpanel}
hyprctl dispatch exec ${pkgs.swww}/bin/swww-daemon
hyprctl dispatch exec "setWallpaper /tmp/nathan/bg"
hyprctl dispatch exec ${pkgs.pyprland}/bin/pypr