From e5dc74881ce00eaba324d16f5d9412bab04fe857 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 5 Feb 2025 08:28:55 +0900 Subject: adjusted for ags since it is already optional to install --- config/hypr/scripts/Refresh.sh | 7 ++----- config/hypr/scripts/RefreshNoWaybar.sh | 4 ++-- copy.sh | 10 ++++++---- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/config/hypr/scripts/Refresh.sh b/config/hypr/scripts/Refresh.sh index 77ba1496..c8c46695 100755 --- a/config/hypr/scripts/Refresh.sh +++ b/config/hypr/scripts/Refresh.sh @@ -24,11 +24,8 @@ done killall -SIGUSR2 waybar # added since wallust sometimes not applying -# quit ags -ags -q - -# relaunch ags -ags & +# quit ags & relaunch ags +#ags -q && ags & # Kill waybar & swaync (yet again) # added since wallust sometimes not applying _ps2=(waybar swaync) diff --git a/config/hypr/scripts/RefreshNoWaybar.sh b/config/hypr/scripts/RefreshNoWaybar.sh index 11496826..85332a32 100755 --- a/config/hypr/scripts/RefreshNoWaybar.sh +++ b/config/hypr/scripts/RefreshNoWaybar.sh @@ -25,8 +25,8 @@ for _prs in "${_ps[@]}"; do fi done -# quit ags -ags -q +# quit ags & relaunch ags +#ags -q && ags & # Wallust refresh ${SCRIPTSDIR}/WallustSwww.sh & diff --git a/copy.sh b/copy.sh index 85c13c51..154e2c96 100755 --- a/copy.sh +++ b/copy.sh @@ -195,7 +195,7 @@ ${MAGENTA} NOTE:${RESET} esac done -printf "\n" +printf "\n%.0s" {1..1} # Check if asusctl is installed and add rog-control-center on Startup if command -v asusctl >/dev/null 2>&1; then @@ -207,12 +207,14 @@ if command -v blueman-applet >/dev/null 2>&1; then sed -i '/exec-once = blueman-applet &/s/^#//' config/hypr/UserConfigs/Startup_Apps.conf fi -# Check if ags is installed and add ags on Startup +# Check if ags is installed edit ags behaviour on configs if command -v ags >/dev/null 2>&1; then - sed -i '/exec-once = ags &/s/^#//' config/hypr/UserConfigs/Startup_Apps.conf + sed -i '/#exec-once = ags &/s/^#//' config/hypr/UserConfigs/Startup_Apps.conf + sed -i '/#ags -q && ags &/s/^#//' config/hypr/scripts/RefreshNoWaybar.sh + sed -i '/#ags -q && ags &/s/^#//' config/hypr/scripts/Refresh.sh fi -printf "\n" +printf "\n%.0s" {1..1} # Checking if neovim or vim is installed and offer user if they want to make as default editor # Function to modify the ENVariables.conf file -- cgit v1.2.3