Files
scripts/shell/computer.sh

27 lines
513 B
Bash
Executable File

#!/usr/bin/env bash
# Detect machine by hostname
HOST=$(hostname)
case "$HOST" in
"minoxy")
# Apps for workstation
~/projects/scripts/shell/rnote_mapper.sh
#sleep 1
#firefox &
#sleep 3
#hyprctl dispatch workspace 1
;;
"thinix")
# Apps for laptop
#thunderbird &
#nm-connection-editor &
;;
*)
echo "Unknown host: $HOST"
;;
esac
# Optional: background processes should detach from terminal
disown