[zshrc] merge presirandr into ränder

legacy
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
1 changed files with 4 additions and 2 deletions

View File

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