2023-10-12 21:32:56 +09:00

14 lines
340 B
Bash

#!/bin/bash
STATE=$(hyprctl -j getoption decoration:blur_passes | jq ".int")
if [ "${STATE}" == "2" ]; then
hyprctl keyword decoration:blur_size 3
hyprctl keyword decoration:blur_passes 1
notify-send "Less blur"
else
hyprctl keyword decoration:blur_size 7.8
hyprctl keyword decoration:blur_passes 2
notify-send "Normal blur"
fi