sway: add playerctl mode
This commit is contained in:
		
							parent
							
								
									0ff17cd6df
								
							
						
					
					
						commit
						3fe411010d
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -150,7 +150,15 @@ in
 | 
			
		|||
                "q" = "";
 | 
			
		||||
                "m" = "exec volumesh -t";
 | 
			
		||||
                "s" = "exec ${pkgs.pulse_sink}/bin/pulse_sink";
 | 
			
		||||
              } // {
 | 
			
		||||
                "p" = "mode playerctl";
 | 
			
		||||
              };
 | 
			
		||||
              playerctl = code_binds
 | 
			
		||||
                (return_mode {
 | 
			
		||||
                  "space" = "exec ${pkgs.playerctl}/bin/playerctl toggle";
 | 
			
		||||
                  "escape" = "";
 | 
			
		||||
                  "q" = "";
 | 
			
		||||
                });
 | 
			
		||||
              passthrough = {
 | 
			
		||||
                "${mod}+escape" = "mode default;exec notify-send 'Passthrough off'";
 | 
			
		||||
              };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue