Compare commits
No commits in common. 'd0c53586ca40069e0b57bc6ddf39f41b7f47c560' and 'a12279370556851adccebc5ca37fb2bf23f3d21b' have entirely different histories.
d0c53586ca
...
a122793705
@ -1,16 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
while sleep 1; do
|
|
||||||
if [ "$(swaymsg -t get_workspaces | jq '.[] | select(.focused == true) | .num')" = '10' ] && ! (ps aux | grep -q [b]eyondallreason.real); then
|
|
||||||
if [ "$l" != 'on' ]; then
|
|
||||||
echo on
|
|
||||||
swaymsg 'output * adaptive_sync on'
|
|
||||||
l='on'
|
|
||||||
fi
|
|
||||||
else if [ "$l" != 'off' ]
|
|
||||||
then echo off
|
|
||||||
swaymsg 'output * adaptive_sync off'
|
|
||||||
l='off'
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
Loading…
Reference in New Issue