diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-04-18 21:01:02 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-04-18 21:01:02 +0200 |
commit | c0e2c0dd60655fbdf5b3a38b797901bb7c362529 (patch) | |
tree | a6df3173c9435b01133987532dc04872fbac31ec | |
parent | 00ec1553e919e8b4f02e4f27d73bfac4c5c31494 (diff) |
added togdim script
-rwxr-xr-x | bin/guiscripts/togdim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/guiscripts/togdim b/bin/guiscripts/togdim new file mode 100755 index 0000000..79bdbb8 --- /dev/null +++ b/bin/guiscripts/togdim @@ -0,0 +1,9 @@ +#!/bin/sh +dim="$(hyprctl -j getoption decoration:dim_strength | jq -r '.float')" +if [ "$dim" = "0.08" ] +then + hyprctl keyword decoration:dim_strength 0.58 +else + hyprctl keyword decoration:dim_strength 0.08 +fi + |