Skip to content

Commit

Permalink
🎨 zellij: use indicators variables
Browse files Browse the repository at this point in the history
  • Loading branch information
elythh committed Feb 24, 2024
1 parent c7c1f53 commit 01ac43f
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions home/gwen/conf/term/zellij/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ nix-colors, config, ... }:
{ config, ... }:

with config.colorscheme.palette; {
programs.zellij = {
Expand All @@ -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 = ''
Expand Down Expand Up @@ -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 "⬚ "
}
}
}
Expand Down

0 comments on commit 01ac43f

Please sign in to comment.