@@ -0,0 +1,11 @@
+#!/bin/sh
+INTERFACE="wlan0" # Change to your main interface
+
+case "$2" in
+ up)
+ if [ "$1" = "$INTERFACE" ]; then
+ : Restart cups-browsed once online
+ nm-online -s -t 30 && systemctl restart cups-browsed
+ fi
+ ;;
+esac
@@ -1,3 +1,45 @@
ao=alsa:device=hw=0.3 # alsactl info
ac=hwac3
nosub=1
+alang=en
+[ws]
+# For "widescreen" (NTSC) DVD
+#
+# * 16:9 cinematic (or wider)
+# * 4:3 monitor
+vf=crop=720:360
+[ws-ntsc]
+[nvws-ntsc]
+# * 1.65:1 cinematic
+vf=crop=720:388
+[ws-pal]
+# For "widescreen" (PAL) DVD
+vf=crop=720:432
+[nvws-pal]
+vf=crop=720:465
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
#set -euo pipefail
-set -x
+#set -x
while true
do
@@ -4,14 +4,16 @@ set -euo pipefail
DOTFILES_DIR="${DOTFILES_DIR:=}"
[ "$DOTFILES_DIR" ] || DOTFILES_DIR=$(pwd)
-msg=${|
+msg=$(
mapfile -d $'\0' -t pkgs < <(
find "$DOTFILES_DIR" -maxdepth 1 -mindepth 1 -follow \
-type d \! -name '.*' \
-printf '%f\0'
- )
- local IFS=,; REPLY="${pkgs[*]}";
-}
+ ) >/dev/null
+ #local IFS=,; REPLY="${pkgs[*]}";
+ IFS=,
+ echo "${pkgs[*]}"
+)
action="${1:?action must be apply, update, or remove}"
package="${2:?package must be one of $msg}"