Add more wofi integrations
This commit is contained in:
		
							parent
							
								
									7ba10467df
								
							
						
					
					
						commit
						ebddb712af
					
				
					 2 changed files with 10 additions and 1 deletions
				
			
		| 
						 | 
					@ -59,7 +59,8 @@ bindsym $mod+Shift+q kill
 | 
				
			||||||
bindsym $mod+Shift+p exec swaylock -c 000000
 | 
					bindsym $mod+Shift+p exec swaylock -c 000000
 | 
				
			||||||
 | 
					
 | 
				
			||||||
bindsym $mod+d exec wofi --show run
 | 
					bindsym $mod+d exec wofi --show run
 | 
				
			||||||
bindsym $mod+p exec passmenu
 | 
					bindsym $mod+Shift+d exec wofi --show drun
 | 
				
			||||||
 | 
					bindsym $mod+p exec wofi-pass
 | 
				
			||||||
bindsym $mod+Return exec ${host.get('terminal', 'alacritty')}
 | 
					bindsym $mod+Return exec ${host.get('terminal', 'alacritty')}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
bindsym $mod+$kleft focus left
 | 
					bindsym $mod+$kleft focus left
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										8
									
								
								templates/bin/wofi-pass
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										8
									
								
								templates/bin/wofi-pass
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
					@ -0,0 +1,8 @@
 | 
				
			||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					PASSWORD_STORE="$HOME/.password-store"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					cd "$PASSWORD_STORE" || exit 1
 | 
				
			||||||
 | 
					passwords="$(find . -name '*.gpg' | sed -nr 's/^\.\/(.*)\.gpg$/\1/p')"
 | 
				
			||||||
 | 
					selected="$(echo "$passwords" | wofi --dmenu || exit)"
 | 
				
			||||||
 | 
					pass -c "$selected"
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue