mirror of
				https://git.davidovski.xyz/dot.git
				synced 2024-08-15 00:43:28 +00:00 
			
		
		
		
	add more transparency
This commit is contained in:
		
							parent
							
								
									2596f818e0
								
							
						
					
					
						commit
						416cb1a8dd
					
				
					 17 changed files with 362 additions and 239 deletions
				
			
		|  | @ -1,6 +1,6 @@ | |||
| #!/bin/sh | ||||
| 
 | ||||
| feh --bg-fill ~/.config/bg.png | ||||
| feh --no-xinerama --bg-fill ~/.config/bg.png | ||||
| exit | ||||
| 
 | ||||
| setbg="feh --force-aliasing --bg-tile " | ||||
|  |  | |||
|  | @ -1,2 +1,2 @@ | |||
| #!/bin/sh | ||||
| bspc rule -a \* -o state=floating && $TERMINAL -e bc -l | ||||
| bspc rule -a \* -o state=floating && $TERMINAL -e bc -lq | ||||
|  |  | |||
|  | @ -6,5 +6,5 @@ v=$1 | |||
| if [ $# -ne 0 ]; then | ||||
| 	xrandr --output $MAIN_DP --gamma $(paste -d" " <(xrandr | grep " connected" | cut -f1 -d " ") <(xrandr --current --verbose | grep "Gamma" | cut -f7 -d" " | cut -f1 -d":" | xargs -I % echo "1/%") | grep $MAIN_DP | cut -d" " -f2 | xargs -I % echo "%*$v" | bc -l) | ||||
| else | ||||
| 	xrandr --output $MAIN_DP --gamma 1.1 | ||||
| 	xrandr --output $MAIN_DP --gamma 1 | ||||
| fi | ||||
|  |  | |||
|  | @ -1,5 +1,7 @@ | |||
| #!/bin/sh | ||||
| 
 | ||||
| query=${1} | ||||
| cd ~/music | ||||
| find . -iname "*$query*" -type f | while read -r line; do echo "$line"; mpc insert "${line#./}"; done | ||||
| mpc -f "%title%[\t\t%artist%][\t\t%album%]\t\t%file%" listall | grep -i "${query}" | rev | cut -f1 -d'	' | rev | while read -r track; do | ||||
|     echo "$track" | ||||
|     mpc insert "$track" | ||||
| done | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| #!/bin/sh | ||||
| # add recently added files to the playlist | ||||
| 
 | ||||
| count=${1:-25} | ||||
| count=${1:-10} | ||||
| 
 | ||||
| cd ~/music | ||||
| find . -type f -print0 | xargs -0 stat -c"%Y %n" | sort -n | tail -${count} |cut -d' ' -f2- | while read -r line; do mpc insert "${line#./}"; done | ||||
| find . -type f -print0 | xargs -0 stat -c"%Y %n" | sort -n | tail -${count} |cut -d' ' -f2- | while read -r line; do printf "%s\n" "$line" ; mpc insert "${line#./}"; done | ||||
|  |  | |||
|  | @ -14,6 +14,6 @@ position=+$(echo $geom | cut -d'+' -f2- | sed "s/+/,/g") | |||
| filename=$(date +"$HOME/pics/screenshot/%F_%T.mp4") | ||||
| 
 | ||||
| echo $size and $position | ||||
| ffmpeg -y -f x11grab -video_size $size -i $position $filename | ||||
| ffmpeg -y -f x11grab -video_size $size -i $position -f pulse -i default $filename | ||||
| 
 | ||||
| rm $info | ||||
|  |  | |||
							
								
								
									
										5
									
								
								scripts/reload_gtk_theme
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										5
									
								
								scripts/reload_gtk_theme
									
										
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,5 @@ | |||
| #!/bin/sh | ||||
| theme=$(gsettings get org.gnome.desktop.interface gtk-theme) | ||||
| gsettings set org.gnome.desktop.interface gtk-theme '' | ||||
| sleep 1 | ||||
| gsettings set org.gnome.desktop.interface gtk-theme $theme | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue