mirror of
				https://git.davidovski.xyz/dot.git
				synced 2024-08-15 00:43:28 +00:00 
			
		
		
		
	Merge branch 'master' of git.cheetah.remote:dot
This commit is contained in:
		
						commit
						051ed527f6
					
				
					 4 changed files with 10 additions and 5 deletions
				
			
		|  | @ -1,3 +1,4 @@ | |||
| setxkbmap -option caps:none | ||||
| setxkbmap -option caps:backspace | ||||
| xmodmap -e "clear Lock" | ||||
| exec bspwm | ||||
| 
 | ||||
|  |  | |||
|  | @ -30,3 +30,5 @@ set selection-clipboard clipboard | |||
| set guioptions none | ||||
| 
 | ||||
| set recolor true | ||||
| 
 | ||||
| set first-page-column 1:1 | ||||
|  |  | |||
|  | @ -1,3 +1,3 @@ | |||
| #!/bin/sh | ||||
| 
 | ||||
| printf "pm-suspend reboot poweroff" | rofi -dmenu -p "power" | xargs -r  | ||||
| printf "%s\n" "pm-suspend" "pm-hibernate" "reboot" "poweroff" | rofi -dmenu -p "power" | xargs -r  | ||||
|  |  | |||
|  | @ -9,11 +9,13 @@ width=$(cat $info | grep Width | cut -d' ' -f4) | |||
| height=$(cat $info | grep Height | cut -d' ' -f4) | ||||
| 
 | ||||
| size="${width}x${height}" | ||||
| position=+$(echo $geom | cut -d'+' -f2- | sed "s/+/,/g") | ||||
| x=$(cat $info | grep "Absolute upper-left X" | cut -d' ' -f7) | ||||
| y=$(cat $info | grep "Absolute upper-left Y" | cut -d' ' -f7) | ||||
| position="+$x,$y" | ||||
| 
 | ||||
| filename=$(date +"$HOME/pics/screenshot/%F_%T.mp4") | ||||
| filename=$(date +"%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" $filename | ||||
| 
 | ||||
| rm $info | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue