auto up 01:08:17 up 6:30, 2 users, load average: 0.62, 0.57, 0.51

This commit is contained in:
2025-11-06 01:08:18 +01:00
parent 8f3a3236de
commit 5679d664ef
3 changed files with 66 additions and 4 deletions

24
shell/computer.sh Executable file
View File

@@ -0,0 +1,24 @@
#!/usr/bin/env bash
# Detect machine by hostname
HOST=$(hostname)
case "$HOST" in
"minoxy")
# Apps for workstation
firefox --browser &
sleep 2
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