ssh-menu initial release

This commit is contained in:
2022-11-21 17:38:39 +01:00
commit bb9bd2f72f
6 changed files with 63 additions and 0 deletions

22
install Executable file
View File

@@ -0,0 +1,22 @@
#! /bin/bash
if [ ! -e /usr/bin/rofi ]; then
echo "error: rofi doesn't seem to be installed"
exit 1
fi
mkdir -p ~/.ssh-menu
# Install rofi-config-own or default rofi-config
if [ -e rofi-config-own ]; then
cp rofi-config-own ~/.ssh-menu/rofi-config
else
cp rofi-config ~/.ssh-menu/rofi-config
fi
# Install rofi-forge-cache-own script or default rofi-forge-cache
if [ -e rofi-forge-cache-own ]; then
cp rofi-forge-cache-own ~/.ssh-menu/rofi-forge-cache
else
cp rofi-forge-cache ~/.ssh-menu/rofi-forge-cache
fi