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
This commit is contained in:
parent
d97303e7d1
commit
49c0614421
9
Makefile
9
Makefile
|
@ -1,10 +1,17 @@
|
|||
.PHONY: build test switch
|
||||
.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
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
accentColour,
|
||||
...
|
||||
}: {
|
||||
home.packages = [pkgs.swaynotificationcenter];
|
||||
xdg.configFile."swaync/style.css".text = with config.lib.stylix.colors; ''
|
||||
* {
|
||||
all: unset;
|
||||
|
|
Loading…
Reference in a new issue