From 01ac43f9901d90c3504cc8d78949d3af9a674820 Mon Sep 17 00:00:00 2001 From: elythh Date: Sun, 25 Feb 2024 00:12:14 +0100 Subject: [PATCH] :art: zellij: use indicators variables --- home/gwen/conf/term/zellij/default.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/home/gwen/conf/term/zellij/default.nix b/home/gwen/conf/term/zellij/default.nix index a09d68c4..5c6d29fc 100644 --- a/home/gwen/conf/term/zellij/default.nix +++ b/home/gwen/conf/term/zellij/default.nix @@ -1,4 +1,4 @@ -{ nix-colors, config, ... }: +{ config, ... }: with config.colorscheme.palette; { programs.zellij = { @@ -10,10 +10,6 @@ with config.colorscheme.palette; { zrf = "zellij run --floating --"; ze = "zellij edit"; zef = "zellij edit --floating"; - # dev-env rust - ders = "zellij action new-tab -l ~/.config/zellij/layouts/rust.kdl"; - # dev-env js - dejs = "zellij action new-tab -l ~/.config/zellij/layouts/js.kdl"; }; xdg.configFile."zellij/config.kdl".text = '' @@ -95,16 +91,21 @@ with config.colorscheme.palette; { mode_locked "#[bg=#${color9}] {name} " tab_normal "#[fg=#${comment}] {index}:{name} " - tab_normal_fullscreen "#[fg=#${comment}] {index}:{name} [] " + tab_normal_fullscreen "#[fg=#${comment}] {index}:{name} {fullscreen_indicator}" tab_normal_sync "#[fg=#${comment}] {index}:{name} <> " + tab_normal_floating "#[fg=#${comment}] {index}:{name} {floating_indicator}" tab_active "#[fg=#${color4},bold,italic] {name} " - tab_active_fullscreen "#[fg=#${color4},bold,italic] {name} [] " + tab_active_fullscreen "#[fg=#${color4},bold,italic] {name} {fullscreen_indicator}" tab_active_sync "#[fg=#${color4},bold,italic] {name} <> " + tab_active_floating "#[fg=#${color4},bold,italic] {name} {floating_indicator}" datetime "#[fg=#${comment},bold] {format} " datetime_format "%A, %d %b %Y %H:%M" datetime_timezone "Europe/Paris" + + tab_fullscreen_indicator "[] " + tab_floating_indicator "⬚ " } } }