aboutsummaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2025-02-14 23:36:30 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2025-02-14 23:36:30 +0300
commit0db3e9414e5a59fc32648819d57d917ceaa6e427 (patch)
treeff51886f939073aa03bc61295fe2b94f57c3d89e /dotfiles
parentad16c74862d2bf23e1ad58658b46bbc3ac98ebad (diff)
downloadswayrice-0db3e9414e5a59fc32648819d57d917ceaa6e427.tar.gz
swayrice-0db3e9414e5a59fc32648819d57d917ceaa6e427.zip
niri: update config for tabbed columnsniri
Diffstat (limited to 'dotfiles')
-rw-r--r--dotfiles/.config/niri/config.kdl22
1 files changed, 22 insertions, 0 deletions
diff --git a/dotfiles/.config/niri/config.kdl b/dotfiles/.config/niri/config.kdl
index 469fd71..f3eb4db 100644
--- a/dotfiles/.config/niri/config.kdl
+++ b/dotfiles/.config/niri/config.kdl
@@ -108,6 +108,7 @@ output "eDP-1" {
output "DP-1" {
background-color "#000000"
position x=1536 y=0
+ //mode "2560x1440@165.000"
}
// Settings that influence how windows are positioned and sized.
@@ -244,6 +245,22 @@ layout {
insert-hint {
color "#5b8277"
}
+
+ tab-indicator {
+ // off
+ // hide-when-single-tab
+ place-within-column
+ gap 3
+ width 6
+ length total-proportion=0.8
+ // position "bottom"
+ gaps-between-tabs 3
+ // corner-radius 8
+ active-color "#99d0b5"
+ // inactive-color "gray"
+ active-gradient from="#1f5c9a" to="#99d0b5" angle=180
+ inactive-gradient from="#252832" to="#676775" angle=180
+ }
}
// Add lines like this to spawn processes at startup.
@@ -604,6 +621,11 @@ binds {
Mod+Shift+Space { toggle-window-floating; }
Mod+Space { switch-focus-between-floating-and-tiling; }
+ // Toggle tabbed column display mode.
+ // Windows in this column will appear as vertical tabs,
+ // rather than stacked on top of each other.
+ Mod+W { toggle-column-tabbed-display; }
+
// Actions to switch layouts.
// Note: if you uncomment these, make sure you do NOT have
// a matching layout switch hotkey configured in xkb options above.