Add movie mode for watching videos on the external monitor

The screen layout and trayer setup moved from xmonad.hs to a shared
screen-layout script. lf opens videos with movie.
This commit is contained in:
Daniele Fucini
2026-10-10 18:52:07 +02:00
parent 6dfc81e54b
commit 4d51374801
4 changed files with 40 additions and 16 deletions
+1
View File
@@ -38,6 +38,7 @@ cmd open &{{
case $(file --mime-type -Lb $f) in
text/*) lf -remote "send $id \$$EDITOR \$fx";;
application/json) lf -remote "send $id \$$EDITOR \$fx";;
video/*) movie $fx > /dev/null 2> /dev/null;;
*) for f in $fx; do $OPENER $f > /dev/null 2> /dev/null & done;;
esac
}}