raspiblitz/home.admin/_tmux_alias.sh
frennkie 00f98f55f1
use alias for tmux status bar (#1423)
* use alias for tmux status bar
2020-08-08 22:21:48 +02:00

13 lines
244 B
Bash
Executable File

#!/bin/bash
# script for custom tmux status bar
configFile="/mnt/hdd/raspiblitz.conf"
if [ -f "$configFile" ]; then
source ${configFile} 2>/dev/null
echo "${hostname}"
else
#echo "$configFile does not exist"
echo "unknown"
fi