diff --git a/user/controller.nix b/user/controller.nix new file mode 100644 index 0000000..73ab483 --- /dev/null +++ b/user/controller.nix @@ -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; + }; + }; +} diff --git a/user/home.nix b/user/home.nix index 7acfc1c..7d7e34a 100644 --- a/user/home.nix +++ b/user/home.nix @@ -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