From: Matthew Owens Date: Tue, 7 Jun 2022 20:11:45 +0000 (+0100) Subject: added scripts X-Git-Url: https://git.owens.tech///git?a=commitdiff_plain;h=60c00362cb88f2486c010e7d9b4495f8939645bf;p=scripts.git added scripts --- diff --git a/mpdf b/mpdf new file mode 100755 index 0000000..c3724c5 --- /dev/null +++ b/mpdf @@ -0,0 +1,3 @@ +#!/bin/bash + +f=$1; mupdf $f & while inotifywait -e close_write $f; do pkill -HUP mupdf; done diff --git a/steamlaunch b/steamlaunch new file mode 100755 index 0000000..de722c3 --- /dev/null +++ b/steamlaunch @@ -0,0 +1,26 @@ +#!/bin/bash + +STEAMDIR=~/.local/share/Steam/steamapps +cd $STEAMDIR +DMENU_CMD="dmenu -i -fn 'Terminus (TTF):size=12' -nb '#1c1c1c' -sb '#b35050' -nf '#b79e91' -sf '#1c1c1c'" + +MANIFESTS=($(find . -maxdepth 1 -name "*.acf")) +COUNT=${#MANIFESTS[@]} +APPIDS=($(echo ${MANIFESTS[@]} | grep -Eo "[0-9]+")) +APPNAMES=() + +for ((i=0; i