Skip to content

Commit

Permalink
🎨 (zellij): fuck tabs
Browse files Browse the repository at this point in the history
I think
  • Loading branch information
elythh committed Sep 30, 2024
1 parent 12f0408 commit e7654cd
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions modules/home/opt/shell/zellij/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,28 @@ in
ui {
pane_frames {
rounded_corners true
rounded_corners false
}
}
keybinds {
normal {
bind "Alt m" {
LaunchPlugin "file:~/.config/zellij/plugins/monocle.wasm" {
in_place true
kiosk true
bind "Alt f" {
LaunchPlugin "https://github.com/laperlej/zellij-choose-tree/releases/download/v0.4.0/zellij-choose-tree.wasm"{
floating true
move_to_focused_tab true
show_plugins false
};
SwitchToMode "Normal"
}
bind "Alt g" { LaunchOrFocusPlugin "https://github.com/laperlej/zellij-sessionizer/releases/download/v0.3.0/zellij-sessionizer.wasm" {
floating true
move_to_focused_tab true
cwd "/"
root_dirs "/home/gwen/workspace/rf/struktur/:/home/gwen/gh/nixvim:/etc/nixos"
};
SwitchToMode "Normal";
}
bind "Ctrl f" {
LaunchOrFocusPlugin "file:~/.config/zellij/plugins/monocle.wasm" {
floating true
Expand Down Expand Up @@ -190,7 +199,7 @@ in
default_tab_template {
pane size=2 borderless=true {
plugin location="file://${pkgs.zjstatus}/bin/zjstatus.wasm" {
format_left "{mode}#[bg=#181926] {tabs}"
format_left "{mode}#[bg=#181926]"
format_center ""
format_right "#[bg=#${base0D},fg=#${base01},bold]  #[bg=#${base01},fg=#${base0D},bold] {session} #[bg=#${base01},fg=#${base0D},bold]"
format_space ""
Expand Down

0 comments on commit e7654cd

Please sign in to comment.