river: Switch to filtile layout

This commit is contained in:
Erwin Boskma 2024-05-22 16:44:49 +02:00
parent 01f766c59c
commit e218e4a959
Signed by: erwin
SSH key fingerprint: SHA256:/Wk1WZdLg+vQHs3in9qq7PsIp8SMzwGSk/RLZ5zPuZk

View file

@ -141,13 +141,15 @@ in
"${mod}+Shift f" = "spawn ${rofiPower}/bin/rofi-power";
"${mod}+Shift+Alt ${directions.left}" = "send-layout-cmd rivertile 'main-ratio -0.05'";
"${mod}+Shift+Alt ${directions.right}" = "send-layout-cmd rivertile 'main-ratio +0.05'";
"${mod}+Shift+Alt ${directions.left}" = "send-layout-cmd filtile 'main-ratio -0.05'";
"${mod}+Shift+Alt ${directions.right}" = "send-layout-cmd filtile 'main-ratio +0.05'";
"${mod}+Shift+Control ${directions.left}" = "send-layout-cmd rivertile 'main-location left'";
"${mod}+Shift+Control ${directions.right}" = "send-layout-cmd rivertile 'main-location right'";
"${mod}+Shift+Control ${directions.up}" = "send-layout-cmd rivertile 'main-location top'";
"${mod}+Shift+Control ${directions.down}" = "send-layout-cmd rivertile 'main-location bottom'";
"${mod}+Shift+Control ${directions.left}" = "send-layout-cmd filtile 'main-location left'";
"${mod}+Shift+Control ${directions.right}" = "send-layout-cmd filtile 'main-location right'";
"${mod}+Shift+Control ${directions.up}" = "send-layout-cmd filtile 'main-location top'";
"${mod}+Shift+Control ${directions.down}" = "send-layout-cmd filtile 'main-location bottom'";
"${mod} w" = "send-layout-cmd filtile 'monocle'";
}
// builtins.listToAttrs (
map (tag: {
@ -193,7 +195,7 @@ in
};
};
default-layout = "rivertile";
default-layout = "filtile";
border-width = 1;
border-color-focused = catppuccin.lavender;
@ -212,7 +214,7 @@ in
};
extraConfig = ''
${cfg.package}/bin/rivertile -view-padding 5 -outer-padding 5 &
${pkgs.river-filtile}/bin/filtile -view-padding 5 -outer-padding 5 &
'';
};