some better eww config
This commit is contained in:
		
							parent
							
								
									651153719b
								
							
						
					
					
						commit
						972aec6926
					
				
					 2 changed files with 16 additions and 7 deletions
				
			
		
							
								
								
									
										12
									
								
								eww/eww.yuck
									
										
									
									
									
								
							
							
						
						
									
										12
									
								
								eww/eww.yuck
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -267,19 +267,19 @@
 | 
			
		|||
    ))
 | 
			
		||||
(defwindow bar0
 | 
			
		||||
    :monitor 0
 | 
			
		||||
    :exclusive false
 | 
			
		||||
    :exclusive true
 | 
			
		||||
    :geometry (geometry 
 | 
			
		||||
        :x "15px"
 | 
			
		||||
        :y "0px"
 | 
			
		||||
        :width "100%"
 | 
			
		||||
        :height "50px"
 | 
			
		||||
        :anchor "top center")
 | 
			
		||||
        :y "10px"
 | 
			
		||||
        :width "98%"
 | 
			
		||||
        :height "20px"
 | 
			
		||||
        :anchor "bottom center")
 | 
			
		||||
    :stacking "fg"
 | 
			
		||||
    :windowtype "dock"
 | 
			
		||||
    (bar_layout))
 | 
			
		||||
(defwindow bar1
 | 
			
		||||
    :monitor 1
 | 
			
		||||
    :exclusive false
 | 
			
		||||
    :exclusive true
 | 
			
		||||
    :geometry (geometry 
 | 
			
		||||
        :x "15px"
 | 
			
		||||
        :y "-50px"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,15 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
if [ $(hostname) = "syl" ]; then
 | 
			
		||||
    style="laptop"
 | 
			
		||||
    eww open bar0 &
 | 
			
		||||
    #echo "this is hidpi"
 | 
			
		||||
else 
 | 
			
		||||
    style="desktop"
 | 
			
		||||
    eww open bar1 &
 | 
			
		||||
    #echo "this is not hidpi"
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
rbw-agent &
 | 
			
		||||
systemctl --user restart jellyfin-mpv-shim.service &
 | 
			
		||||
systemctl --user restart nextcloud-client.service &
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue