mirror of
https://github.com/Stunkymonkey/dotfiles.git
synced 2025-05-24 11:04:41 +02: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
|
||||
|
||||
if xrandr | grep "$extern disconnected"; then
|
||||
xrandr --output "$extern" --off --output "$intern" --auto
|
||||
xrandr --output "$extern" --off --output "$intern" --auto --primary
|
||||
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
|
||||
|
|
|
@ -103,6 +103,11 @@ alias pacaur-update='pacaur -Syua'
|
|||
# DOTFILES:
|
||||
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:
|
||||
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'\" &"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue