Files
lnx-arch/dots/bin/firstBoot.sh
committer@tuxwarrior c8ab69ca6d wip / i3wm ➔ hyprland
and, several clean-ups at the same time
2026-02-25 11:22:51 -05:00

19 lines
548 B
Bash
Executable File

#!/usr/bin/env bash
# klevstul :: 26.02.25
# create nextcloud directory
# note: this folder must match the base path of `$SYNCDIR_HOSTNAME` in `dots/environment/environment`
mkdir -p /home/poq/nextcloud
# start and stop browser, if it is not already running
browser="librewolf"
if ! pgrep -x "${browser}" > /dev/null; then
echo "${browser} is not running, so it will be started and closed after a few seconds. please, wait..."
${browser} &
sleep 10
pkill ${browser}
else
echo "${browser} is already running. do nothing."
fi