#!/bin/bash

# omarchy:summary=Restart the Omarchy shell
# omarchy:examples=omarchy restart shell

CONFIG_DIR="$OMARCHY_PATH/shell"

if ! quickshell reload -p "$CONFIG_DIR" >/dev/null 2>&1; then
  setsid quickshell -n -p "$CONFIG_DIR" >/dev/null 2>&1 &
fi
