VP
Size: a a a
VP
bc
Е
mpv
с роликом и сразу в нужном разрешении.VP
#! /usr/bin/env sh
back=$(i3-msg -t get_workspaces | jq '.[]|.focused, .name'|grep -A1 true|grep \")
# i3-msg workspace "4:""
i3-msg workspace $@
notify-send -u normal -a mpv "Running video from YouTube!" "Please wait..."
mpv --profile=720 $(xclip -o -selection clipboard)
if [ $? -ne 0 ]; then
notify-send -u critical -a mpv "720p failed!" "Trying LowRes..."
mpv $(xclip -o -selection clipboard)
if [ $? -ne 0 ]; then
notify-send -u critical -a mpv "Sorry..." "YouTube failed!"
fi
fi
notify-send -u normal -a mpv "Returning to previous workspace..." "workspace: $back"
i3-msg workspace $back
exit
Закатать в скрипт, повесить вызов на хоткей. Поправить под себя.скрыпт имя_воркспейса
VP
I
AP
AP
VP
dd if=/path/to/source/file of=/path/to/destination/file conv=swab
VP
VP
VP
bc
bc
VP
VP
ls -lah /usr/bin/alv*
I
bc
ls: cannot access '/usr/bin/alv*': No such file or directory