swaync: replace feedbackd button with gps button
This commit is contained in:
@@ -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";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user