swaync: replace feedbackd button with gps button

This commit is contained in:
2023-09-15 16:51:43 +00:00
parent fdc37c9f53
commit c3a6943b7e

View File

@@ -185,11 +185,17 @@ in
}; };
buttons-grid = { buttons-grid = {
actions = [ actions = [
# {
# type = "toggle";
# label = "feedbackd";
# command = "${systemctl-toggle}/bin/systemctl-toggle --user feedbackd";
# active = "${pkgs.systemd}/bin/systemctl is-active --user feedbackd.service";
# }
{ {
type = "toggle"; type = "toggle";
label = "feedbackd"; label = "gps";
command = "${systemctl-toggle}/bin/systemctl-toggle --user feedbackd"; command = "/run/wrappers/bin/sudo ${systemctl-toggle}/bin/systemctl-toggle eg25-control-gps";
active = "${pkgs.systemd}/bin/systemctl is-active --user feedbackd.service"; active = "${pkgs.systemd}/bin/systemctl is-active eg25-control-gps.service";
} }
]; ];
}; };