commit 8daf8f5fbb9b2429f40330686e2c402598a9dc34 parent 5b023312d738f2cacf6fa6ca45976c7e62580808 Author: Dash Eclipse <dashezup@disroot.org> Date: Mon, 21 Mar 2022 15:53:22 +0000 feat: add shell script appimage Diffstat:
A | .local/bin/appimage | | | 15 | +++++++++++++++ |
1 file changed, 15 insertions(+), 0 deletions(-)
diff --git a/.local/bin/appimage b/.local/bin/appimage @@ -0,0 +1,15 @@ +#!/bin/sh + +choose_appimage() { + ls -d ${HOME}/Desktop/AppImage/*.AppImage \ + | bemenu \ + -i -l18 -p 'AppImage' -P '-->' \ + --tf '#26A69A' --tb '#212121' \ + --hf '#eeeeee' --hb '#005577' +} + +APPIMAGE=$(choose_appimage) + +if [ ! -z "$APPIMAGE" ]; then + exec "$APPIMAGE" +fi