Adding fennel to awesome config with basic rules
This commit is contained in:
		
							parent
							
								
									42882489bf
								
							
						
					
					
						commit
						ebf15f2270
					
				
					 9 changed files with 609 additions and 304 deletions
				
			
		
							
								
								
									
										36
									
								
								awesome/rules.fnl
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								awesome/rules.fnl
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,36 @@
 | 
			
		|||
(global awful (require "awful"))
 | 
			
		||||
(global beautiful (require "beautiful"))
 | 
			
		||||
(global keybindings (require "keys"))
 | 
			
		||||
 | 
			
		||||
(local
 | 
			
		||||
 rules
 | 
			
		||||
 [
 | 
			
		||||
  ;; All clients match this rule
 | 
			
		||||
  {
 | 
			
		||||
   :rule {  }
 | 
			
		||||
   :propertites {
 | 
			
		||||
                 :border-width beautiful.border_width
 | 
			
		||||
                 :border_color beautiful.border_normal
 | 
			
		||||
                 :focus awful.client.focus.filter
 | 
			
		||||
                 :raise true
 | 
			
		||||
                 :buttons keybindings.clientbuttons
 | 
			
		||||
                 :screen awful.screen.preferred
 | 
			
		||||
                 :placement (+ awful.placement.no_overlap awful.placement.no_offscreen)
 | 
			
		||||
                 }
 | 
			
		||||
   }
 | 
			
		||||
 | 
			
		||||
  ;; floating
 | 
			
		||||
  {
 | 
			
		||||
   :rule_any {
 | 
			
		||||
              :class [
 | 
			
		||||
                      "mpv"
 | 
			
		||||
                      "dolphin"
 | 
			
		||||
                      ]
 | 
			
		||||
              :role [
 | 
			
		||||
                     "pop-up"
 | 
			
		||||
                     ]}
 | 
			
		||||
   :properties {:floating true}
 | 
			
		||||
   }
 | 
			
		||||
  ])
 | 
			
		||||
 | 
			
		||||
rules
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue