wip / i3wm ➔ hyprland
and, several clean-ups at the same time
This commit is contained in:
18
dots/bin/firstBoot.sh
Executable file
18
dots/bin/firstBoot.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user