mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-06 07:34:16 +01:00
change scripts
This commit is contained in:
parent
be42d058cb
commit
27e0c22bae
10 changed files with 86 additions and 72 deletions
9
modules/home/scripts/scripts/toogle_oppacity.sh
Executable file
9
modules/home/scripts/scripts/toogle_oppacity.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if hyprctl getoption decoration:active_opacity | grep "float: 1" >/dev/null ; then
|
||||
hyprctl keyword decoration:active_opacity 0.85 >/dev/null
|
||||
hyprctl keyword decoration:inactive_opacity 0.85 >/dev/null
|
||||
else
|
||||
hyprctl keyword decoration:active_opacity 1 >/dev/null
|
||||
hyprctl keyword decoration:inactive_opacity 1 >/dev/null
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue