some changes within scripts

This commit is contained in:
pika 2025-05-04 14:43:48 +02:00
parent 643eaa2f9e
commit 7d6d263d71
6 changed files with 229 additions and 20 deletions

View file

@ -21,13 +21,13 @@ log_notify() {
# Initialize system modules
initialize_modules() {
# ─< hyprpanel, waybar, gBar >────────────────────────────────────────────────────────────
bar="hyprpanel"
# bar="hyprpanel"
bash "$HOME/.config/hypr/.scripts/bar"
modules="
copyq
nwg-look
swww
$bar
wob
redshift
"
@ -36,13 +36,6 @@ initialize_modules() {
if command_exists "$module"; then
log_notify "low" "$module" "Initializing..."
case $module in
waybar | flameshot)
pkill "$module" 2>/dev/null
"$module" &
;;
hyprpanel)
hyprpanel &
;;
copyq)
pkill copyq 2>/dev/null
copyq --start-server
@ -78,6 +71,8 @@ initialize_modules() {
sleep 0.5
done
# bash "$HOME/.config/hypr/.scripts/wallpaper"
log_notify "normal" "INFO" "System modules initialized."
}