From 84e48081085bef7b73dc93fdf7ef42f63de95441 Mon Sep 17 00:00:00 2001 From: Diana Ward Date: Sat, 16 Nov 2024 18:22:13 -0700 Subject: [PATCH] correct what version of ags it is checking --- roles/hyprland/files/hypr/scripts/ags/full-screenshot.sh | 2 +- roles/hyprland/files/hypr/scripts/ags/keybinds.sh | 2 +- roles/hyprland/files/hypr/scripts/ags/launcher.sh | 2 +- roles/hyprland/files/hypr/scripts/ags/overview.sh | 2 +- roles/hyprland/files/hypr/scripts/ags/partial-screenshot.sh | 2 +- roles/hyprland/files/hypr/scripts/ags/powermenu.sh | 2 +- roles/hyprland/files/hypr/scripts/ags/record.sh | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/roles/hyprland/files/hypr/scripts/ags/full-screenshot.sh b/roles/hyprland/files/hypr/scripts/ags/full-screenshot.sh index a032f4f..0c4761d 100755 --- a/roles/hyprland/files/hypr/scripts/ags/full-screenshot.sh +++ b/roles/hyprland/files/hypr/scripts/ags/full-screenshot.sh @@ -1,5 +1,5 @@ #!/bin/bash -pgrep ags > /dev/null +pgrep agsv1 > /dev/null if [[ "$?" != "0" ]]; then agsv1 -r 'recorder.screenshot(true)' else diff --git a/roles/hyprland/files/hypr/scripts/ags/keybinds.sh b/roles/hyprland/files/hypr/scripts/ags/keybinds.sh index 40c15c4..90df44d 100755 --- a/roles/hyprland/files/hypr/scripts/ags/keybinds.sh +++ b/roles/hyprland/files/hypr/scripts/ags/keybinds.sh @@ -1,5 +1,5 @@ #!/bin/bash -pgrep ags > /dev/null +pgrep agsv1 > /dev/null if [[ "$?" != "0" ]]; then agsv1 -t keybinds else diff --git a/roles/hyprland/files/hypr/scripts/ags/launcher.sh b/roles/hyprland/files/hypr/scripts/ags/launcher.sh index 6b85858..b1d9f20 100755 --- a/roles/hyprland/files/hypr/scripts/ags/launcher.sh +++ b/roles/hyprland/files/hypr/scripts/ags/launcher.sh @@ -1,5 +1,5 @@ #!/bin/bash -pgrep ags > /dev/null +pgrep agsv1 > /dev/null if [[ "$?" != "0" ]]; then agsv1 -t launcher else diff --git a/roles/hyprland/files/hypr/scripts/ags/overview.sh b/roles/hyprland/files/hypr/scripts/ags/overview.sh index 536ef12..f081b1a 100755 --- a/roles/hyprland/files/hypr/scripts/ags/overview.sh +++ b/roles/hyprland/files/hypr/scripts/ags/overview.sh @@ -1,5 +1,5 @@ #!/bin/bash -pgrep ags > /dev/null +pgrep agsv1 > /dev/null if [[ "$?" != "0" ]]; then agsv1 -t overview else diff --git a/roles/hyprland/files/hypr/scripts/ags/partial-screenshot.sh b/roles/hyprland/files/hypr/scripts/ags/partial-screenshot.sh index 028a3a7..1d4fb18 100755 --- a/roles/hyprland/files/hypr/scripts/ags/partial-screenshot.sh +++ b/roles/hyprland/files/hypr/scripts/ags/partial-screenshot.sh @@ -1,5 +1,5 @@ #!/bin/bash -pgrep ags > /dev/null +pgrep agsv1 > /dev/null if [[ "$?" != "0" ]]; then agsv1 -r 'recorder.screenshot()' else diff --git a/roles/hyprland/files/hypr/scripts/ags/powermenu.sh b/roles/hyprland/files/hypr/scripts/ags/powermenu.sh index 832df32..dd5e63e 100755 --- a/roles/hyprland/files/hypr/scripts/ags/powermenu.sh +++ b/roles/hyprland/files/hypr/scripts/ags/powermenu.sh @@ -1,5 +1,5 @@ #!/bin/bash -pgrep ags > /dev/null +pgrep agsv1 > /dev/null if [[ "$?" != "0" ]]; then agsv1 -t powermenu else diff --git a/roles/hyprland/files/hypr/scripts/ags/record.sh b/roles/hyprland/files/hypr/scripts/ags/record.sh index b23d45a..17c6868 100755 --- a/roles/hyprland/files/hypr/scripts/ags/record.sh +++ b/roles/hyprland/files/hypr/scripts/ags/record.sh @@ -1,5 +1,5 @@ #!/bin/bash -pgrep ags > /dev/null +pgrep agsv1 > /dev/null if [[ "$?" != "0" ]]; then agsv1 -r 'recorder.start' else