[zshrc] merge presirandr into ränder

This commit is contained in:
Simon Bruder 2018-06-16 14:17:16 +00:00
parent 49b84d6ab1
commit 920d21045b
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -140,13 +140,16 @@ function ränder() {
"auto") "auto")
xrandr --auto xrandr --auto
;; ;;
"manual")
arandr
;;
*) *)
echo "Invalid Preset" echo "Invalid Preset"
notify-send "ränder" "Invalid Preset $1" -i ~/.local/share/icons/Paper/48x48/devices/video-display.png notify-send "ränder" "Invalid Preset $1" -i ~/.local/share/icons/Paper/48x48/devices/video-display.png
invalid="true" invalid="true"
;; ;;
esac esac
[ -z $invalid ] && notify-send "ränder" "Switched to preset $1" -i ~/.local/share/icons/Paper/48x48/devices/video-display.png [ -z $invalid ] && notify-send "ränder" "Switched to $1" -i ~/.local/share/icons/Paper/48x48/devices/video-display.png
feh --bg-fill ~/bg.jpg feh --bg-fill ~/bg.jpg
) )
} }
@ -196,7 +199,6 @@ if which exa 2>&1 >> /dev/null;then
alias exa="exa --git" alias exa="exa --git"
alias ls="exa" alias ls="exa"
fi fi
alias presirandr="arandr; feh --bg-fill bg.jpg"
alias mc="~/bin/mc" alias mc="~/bin/mc"
function jitsi-meet() { function jitsi-meet() {