mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
add scripts
This commit is contained in:
parent
997acebdcc
commit
0783ec3725
3 changed files with 23 additions and 0 deletions
9
modules/home/scripts/toogle_oppacity.sh
Executable file
9
modules/home/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