mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
niri configs
This commit is contained in:
parent
a7902144a9
commit
ec70a18eba
1 changed files with 26 additions and 20 deletions
|
|
@ -142,24 +142,18 @@
|
||||||
# // together with the previously focused column.
|
# // together with the previously focused column.
|
||||||
# center-focused-column "never"
|
# center-focused-column "never"
|
||||||
|
|
||||||
# // You can customize the widths that "switch-preset-column-width" (Mod+R) toggles between.
|
# Widths to cycle through
|
||||||
# preset-column-widths {
|
preset-column-widths = [
|
||||||
# // Proportion sets the width as a fraction of the output width, taking gaps into account.
|
{proportion = 1. / 3.;}
|
||||||
# // For example, you can perfectly fit four windows sized "proportion 0.25" on an output.
|
{proportion = 1. / 2.;}
|
||||||
# // The default preset widths are 1/3, 1/2 and 2/3 of the output.
|
{proportion = 2. / 3.;}
|
||||||
# proportion 0.33333
|
];
|
||||||
# proportion 0.5
|
|
||||||
# proportion 0.66667
|
|
||||||
|
|
||||||
# // Fixed sets the width in logical pixels exactly.
|
|
||||||
# // fixed 1920
|
|
||||||
# }
|
|
||||||
|
|
||||||
# // You can also customize the heights that "switch-preset-window-height" (Mod+Shift+R) toggles between.
|
# // You can also customize the heights that "switch-preset-window-height" (Mod+Shift+R) toggles between.
|
||||||
# // preset-window-heights { }
|
# // preset-window-heights { }
|
||||||
|
|
||||||
# // You can change the default width of the new windows.
|
# You can change the default width of the new windows.
|
||||||
# default-column-width { proportion 0.5; }
|
default-column-width = {proportion = 0.5;};
|
||||||
# // If you leave the brackets empty, the windows themselves will decide their initial width.
|
# // If you leave the brackets empty, the windows themselves will decide their initial width.
|
||||||
# // default-column-width {}
|
# // default-column-width {}
|
||||||
|
|
||||||
|
|
@ -174,7 +168,7 @@
|
||||||
# // Alternatively, you can override it with a window rule called
|
# // Alternatively, you can override it with a window rule called
|
||||||
# // `draw-border-with-background`.
|
# // `draw-border-with-background`.
|
||||||
|
|
||||||
# // You can change how the focus ring looks.
|
# You can change how the focus ring looks.
|
||||||
# focus-ring {
|
# focus-ring {
|
||||||
# // Uncomment this line to disable the focus ring.
|
# // Uncomment this line to disable the focus ring.
|
||||||
# // off
|
# // off
|
||||||
|
|
@ -291,7 +285,7 @@
|
||||||
# Additionally, clients will be informed that they are tiled, removing some client-side rounded corners.
|
# Additionally, clients will be informed that they are tiled, removing some client-side rounded corners.
|
||||||
# This option will also fix border/focus ring drawing behind some semitransparent windows.
|
# This option will also fix border/focus ring drawing behind some semitransparent windows.
|
||||||
# After enabling or disabling this, you need to restart the apps for this to take effect.
|
# After enabling or disabling this, you need to restart the apps for this to take effect.
|
||||||
# prefer-no-csd
|
# prefer-no-csd = true;
|
||||||
|
|
||||||
# // You can change the path where screenshots are saved.
|
# // You can change the path where screenshots are saved.
|
||||||
# // A ~ at the front will be expanded to the home directory.
|
# // A ~ at the front will be expanded to the home directory.
|
||||||
|
|
@ -485,12 +479,24 @@
|
||||||
# // Mod+Shift+Ctrl+Left { move-workspace-to-monitor-left; }
|
# // Mod+Shift+Ctrl+Left { move-workspace-to-monitor-left; }
|
||||||
# // ...
|
# // ...
|
||||||
|
|
||||||
"Mod+Page_Down".action = focus-workspace-down;
|
"Mod+Page_Down" = {
|
||||||
"Mod+Page_Up".action = focus-workspace-up;
|
hotkey-overlay.title = "Switch workspace down";
|
||||||
|
action = focus-workspace-down;
|
||||||
|
};
|
||||||
|
"Mod+Page_Up" = {
|
||||||
|
hotkey-overlay.title = "Switch workspace up";
|
||||||
|
action = focus-workspace-up;
|
||||||
|
};
|
||||||
"Mod+U".action = focus-workspace-down;
|
"Mod+U".action = focus-workspace-down;
|
||||||
"Mod+I".action = focus-workspace-up;
|
"Mod+I".action = focus-workspace-up;
|
||||||
"Mod+Ctrl+Page_Down" .action = move-column-to-workspace-down;
|
"Mod+Ctrl+Page_Down" = {
|
||||||
"Mod+Ctrl+Page_Up" .action = move-column-to-workspace-up;
|
hotkey-overlay.title = "Move column up a workspace";
|
||||||
|
action = move-column-to-workspace-down;
|
||||||
|
};
|
||||||
|
"Mod+Ctrl+Page_Up" = {
|
||||||
|
hotkey-overlay.title = "Move column down a workspace";
|
||||||
|
action = move-column-to-workspace-up;
|
||||||
|
};
|
||||||
"Mod+Ctrl+U".action = move-column-to-workspace-down;
|
"Mod+Ctrl+U".action = move-column-to-workspace-down;
|
||||||
"Mod+Ctrl+I".action = move-column-to-workspace-up;
|
"Mod+Ctrl+I".action = move-column-to-workspace-up;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue