add controller pairing scripts
This commit is contained in:
parent
4f15bf99d4
commit
2b67a33ee7
14
user/controller.nix
Normal file
14
user/controller.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ 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;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -3,6 +3,7 @@ let inherit (import ./variables.nix) key theme color accent font desktop;
|
|||
|
||||
in {
|
||||
imports = [
|
||||
./controller.nix
|
||||
./waybar.nix
|
||||
./helix.nix
|
||||
./kakoune.nix
|
||||
|
|
Loading…
Reference in a new issue