aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/ChangeBlur.sh
blob: 891e22ebeb87d66b1937431674f357e8a1f75005 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

dunst_notif="$HOME/.config/dunst/images/bell.png"

STATE=$(hyprctl -j getoption decoration:blur:passes | jq ".int")

if [ "${STATE}" == "2" ]; then
	hyprctl keyword decoration:blur:size 2
	hyprctl keyword decoration:blur:passes 1
  dunstify -u low -i "$dunst_notif" "Less blur"
else
	hyprctl keyword decoration:blur:size 5
	hyprctl keyword decoration:blur:passes 2
  dunstify -u low -i "$dunst_notif" "Normal blur"
fi
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage