Skip to content

Commit 11f56c5

Browse files
committed
oboro => [start-swhkd.sh]
1 parent c650c5b commit 11f56c5

1 file changed

Lines changed: 2 additions & 16 deletions

File tree

runes/hypr/start-swhkd.sh

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,5 @@
22

33
exec &>/tmp/mendess/swhkd.log
44

5-
while sleep 1; do swhks; done &
6-
7-
(
8-
for i in {0..3000}; do
9-
if rfkill | grep -q ' blocked'; then
10-
rfkill unblock bluetooth wlan
11-
break
12-
fi
13-
14-
sleep "$(bc <<<"$i / 1000")"
15-
done
16-
) &
17-
18-
while sleep 1; do
19-
pkexec swhkd --cooldown 400 --config ~/.config/swhkd/swhkdrc
20-
done
5+
swhks &
6+
swhkd --cooldown 400 --log ${XDG_RUNTIME_DIR:-$HOME/.local/share}/swhks-current_unix_time.log

0 commit comments

Comments
 (0)