Making some minor improvements to awesome
This commit is contained in:
		
							parent
							
								
									a8b74e1f7b
								
							
						
					
					
						commit
						01953ff9ae
					
				
					 9 changed files with 26 additions and 27 deletions
				
			
		| 
						 | 
				
			
			@ -68,10 +68,10 @@
 | 
			
		|||
(local alt "Mod1")
 | 
			
		||||
 | 
			
		||||
;; Set hostname so that we can utilize specific features on different machines
 | 
			
		||||
(local hostname-handle (io.popen "hostname"))
 | 
			
		||||
(local hostname (hostname-handle:read "a"))
 | 
			
		||||
(global hostname-handle (io.popen "hostname"))
 | 
			
		||||
(global hostname (hostname-handle:read "a"))
 | 
			
		||||
(hostname-handle:close)
 | 
			
		||||
(local laptop (= hostname "chris-linuxlaptop\n"))
 | 
			
		||||
(global laptop (= hostname "chris-linuxlaptop\n"))
 | 
			
		||||
 | 
			
		||||
;; Table of layouts to cover with awful.layout.inc, order matters.
 | 
			
		||||
(set awful.layout.layouts [
 | 
			
		||||
| 
						 | 
				
			
			@ -472,6 +472,8 @@
 | 
			
		|||
(client.connect_signal "focus" (fn [c] (set c.border_color beautiful.border_focus)))
 | 
			
		||||
(client.connect_signal "unfocus" (fn [c] (set c.border_color beautiful.border_normal)))
 | 
			
		||||
 | 
			
		||||
(awful.screen.focus 1)
 | 
			
		||||
 | 
			
		||||
(awful.spawn "picom --experimental-backend")
 | 
			
		||||
(awful.spawn "xset r rate 220 90")
 | 
			
		||||
(awful.spawn "/usr/lib/polkit-kde-authentication-agent-1")
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue