bspwm, Compton: Behavior and window rules
This commit is contained in:
		@@ -32,27 +32,31 @@ printf "[INFO] Configuring bspwm\n"
 | 
				
			|||||||
# Unique to bspwm, because i3 handles this alright
 | 
					# Unique to bspwm, because i3 handles this alright
 | 
				
			||||||
$HOME/.config/bspwm/monitorset.sh
 | 
					$HOME/.config/bspwm/monitorset.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
bspc config border_width	4
 | 
					## Behavior
 | 
				
			||||||
bspc config window_gap		6
 | 
					# Tiling behavior
 | 
				
			||||||
 | 
					bspc config split_ratio			0.50
 | 
				
			||||||
bspc config split_ratio		0.50
 | 
					bspc config remove_disabled_monitors	false
 | 
				
			||||||
bspc config borderless_monocle	true
 | 
					 | 
				
			||||||
bspc config gapless_monocle	true
 | 
					 | 
				
			||||||
bspc config remove_disabled_monitors	true
 | 
					 | 
				
			||||||
bspc config remove_unplugged_monitors	true
 | 
					bspc config remove_unplugged_monitors	true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Pointer behavior
 | 
				
			||||||
bspc config click_to_focus		any
 | 
					bspc config click_to_focus		any
 | 
				
			||||||
 | 
					 | 
				
			||||||
bspc config pointer_follows_focus	true
 | 
					bspc config pointer_follows_focus	true
 | 
				
			||||||
bspc config pointer_follows_monitor	true
 | 
					bspc config pointer_follows_monitor	true
 | 
				
			||||||
bspc config pointer_modifier		mod1
 | 
					bspc config pointer_modifier		mod1
 | 
				
			||||||
bspc config pointer_action1		move
 | 
					bspc config pointer_action1		move #LMB
 | 
				
			||||||
bspc config pointer_action2		resize_corner
 | 
					bspc config pointer_action2		resize_corner #RMB
 | 
				
			||||||
 | 
					
 | 
				
			||||||
bspc config normal_border_color			"#3c3836"
 | 
					## Looks
 | 
				
			||||||
bspc config active_border_color			"#458588"
 | 
					# Padding
 | 
				
			||||||
bspc config focused_border_color		"#83a598"
 | 
					bspc config border_width	4
 | 
				
			||||||
bspc config presel_feedback_color		"#9b9b9b"
 | 
					bspc config window_gap		6
 | 
				
			||||||
 | 
					bspc config borderless_monocle		true
 | 
				
			||||||
 | 
					bspc config gapless_monocle		true
 | 
				
			||||||
 | 
					# Colors
 | 
				
			||||||
 | 
					bspc config normal_border_color			"#3c3836" #Unfocused
 | 
				
			||||||
 | 
					bspc config active_border_color			"#458588" #Focused, but current monitor isn't
 | 
				
			||||||
 | 
					bspc config focused_border_color		"#83a598" #Focused completely
 | 
				
			||||||
 | 
					bspc config presel_feedback_color		"#9b9b9b" #???
 | 
				
			||||||
 | 
					
 | 
				
			||||||
printf "[INFO] Setting window rules\n"
 | 
					printf "[INFO] Setting window rules\n"
 | 
				
			||||||
bspc rule -r '*'
 | 
					bspc rule -r '*'
 | 
				
			||||||
@@ -60,6 +64,8 @@ bspc rule -a Waterfox desktop=1
 | 
				
			|||||||
bspc rule -a Discord desktop=7
 | 
					bspc rule -a Discord desktop=7
 | 
				
			||||||
bspc rule -a Spotify desktop=8
 | 
					bspc rule -a Spotify desktop=8
 | 
				
			||||||
bspc rule -a 'Minecraft 1.7.10' state=fullscreen
 | 
					bspc rule -a 'Minecraft 1.7.10' state=fullscreen
 | 
				
			||||||
 | 
					# For fullscreen Wine
 | 
				
			||||||
 | 
					bspc rule -a explorer.exe state=fullscreen
 | 
				
			||||||
# Plasma rules
 | 
					# Plasma rules
 | 
				
			||||||
bspc rule -a plasmashell state=floating sticky=on border=off
 | 
					bspc rule -a plasmashell state=floating sticky=on border=off
 | 
				
			||||||
bspc rule -a krunner state=floating layer=above sticky=on border=off
 | 
					bspc rule -a krunner state=floating layer=above sticky=on border=off
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -100,6 +100,7 @@ shadow-exclude = [
 | 
				
			|||||||
    "class_g ?= 'Cairo-dock'",
 | 
					    "class_g ?= 'Cairo-dock'",
 | 
				
			||||||
    "class_g ?= 'Xfce4-notifyd'",
 | 
					    "class_g ?= 'Xfce4-notifyd'",
 | 
				
			||||||
    "class_g ?= 'Xfce4-power-manager'",
 | 
					    "class_g ?= 'Xfce4-power-manager'",
 | 
				
			||||||
 | 
					    "class_g ?= 'Wine'",
 | 
				
			||||||
    #"window_type = 'dock'",
 | 
					    #"window_type = 'dock'",
 | 
				
			||||||
    "_GTK_FRAME_EXTENTS@:c"
 | 
					    "_GTK_FRAME_EXTENTS@:c"
 | 
				
			||||||
];
 | 
					];
 | 
				
			||||||
@@ -132,7 +133,8 @@ blur-background-frame = false;
 | 
				
			|||||||
blur-background-fixed = false;
 | 
					blur-background-fixed = false;
 | 
				
			||||||
blur-background-exclude = [
 | 
					blur-background-exclude = [
 | 
				
			||||||
    "window_type = 'dock'",
 | 
					    "window_type = 'dock'",
 | 
				
			||||||
    "window_type = 'desktop'"
 | 
					    "window_type = 'desktop'",
 | 
				
			||||||
 | 
					    "class_g ?= 'Wine'"
 | 
				
			||||||
];
 | 
					];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#################################
 | 
					#################################
 | 
				
			||||||
@@ -178,7 +180,7 @@ detect-client-opacity = true;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# Specify refresh rate of the screen.
 | 
					# Specify refresh rate of the screen.
 | 
				
			||||||
# If not specified or 0, compton will try detecting this with X RandR extension.
 | 
					# If not specified or 0, compton will try detecting this with X RandR extension.
 | 
				
			||||||
refresh-rate = 60;
 | 
					refresh-rate = 144;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Set VSync method. VSync methods currently available:
 | 
					# Set VSync method. VSync methods currently available:
 | 
				
			||||||
# none: No VSync
 | 
					# none: No VSync
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -22,7 +22,11 @@ display=Display\tMeta+P,Display\tMeta+P,Switch Display
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
[khotkeys]
 | 
					[khotkeys]
 | 
				
			||||||
_k_friendly_name=KDE Daemon
 | 
					_k_friendly_name=KDE Daemon
 | 
				
			||||||
 | 
					{5f06ffa5-99e2-429b-a33a-d5a49a8f9e56}=Shift+Print,none,Take Full Screen Screenshot
 | 
				
			||||||
 | 
					{7695d3be-08b3-4960-ae89-872e9eb58e8d}=Meta+Print,none,Take Active Window Screenshot
 | 
				
			||||||
 | 
					{a5003b79-c72a-4d41-9237-dcebafeac3f3}=Print,none,Start Screenshot Tool
 | 
				
			||||||
{d03619b6-9b3c-48cc-9d9c-a2aadb485550}=Search,none,Search
 | 
					{d03619b6-9b3c-48cc-9d9c-a2aadb485550}=Search,none,Search
 | 
				
			||||||
 | 
					{fd6248c0-ea1f-475d-9203-70e6c4a18579}=Meta+Shift+Print,none,Take Rectangular Region Screenshot
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[kmix]
 | 
					[kmix]
 | 
				
			||||||
_k_friendly_name=Audio Volume
 | 
					_k_friendly_name=Audio Volume
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -23,7 +23,7 @@ ShowWindowTitleOnTitleBar=true
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
[MainWindow]
 | 
					[MainWindow]
 | 
				
			||||||
MenuBar=Disabled
 | 
					MenuBar=Disabled
 | 
				
			||||||
State=AAAA/wAAAAD9AAAAAAAAB2wAAAPYAAAABAAAAAQAAAAIAAAACPwAAAAA
 | 
					State=AAAA/wAAAAD9AAAAAAAABO8AAAVAAAAABAAAAAQAAAAIAAAACPwAAAAA
 | 
				
			||||||
ToolBarsMovable=Disabled
 | 
					ToolBarsMovable=Disabled
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[Notification Messages]
 | 
					[Notification Messages]
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user