nixos-config/user/controller.nix

15 lines
375 B
Nix
Raw Normal View History

2022-12-01 00:08:54 -03:00
{ 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;
};
};
}