nixos-config/user/controller.nix
2024-05-31 11:41:21 -03:00

22 lines
385 B
Nix

{
config,
pkgs,
lib,
inputs,
...
}:
{
xdg.desktopEntries = {
connect-controller = {
name = "Connect Controller";
exec = "bluetoothctl connect 84:30:95:97:1A:79";
terminal = false;
};
disconnect-controller = {
name = "Disconnect Controller";
exec = "bluetoothctl disconnect 84:30:95:97:1A:79";
terminal = false;
};
};
}