Added screenshots and other fixes
This commit is contained in:
		
							parent
							
								
									2f7d09523f
								
							
						
					
					
						commit
						6295d6d98f
					
				
					 1 changed files with 19 additions and 2 deletions
				
			
		
							
								
								
									
										21
									
								
								config/sway
									
										
									
									
									
								
							
							
						
						
									
										21
									
								
								config/sway
									
										
									
									
									
								
							|  | @ -20,7 +20,7 @@ input 2:7:SynPS/2_Synaptics_TouchPad { | ||||||
| 
 | 
 | ||||||
| # Set background to whatever file is named bg at the moment | # Set background to whatever file is named bg at the moment | ||||||
| output * { | output * { | ||||||
|     bg "~/Images/wallpapers/bg.*" fill |     bg "~/Pictures/wallpapers/bg.*" fill | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| # Hide the cursor when typing | # Hide the cursor when typing | ||||||
|  | @ -224,7 +224,7 @@ bindsym Control+q kill | ||||||
| bindsym $winkey+Return exec alacritty | bindsym $winkey+Return exec alacritty | ||||||
| 
 | 
 | ||||||
| # Start application launcher | # Start application launcher | ||||||
| bindsym $alt+space exec "fuzzel -T 'alacritty -e' -w 50 -l 10 -f monospace:size=9 -b 262626dd -t ffffffff -i Win11-black" | bindsym $alt+space exec "fuzzel -T 'alacritty -e' -w 50 -l 10 -f hack:size=9 -b 262626dd -t ffffffff -i Win11-black" | ||||||
| # Start window selector based on fuzzel | # Start window selector based on fuzzel | ||||||
| # https://github.com/speersj/wuzzel  | # https://github.com/speersj/wuzzel  | ||||||
| bindsym $alt+Shift+space exec /usr/bin/wuzzel/wuzzel "-w 50 -l 10 -f monospace:size=9 -b 262626dd -t ffffffff -i Win11-black" | bindsym $alt+Shift+space exec /usr/bin/wuzzel/wuzzel "-w 50 -l 10 -f monospace:size=9 -b 262626dd -t ffffffff -i Win11-black" | ||||||
|  | @ -264,6 +264,23 @@ mode "$mode_system" { | ||||||
| } | } | ||||||
| bindsym Control+$alt+Delete mode "$mode_system" | bindsym Control+$alt+Delete mode "$mode_system" | ||||||
| 
 | 
 | ||||||
|  | # Screenshots | ||||||
|  | set $mode_screenshot Screenshot of (a)rea, current (w)indow, (s)creen - Shift to save | ||||||
|  | set $save_format Pictures/Screenshots/$(date +%F)-$(date +%T).png | ||||||
|  | mode "$mode_screenshot" { | ||||||
|  |     bindsym a exec grimshot copy area; mode "default" | ||||||
|  |     bindsym w exec grimshot --notify copy active; mode "default" | ||||||
|  |     bindsym s exec grimshot --notify copy screen; mode "default" | ||||||
|  | 
 | ||||||
|  |     bindsym Shift+a exec grimshot --notify save area $save_format; mode "default" | ||||||
|  |     bindsym Shift+w exec grimshot --notify save active $save_format; mode "default" | ||||||
|  |     bindsym Shift+s exec grimshot --notify save screen $save_format; mode "default" | ||||||
|  | 
 | ||||||
|  | 	bindsym Return mode "default" | ||||||
|  | 	bindsym Escape mode "default" | ||||||
|  | } | ||||||
|  | bindsym Print mode "$mode_screenshot" | ||||||
|  | 
 | ||||||
| # ======= | # ======= | ||||||
| # Styling | # Styling | ||||||
| # ======= | # ======= | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue