intro script start
This commit is contained in:
parent
f1a2b0a3b3
commit
17f4db07e6
2 changed files with 33 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1 +1,3 @@
|
|||
tags
|
||||
|
||||
intro.mkv
|
||||
|
|
31
intro.sh
Executable file
31
intro.sh
Executable file
|
@ -0,0 +1,31 @@
|
|||
#!/bin/sh
|
||||
|
||||
# The main idea is to write script what will create qtile-tv intro.
|
||||
# It should contains window movenment.
|
||||
# before start bars should be hidden if we want to have clean look.
|
||||
|
||||
# let's take group 7 as scene
|
||||
qtile-cmd -o group 7 -f toscreen
|
||||
|
||||
# start from columns layout
|
||||
qtile-cmd -o group 7 -f setlayout -a columns
|
||||
|
||||
# start recording
|
||||
[ -e intro.mkv ] && rm intro.mkv
|
||||
ffcast -vv rec intro.mkv &
|
||||
|
||||
sxiv -b logo/qtile_tv-logo-with_background-red.png &
|
||||
sleep 1
|
||||
sxiv -b logo/qtile_tv-logo-with_background-green.png &
|
||||
sleep 1
|
||||
sxiv -b logo/qtile_tv-logo-with_background-yellow.png &
|
||||
sleep 1
|
||||
sxiv -b logo/qtile_tv-logo-with_background-white.png &
|
||||
sleep 1
|
||||
qtile-cmd -o layout -f grow_left
|
||||
sleep 1
|
||||
qtile-cmd -o layout -f grow_left
|
||||
sleep 1
|
||||
|
||||
# stop recording
|
||||
pkill -fxn '(/\S+)*ffmpeg\s.*\sx11grab\s.*'
|
Loading…
Reference in a new issue