mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-09 07:28:53 +01:00
hyprland: Use new custom field for gaps in/out
Now the script works as expected with the latest commit on main for Hyprland.
This commit is contained in:
parent
7c1a9a248a
commit
2fb756acda
@ -15,8 +15,8 @@ in
|
||||
executable = true;
|
||||
text = /* bash */ ''
|
||||
#!/usr/bin/env bash
|
||||
hyprctl keyword general:gaps_out $((10 - $(hyprctl getoption general:gaps_out -j | jq -r ".int")))
|
||||
hyprctl keyword general:gaps_in $((5 - $(hyprctl getoption general:gaps_in -j | jq -r ".int")))
|
||||
hyprctl keyword general:gaps_out $((10 - $(hyprctl getoption general:gaps_out -j | jq -r ".custom" | choose 1)))
|
||||
hyprctl keyword general:gaps_in $((5 - $(hyprctl getoption general:gaps_in -j | jq -r ".custom" | choose 1)))
|
||||
hyprctl keyword general:border_size $((2 - $(hyprctl getoption general:border_size -j | jq -r ".int")))
|
||||
hyprctl keyword decoration:rounding $((8 - $(hyprctl getoption decoration:rounding -j | jq -r ".int")))
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user