Add a toggle in the bar for microphone loopback
This commit is contained in:
parent
d163a5e611
commit
4e51589599
2 changed files with 10 additions and 2 deletions
4
bar.nix
4
bar.nix
|
|
@ -260,9 +260,9 @@
|
|||
};
|
||||
|
||||
"custom/loopback" = lib.attrsets.optionalAttrs (variant == "default") {
|
||||
exec = "if systemctl --user is-active --quiet loopback; then echo oui; else echo non; fi";
|
||||
exec = "journalctl --user -f -u loopback | exec_on_stdin_newline 'if systemctl --user is-active --quiet loopback; then echo loopback ON; else echo loopback; fi'";
|
||||
on-click = "if systemctl --user is-active --quiet loopback; then systemctl --user stop loopback; else systemctl --user start loopback; fi";
|
||||
format = "TEST {}";
|
||||
format = "{}";
|
||||
};
|
||||
|
||||
"hyprland/submap" = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue