aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/Wlogout.sh
diff options
context:
space:
mode:
authorJa.KooLit <jimmielovejay@gmail.com>2023-11-25 18:57:40 +0900
committerGitHub <noreply@github.com>2023-11-25 18:57:40 +0900
commit823ce273e69e716be814473430d0cfa5cb714b7d (patch)
tree70878cbe3027d9da452658a8644e33d83c1b3ea2 /config/hypr/scripts/Wlogout.sh
parentfbf04572b4ed8867da3c96551b25261401364be0 (diff)
parent19f025c2dc27da54127ae302482398be61b55ebe (diff)
Merge pull request #34 from JaKooLit/v2.1.9
V2.1.9
Diffstat (limited to 'config/hypr/scripts/Wlogout.sh')
-rwxr-xr-xconfig/hypr/scripts/Wlogout.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/config/hypr/scripts/Wlogout.sh b/config/hypr/scripts/Wlogout.sh
deleted file mode 100755
index c8ce86c1..00000000
--- a/config/hypr/scripts/Wlogout.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/bash
-
-# If you have 1440p, better to use this
-#wlogout --protocol layer-shell -b 5 -T 600 -B 600 &
-
-# for 1080p
-wlogout --protocol layer-shell -b 5 -T 450 -B 450 &
-
-
-# Capture the PID of the wlogout process
-wlogout_pid=$!
-
-# Wait for up to 30 seconds for wlogout to exit gracefully
-timeout 30s tail --pid $wlogout_pid -f /dev/null
-
-# If wlogout is still running after the timeout, forcefully kill it
-if ps -p $wlogout_pid > /dev/null; then
- kill -KILL $wlogout_pid
-fi
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage