swaync: improve service icons slightly more

This commit is contained in:
2023-11-14 00:46:39 +00:00
parent c0ba6dc9f5
commit 37f6c9c3bf

View File

@@ -325,7 +325,7 @@ in
lib.optionals config.sane.programs.eg25-control.enabled [ lib.optionals config.sane.programs.eg25-control.enabled [
{ {
type = "toggle"; type = "toggle";
label = ""; # GPS services label = "gps"; # GPS services; other icons: ⌖
command = "/run/wrappers/bin/sudo ${systemctl-toggle}/bin/systemctl-toggle eg25-control-gps"; command = "/run/wrappers/bin/sudo ${systemctl-toggle}/bin/systemctl-toggle eg25-control-gps";
active = "${pkgs.systemd}/bin/systemctl is-active eg25-control-gps.service"; active = "${pkgs.systemd}/bin/systemctl is-active eg25-control-gps.service";
} }
@@ -354,7 +354,7 @@ in
] ++ lib.optionals config.sane.programs."gnome.geary".enabled [ ] ++ lib.optionals config.sane.programs."gnome.geary".enabled [
{ {
type = "toggle"; type = "toggle";
label = "E"; # email (Geary); other icons: ✉, 📧 label = "[E]"; # email (Geary); other icons: ✉, 📧
command = "${systemctl-toggle}/bin/systemctl-toggle --user geary"; command = "${systemctl-toggle}/bin/systemctl-toggle --user geary";
active = "${pkgs.systemd}/bin/systemctl is-active --user geary"; active = "${pkgs.systemd}/bin/systemctl is-active --user geary";
} }