Installscript-keymacros.conf

Aus VDR Wiki
Wechseln zu: Navigation, Suche
# Description: commands for the keymacros.conf (See man vdr(5))
#
# Format: <plugin>:<->:<cmd(s)>
#                   ^
#                   > in
#                   < out

epgsearch:>:sed -i 's:^Green     Schedule$:Green     @epgsearch:' "${DISDIR}/keymacros.conf"
epgsearch:<:sed -i 's:^Green     @epgsearch$:Green     Schedule:' "${DISDIR}/keymacros.conf"

pilot:>:sed -i 's:^Red       Recordings$:Red       @pilot:' "${DISDIR}/keymacros.conf"
pilot:<:sed -i 's:^Red       @pilot$:Red       Recordings:' "${DISDIR}/keymacros.conf"

prefermenu:>:sed -i 's:^Yellow    Setup$:Yellow    @prefermenu:' "${DISDIR}/keymacros.conf"
prefermenu:<:sed -i 's:^Yellow    @prefermenu$:Yellow    Setup:' "${DISDIR}/keymacros.conf"

yaepg:>:sed -i 's:^Blue      Timers$:Blue      @yaepg:' "${DISDIR}/keymacros.conf"
yaepg:<:sed -i 's:^Blue      @yaepg$:Blue      Timers:' "${DISDIR}/keymacros.conf"