added scratchpad for spotify and a terminal
This commit is contained in:
		
							parent
							
								
									cd8aa36acd
								
							
						
					
					
						commit
						d65f55380e
					
				@ -23,6 +23,10 @@
 | 
			
		||||
 | 
			
		||||
for_window [class="^.*"] border pixel 2
 | 
			
		||||
for_window [instance="floatme"] floating enable
 | 
			
		||||
 | 
			
		||||
for_window [instance="scratchpad.*"] move scratchpad
 | 
			
		||||
for_window [class="Spotify"] move scratchpad
 | 
			
		||||
 | 
			
		||||
gaps inner 4
 | 
			
		||||
smart_gaps on
 | 
			
		||||
smart_borders on
 | 
			
		||||
@ -91,6 +95,12 @@ bindsym $mod+Shift+space 		floating toggle
 | 
			
		||||
# change focus between tiling / floating windows
 | 
			
		||||
bindsym $mod+space 				focus mode_toggle
 | 
			
		||||
 | 
			
		||||
# toggle scratchpad
 | 
			
		||||
bindsym $mod+F1 [instance="scratchpad_f1"] scratchpad show
 | 
			
		||||
bindsym $mod+F2 [class="Spotify"] scratchpad show
 | 
			
		||||
bindsym $mod+F3 [instance="scratchpad_f3"] scratchpad show
 | 
			
		||||
bindsym $mod+F4 [instance="scratchpad_f4"] scratchpad show
 | 
			
		||||
 | 
			
		||||
# switch to workspace
 | 
			
		||||
bindsym $mod+1 					workspace $ws1
 | 
			
		||||
bindsym $mod+2 					workspace $ws2
 | 
			
		||||
@ -178,4 +188,4 @@ exec_always --no-startup-id 	$HOME/.config/polybar/launch.sh
 | 
			
		||||
#exec --no-startup-id 			pactl set-sink-mute 0 1
 | 
			
		||||
exec --no-startup-id 			xss-lock -- i3lock -i ~/.config/i3/lockscreen
 | 
			
		||||
exec --no-startup-id 			dunst
 | 
			
		||||
 | 
			
		||||
exec --no-startup-id			alacritty --class=scratchpad_f1
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user