mirror of
				https://github.com/ItsDrike/dotfiles.git
				synced 2025-10-26 22:26:36 +00:00 
			
		
		
		
	Add various elephant menus
This commit is contained in:
		
							parent
							
								
									a133c45c48
								
							
						
					
					
						commit
						ae439adcc4
					
				
					 5 changed files with 158 additions and 2 deletions
				
			
		
							
								
								
									
										53
									
								
								home/.config/elephant/menus/screenshots.toml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										53
									
								
								home/.config/elephant/menus/screenshots.toml
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,53 @@ | |||
| name = "screenshots" | ||||
| name_pretty = "Screenshots" | ||||
| global_search = true | ||||
| fixed_order = true | ||||
| icon = "insert-image" | ||||
| 
 | ||||
| [[entries]] | ||||
| text = "OCR" | ||||
| icon = "edit-select-text" | ||||
| keywords = ["ocr", "text", "reader", "optical", "character", "recognition"] | ||||
| actions = { "run" = "sleep 0.5 && ocr && notify-send 'OCR' 'Text copied to clipboard'" } | ||||
| 
 | ||||
| [[entries]] | ||||
| text = "Color Picker" | ||||
| icon = "color-picker" | ||||
| keywords = ["color", "picker", "hypr"] | ||||
| actions = { "cp_use" = "sleep 0.5 && wl-copy --type image/png \"$(hyprpicker)\" && notify-send 'Picked color' \"$(wl-paste) (saved to clipboard)\"" } | ||||
| 
 | ||||
| [[entries]] | ||||
| text = "Area" | ||||
| icon = "edit-paste" | ||||
| 
 | ||||
| [entries.actions] | ||||
| "to_clipboard" = "hyprland-screenshot --notify --target area --copy" | ||||
| "to_file" = "hyprland-screenshot --notify --target area --save ~/Media/Pictures/Screenshots/Screenshot_$(date +%Y-%m-%d_%H-%M-%S).png" | ||||
| "to_swappy" = "hyprland-screenshot --notify --target area --copy --edit" | ||||
| 
 | ||||
| [[entries]] | ||||
| text = "Window" | ||||
| icon = "window-new" | ||||
| 
 | ||||
| [entries.actions] | ||||
| "to_clipboard" = "hyprland-screenshot --notify --target window --copy" | ||||
| "to_file" = "hyprland-screenshot --notify --target window --save ~/Media/Pictures/Screenshots/Screenshot_$(date +%Y-%m-%d_%H-%M-%S).png" | ||||
| "to_swappy" = "hyprland-screenshot --notify --target window --copy --edit" | ||||
| 
 | ||||
| [[entries]] | ||||
| text = "Current monitor" | ||||
| icon = "video-display" | ||||
| 
 | ||||
| [entries.actions] | ||||
| "to_clipboard" = "hyprshot --notify --target activemon --copy" | ||||
| "to_file" = "hyprland-screenshot --notify --target activemon --save ~/Media/Pictures/Screenshots/Screenshot_$(date +%Y-%m-%d_%H-%M-%S).png" | ||||
| "to_swappy" = "hyprland-screenshot --notify --target activemon --copy --edit" | ||||
| 
 | ||||
| [[entries]] | ||||
| text = "Fullscreen" | ||||
| icon = "view-fullscreen" | ||||
| 
 | ||||
| [entries.actions] | ||||
| "to_clipboard" = "hyprshot --notify --target all --copy" | ||||
| "to_file" = "hyprland-screenshot --notify --target all --save ~/Media/Pictures/Screenshots/Screenshot_$(date +%Y-%m-%d_%H-%M-%S).png" | ||||
| "to_swappy" = "hyprland-screenshot --notify --target all --copy --edit" | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue