nixos/Makefile
Evie Litherland-Smith 49c0614421 Add reload rule to Makefile
reload: calls hyprctl reload, swaync CSS reload, and restarts
hyprpaper and waybar systemd units. Should pick up all changes made
when updating config doing this

Add make reload call to both make test and make switch

Add swaynotificationcenter to installed packages to make the above work
2024-02-20 19:42:19 +00:00

18 lines
292 B
Makefile

.PHONY: build test switch reload
build:
nixos-rebuild build --flake .
test:
sudo nixos-rebuild test --flake .
make reload
switch:
sudo nixos-rebuild switch --flake .
make reload
reload:
-hyprctl reload
-systemctl --user restart hyprpaper.service waybar.service
-swaync-client -rs