dpi settings for MPV window
This commit is contained in:
		
							parent
							
								
									fda17aea44
								
							
						
					
					
						commit
						2135c0a0a3
					
				
					 4 changed files with 7 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -2,6 +2,7 @@
 | 
			
		|||
(local gears (require "gears"))
 | 
			
		||||
(local beautiful (require "beautiful"))
 | 
			
		||||
(local keybindings (require "keybindings"))
 | 
			
		||||
(local dpi xresources.apply_dpi)
 | 
			
		||||
 | 
			
		||||
(local rules [
 | 
			
		||||
              ;; All clients match this rule
 | 
			
		||||
| 
						 | 
				
			
			@ -33,7 +34,7 @@
 | 
			
		|||
               :properties {
 | 
			
		||||
                            :floating true
 | 
			
		||||
                            :raise true
 | 
			
		||||
                            :height 900
 | 
			
		||||
                            :height (dpi 900)
 | 
			
		||||
                            :screen (screen.count)
 | 
			
		||||
                            :placement (+ awful.placement.no_offscreen awful.placement.centered)
 | 
			
		||||
                            }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue