mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-04 22:20:38 +01:00
8 lines
187 B
Bash
8 lines
187 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
if [[ "$(hyprctl -j getoption general:layout | jq -r '.str')" == "master" ]]; then
|
||
|
hyprctl keyword general:layout "dwindle"
|
||
|
else
|
||
|
hyprctl keyword general:layout "master"
|
||
|
fi
|