mirror of
				https://github.com/ItsDrike/dotfiles.git
				synced 2025-11-04 01:16:35 +00:00 
			
		
		
		
	Add basic BSPWM settings
This commit is contained in:
		
							parent
							
								
									5741d663f9
								
							
						
					
					
						commit
						08e50a79a1
					
				
					 1 changed files with 35 additions and 0 deletions
				
			
		
							
								
								
									
										35
									
								
								home/.config/bspwm/bspwmrc
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										35
									
								
								home/.config/bspwm/bspwmrc
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,35 @@
 | 
			
		|||
#! /bin/sh
 | 
			
		||||
 | 
			
		||||
# -------- CONFIG --------
 | 
			
		||||
bspc rule -r "*"
 | 
			
		||||
 | 
			
		||||
bspc config focus_follows_pointer true
 | 
			
		||||
 | 
			
		||||
bspc config border_width         2
 | 
			
		||||
bspc config window_gap          12
 | 
			
		||||
 | 
			
		||||
bspc config split_ratio          0.52
 | 
			
		||||
bspc config borderless_monocle   true
 | 
			
		||||
bspc config gapless_monocle      true
 | 
			
		||||
 | 
			
		||||
bspc config remove_disabled_monitors    true
 | 
			
		||||
bspc config remove_unplugged_monitors   true
 | 
			
		||||
 | 
			
		||||
# -------- RULES -------
 | 
			
		||||
 | 
			
		||||
bspc rule -a Chromium desktop='^2'
 | 
			
		||||
bspc rule -a firefox desktop='^2'
 | 
			
		||||
bspc rule -a Discord desktop='^4'
 | 
			
		||||
bspc rule -a Stremio desktop='^6'
 | 
			
		||||
 | 
			
		||||
bspc rule -a Qalculate-gtk state=floating
 | 
			
		||||
# bspc rule -a Gimp desktop='^8' state=floating follow=on
 | 
			
		||||
# bspc rule -a Kupfer.py focus=on
 | 
			
		||||
# bspc rule -a Screenkey manage=off
 | 
			
		||||
 | 
			
		||||
# -------- MONITORS --------
 | 
			
		||||
 | 
			
		||||
# The postswitch script in autorandr automatically handles
 | 
			
		||||
# setting and distributing workspaces across monitors. It alsso
 | 
			
		||||
# spins up lemonbar on all monitors.
 | 
			
		||||
autorandr -c &
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue