fix(hyprland): keep layout comment attached
This commit is contained in:
@@ -17,7 +17,6 @@ let
|
||||
|
||||
# Flip the tiling strategy between the two built-in layouts, since neither a
|
||||
# dispatcher nor a keyword toggles it on its own.
|
||||
user = config.user.name;
|
||||
toggleLayout = pkgs.writeShellScript "hypr-toggle-layout" ''
|
||||
if [ "$(hyprctl getoption -j general:layout | ${pkgs.jq}/bin/jq -r .str)" = dwindle ]; then
|
||||
hyprctl keyword general:layout master
|
||||
@@ -25,6 +24,7 @@ let
|
||||
hyprctl keyword general:layout dwindle
|
||||
fi
|
||||
'';
|
||||
user = config.user.name;
|
||||
in
|
||||
{
|
||||
options.modules.desktop.session.hyprland = {
|
||||
|
||||
Reference in New Issue
Block a user