diff --git a/bin/video2gif b/bin/video2gif index 053f1a1..b1b6b58 100755 --- a/bin/video2gif +++ b/bin/video2gif @@ -13,9 +13,9 @@ fi palette_dir=$(mktemp -d) ffmpeg -y -ss $2 -t $3 -i $1 \ - -vf fps=10,scale=320:-1:flags=lanczos,palettegen $palette_dir/palette.png > /dev/null 2>&1 + -vf fps=30,scale=320:-1:flags=lanczos,palettegen $palette_dir/palette.png > /dev/null 2>&1 ffmpeg -ss $2 -t $3 -i $1 -i $palette_dir/palette.png -filter_complex \ - "fps=10,scale=320:-1:flags=lanczos[x];[x][1:v]paletteuse" -y output.gif > /dev/null 2>&1 + "fps=30,scale=320:-1:flags=lanczos[x];[x][1:v]paletteuse" -y output.gif > /dev/null 2>&1 rm -rf $palette_dir diff --git a/zsh/ohmyzsh/themes/laptop.zsh-theme b/zsh/ohmyzsh/themes/laptop.zsh-theme index 11346b5..ffbede0 100644 --- a/zsh/ohmyzsh/themes/laptop.zsh-theme +++ b/zsh/ohmyzsh/themes/laptop.zsh-theme @@ -21,11 +21,11 @@ if [[ $UID -ge 1000 ]]; then # normal user eval PR_USER_OP='${PR_GREEN}%#${PR_NO_COLOR}' local PR_ARROW_UP='${PR_GREEN}┌── ${PR_NO_COLOR}' local PR_ARROW_DOWN='${PR_GREEN}└${PR_NO_COLOR}' - local PR_PROMPT='$PR_GREEN▶$PR_NO_COLOR' + local PR_PROMPT='$PR_GREEN▷$PR_NO_COLOR' else eval PR_USER='${PR_MAGENTA}%n${PR_NO_COLOR}' eval PR_USER_OP='${PR_BLUE}%#${PR_NO_COLOR}' - local PR_PROMPT='$PR_MAGENTA▶$PR_NO_COLOR' + local PR_PROMPT='$PR_MAGENTA▷$PR_NO_COLOR' local PR_ARROW_UP='$PR_MAGENTA┌── ${PR_NO_COLOR}' local PR_ARROW_DOWN='$PR_MAGENTA└${PR_NO_COLOR}' fi @@ -34,7 +34,7 @@ elif [[ $UID -eq 0 ]]; then # root eval PR_USER_OP='${PR_RED}%#${PR_NO_COLOR}' local PR_ARROW_UP='${PR_RED}┌── ${PR_NO_COLOR}' local PR_ARROW_DOWN='${PR_RED}└${PR_NO_COLOR}' - local PR_PROMPT='$PR_RED▶$PR_NO_COLOR' + local PR_PROMPT='$PR_RED▷$PR_NO_COLOR' fi # Check if we are on SSH or not