removed unnecessary files
This commit is contained in:
		
							parent
							
								
									5df9833edd
								
							
						
					
					
						commit
						d2195ba06f
					
				
					 6 changed files with 0 additions and 95 deletions
				
			
		| 
						 | 
				
			
			@ -1,7 +0,0 @@
 | 
			
		|||
#!/usr/bin/env bash
 | 
			
		||||
 | 
			
		||||
if [[ $(acpi -a | awk '{print $3}') == "on-line" ]]; then
 | 
			
		||||
	swaylock
 | 
			
		||||
else
 | 
			
		||||
	systemctl suspend-then-hibernate
 | 
			
		||||
fi
 | 
			
		||||
| 
						 | 
				
			
			@ -1,7 +0,0 @@
 | 
			
		|||
#!/usr/bin/env bash
 | 
			
		||||
 | 
			
		||||
swaylock &
 | 
			
		||||
 | 
			
		||||
sleep 0.1
 | 
			
		||||
 | 
			
		||||
hyprctl dispatch dpms off
 | 
			
		||||
| 
						 | 
				
			
			@ -1,10 +0,0 @@
 | 
			
		|||
#!/usr/bin/env bash
 | 
			
		||||
 | 
			
		||||
while read -r f s; do
 | 
			
		||||
    if [[ $f == true && $(awk -v s="$s" 'BEGIN{ if (s > 1.5) print 1; else print 0; }') == 1 ]]; then
 | 
			
		||||
        export GDK_SCALE=2
 | 
			
		||||
        export QT_SCALE_FACTOR=2
 | 
			
		||||
    fi
 | 
			
		||||
done < <(hyprctl monitors -j | jq -r '.[]|"\(.focused) \(.scale)"')
 | 
			
		||||
 | 
			
		||||
wofi --show drun
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue