diff --git a/hypr/scripts/loadconfig.sh b/hypr/scripts/loadconfig.sh new file mode 100755 index 0000000..a51ce6d --- /dev/null +++ b/hypr/scripts/loadconfig.sh @@ -0,0 +1,2 @@ +#!/bin/bash +hyprctl reload \ No newline at end of file diff --git a/hypr/scripts/swayidle.sh b/hypr/scripts/swayidle.sh deleted file mode 100755 index 529d962..0000000 --- a/hypr/scripts/swayidle.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -pgrep_output=$(pgrep swayidle) -pgrep_arr=($pgrep_output) -if [[ "${#pgrep_arr[@]}" == "1" ]] || [[ "${#pgrep_arr[@]}" == "0" ]]; then - echo "Swayidle is not running. Starting Swayidle." - ./lockscreentime.sh -else - echo "Swayidle is running. Killing swayidle." - killall swayidle -fi