diff --git a/bash_aliases b/bash_aliases index 83e5e6c..fd364e3 100644 --- a/bash_aliases +++ b/bash_aliases @@ -1,6 +1,7 @@ if [ -f ~/.bash_aliases_priv ]; then . ~/.bash_aliases_priv fi +alias ssh-host-key='ssh-keyscan localhost | ssh-keygen -lf -' alias weston-phone="weston --width=1920 --height=1056 -S /run/user/1000/wayland-1" alias waydroid-start="waydroid session start" alias waydroid-show="waydroid show-full-ui" @@ -232,3 +233,9 @@ function apt-search() { function apt-search-installed() { apt list --installed | grep "$1"; } +function attach-raw-img() { + sudo udisksctl loop-setup -f "$1"; +} +function dettach-raw-img() { + sudo udisksctl loop-delete -b "$1"; +}