mirror of
				https://github.com/Stunkymonkey/dotfiles.git
				synced 2025-10-31 02:12:10 +01:00 
			
		
		
		
	[shell/aliases] add esp32 commands and updated mon-toggle
This commit is contained in:
		
							parent
							
								
									6d5a313769
								
							
						
					
					
						commit
						a83c6f1a7a
					
				
					 2 changed files with 7 additions and 2 deletions
				
			
		|  | @ -3,7 +3,7 @@ intern=LVDS1 | ||||||
| extern=VGA1 | extern=VGA1 | ||||||
| 
 | 
 | ||||||
| if xrandr | grep "$extern disconnected"; then | if xrandr | grep "$extern disconnected"; then | ||||||
|     xrandr --output "$extern" --off --output "$intern" --auto |     xrandr --output "$extern" --off --output "$intern" --auto --primary | ||||||
| else | else | ||||||
|     xrandr --output "$intern" --auto --pos 0x150 --output "$extern" --auto --pos 1600x0 --primary --output HDMI1 --auto --output DP1 --auto |     xrandr --output "$intern" --auto --pos 0x150 --primary --output "$extern" --auto --pos 1600x0 --output HDMI1 --auto --output DP1 --auto | ||||||
| fi | fi | ||||||
|  |  | ||||||
|  | @ -103,6 +103,11 @@ alias pacaur-update='pacaur -Syua' | ||||||
| # DOTFILES: | # DOTFILES: | ||||||
| alias dotfile-update-submodules='cd ~/.dotfiles/ && git submodule foreach git pull origin master' | alias dotfile-update-submodules='cd ~/.dotfiles/ && git submodule foreach git pull origin master' | ||||||
| 
 | 
 | ||||||
|  | # ESP32: | ||||||
|  | alias esp32-flash="esptool --chip esp32 -p /dev/ttyUSB? write_flash -z 0x1000" | ||||||
|  | alias esp32-mount="mpy-fuse --port /dev/ttyUSB? --baud 115200" | ||||||
|  | alias esp32-terminal="screen /dev/ttyUSB? 115200" | ||||||
|  | 
 | ||||||
| # TEE: | # TEE: | ||||||
| alias ttime_green="sh -c \"sleep 180 && notify-send -u critical 'The tea is ready'\" &" | alias ttime_green="sh -c \"sleep 180 && notify-send -u critical 'The tea is ready'\" &" | ||||||
| alias ttime_black="sh -c \"sleep 300 && notify-send -u critical 'The tea is ready'\" &" | alias ttime_black="sh -c \"sleep 300 && notify-send -u critical 'The tea is ready'\" &" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Felix Buehler
						Felix Buehler