Compare commits
3 Commits
fe89438ad2
...
6667309c1a
Author | SHA1 | Date | |
---|---|---|---|
6667309c1a | |||
19585d432a | |||
d0f532f15c |
1
boxes/phone/init/.gitignore
vendored
Normal file
1
boxes/phone/init/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
app_cache/
|
18
boxes/phone/init/apps
Normal file
18
boxes/phone/init/apps
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
https://f-droid.org/repo/com.termux_1020.apk
|
||||||
|
https://f-droid.org/repo/com.termux.api_51.apk
|
||||||
|
https://f-droid.org/repo/com.termux.widget_13.apk
|
||||||
|
https://f-droid.org/repo/com.coboltforge.dontmind.multivnc_101.apk
|
||||||
|
https://f-droid.org/repo/com.kylecorry.trail_sense_124.apk
|
||||||
|
https://f-droid.org/repo/org.ligi.survivalmanual_428.apk
|
||||||
|
https://github.com/bitwarden/android/releases/download/v2024.4.0/com.x8bit.bitwarden.apk
|
||||||
|
https://f-droid.org/repo/at.bitfire.icsdroid_81.apk
|
||||||
|
https://f-droid.org/repo/ws.xsoh.etar_47.apk
|
||||||
|
https://f-droid.org/repo/at.bitfire.davdroid_404030200.apk
|
||||||
|
https://f-droid.org/repo/org.oxycblt.auxio_53.apk
|
||||||
|
https://f-droid.org/repo/de.danoeh.antennapod_3050095.apk
|
||||||
|
https://f-droid.org/repo/eu.faircode.email_2241.apk
|
||||||
|
https://f-droid.org/repo/org.koreader.launcher.fdroid_105232.apk
|
||||||
|
https://f-droid.org/repo/at.techbee.jtx_209010003.apk
|
||||||
|
https://f-droid.org/repo/mn.tck.semitone_4.apk
|
||||||
|
https://f-droid.org/repo/de.moekadu.tuner_38.apk
|
||||||
|
https://f-droid.org/repo/io.github.domi04151309.home_1100.apk
|
6
boxes/phone/init/main.sh
Executable file
6
boxes/phone/init/main.sh
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
mkdir -p app_cache
|
||||||
|
for i in $(cat apps); do
|
||||||
|
output_name=$(echo $i | awk -F'/' '{print $NF}')
|
||||||
|
curl "$i" --max-redirs 999 -L -C - -o "app_cache/$output_name"
|
||||||
|
adb install "app_cache/$output_name"
|
||||||
|
done
|
@ -38,7 +38,6 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
for i in $(ls $src/); do
|
for i in $(ls $src/); do
|
||||||
cp $src/$i $out/bin
|
cp $src/$i $out/bin
|
||||||
ln -sf $out/bin/tmenu_run $out/bin/regenerate
|
|
||||||
wrapProgram $out/bin/$i --prefix PATH : ${lib.makeBinPath [ sxhkd bash feh xrandr jq figlet curl fzy xkbset ytfzf sshuttle svkbd scrcpy xrectsel ffcast xmessage imagemagick ]}
|
wrapProgram $out/bin/$i --prefix PATH : ${lib.makeBinPath [ sxhkd bash feh xrandr jq figlet curl fzy xkbset ytfzf sshuttle svkbd scrcpy xrectsel ffcast xmessage imagemagick ]}
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
@ -10,8 +10,8 @@ tmenu_path () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export IS_RUNNING_IN_TMENU="yes"
|
export IS_RUNNING_IN_TMENU="yes"
|
||||||
choice=$(cat $HOME/.local/share/tmenu_cache | tmenu)
|
choice=$(echo regenerate | cat $HOME/.local/share/tmenu_cache - | tmenu)
|
||||||
if [ -z "$choice" ]; then
|
if [ "$choice" = "regenerate" ]; then
|
||||||
mkdir -p $HOME/.local/share
|
mkdir -p $HOME/.local/share
|
||||||
tmenu_path | sort > $HOME/.local/share/tmenu_cache
|
tmenu_path | sort > $HOME/.local/share/tmenu_cache
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user