add controller pairing scripts
This commit is contained in:
		
							parent
							
								
									4f15bf99d4
								
							
						
					
					
						commit
						2b67a33ee7
					
				
					 2 changed files with 15 additions and 0 deletions
				
			
		
							
								
								
									
										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 {
 | 
					in {
 | 
				
			||||||
  imports = [
 | 
					  imports = [
 | 
				
			||||||
 | 
					    ./controller.nix
 | 
				
			||||||
    ./waybar.nix
 | 
					    ./waybar.nix
 | 
				
			||||||
    ./helix.nix
 | 
					    ./helix.nix
 | 
				
			||||||
    ./kakoune.nix
 | 
					    ./kakoune.nix
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue