fix freeze eww
This commit is contained in:
@@ -8,6 +8,7 @@ active() { hyprctl getoption decoration:screen_shader 2>/dev/null | grep -qF "$s
|
||||
case ${1:-} in
|
||||
status) active && echo true || echo false ;;
|
||||
*)
|
||||
detach_self "$@"
|
||||
if active; then
|
||||
hyprctl eval 'hl.config({ decoration = { screen_shader = "" } })' >/dev/null
|
||||
hyprctl eval 'hl.config({ render = { use_fp16 = 2 } })' >/dev/null
|
||||
|
||||
Reference in New Issue
Block a user