dot

packages and services management
Log | Files | Refs | README

commit 0b26edf101904282047ecadcbfe907f2f153429f
parent 6defb0ee789310f15722b2f41eee2a1b903990e4
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sat, 11 Aug 2018 06:28:34 +0200

fixup user scripts

Diffstat:
Mbin/play | 6++----
Mbin/s6-rc-start | 2+-
Mbin/web | 3++-
3 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/bin/play b/bin/play @@ -1,7 +1,5 @@ #!/usr/bin/env execlineb # play every music/video file in a dir -forbacktickx -0 arg { dollarat -0 } -ifthenelse { test -d $arg } - { find $arg -type f -exec play {} } - { pipeline ffplay -autoexit $arg } +pipeline { dollarat } + xargs -I % find -L % -type f -exec ffplay -autoexit {} ; diff --git a/bin/s6-rc-start b/bin/s6-rc-start @@ -8,4 +8,4 @@ background { } if { sleep 1 } if { s6-rc-recompile } -if { s6-rc-init -l /var/s6-rc/live -c /var/s6-rc/compiled /var/s6-rc/scandir } +s6-rc-init -l /var/s6-rc/live -c /var/s6-rc/compiled /var/s6-rc/scandir diff --git a/bin/web b/bin/web @@ -60,7 +60,8 @@ case $host in ;; (*) if test "$DISPLAY" - then exec tabbed -r 3 surf -gips -e '' -a a@ "$1" & + then exec chromium "$1" + #exec tabbed -r 3 surf -gips -e '' -a a@ "$1" & else exec session "$1" links "$1" fi esac