Replace hyprpaper with wpaperd and get rid of hyprland

This commit is contained in:
Jimbo 2024-12-25 00:53:30 -05:00
parent 4565265f6e
commit c13f95df8f
22 changed files with 23 additions and 503 deletions

View file

@ -3,17 +3,17 @@
home.packages = with pkgs; [
(pkgs.writeScriptBin "grimedit" ''
# Freeze the screen using hyprpicker
${pkgs.hyprpicker}/bin/hyprpicker -r -z &
hyprpicker -r -z &
HYPRPICKER_PID=$!
sleep 0.1
# Select area
GEOM=$(${pkgs.slurp}/bin/slurp -w 3 -c ${config.look.colors.prime} -B 00000066 -b 00000099)
GEOM=$(slurp -w 3 -c ${config.look.colors.prime} -B 00000066 -b 00000099)
# Check selection is canceled
if [ -z "$GEOM" ]; then
kill $HYPRPICKER_PID 2>/dev/null
notify-send -t 3000 -a grimblast "Error" "No area selected."
notify-send -t 3000 -a grim "Error" "No area selected."
exit 1
fi