6241aea

Branches > main > 6241aea > files / nixos / machines / pc / configuration.nix

Add Zellij

Grahp, 2026-01-30

Commit: 6241aeaf5437943f995d613ddb4a9ac92770bf6e
Parent: a3f11cf

4 changed files:

.gitignore modified (view file)

@@ -2,3 +2,4 @@ !nvim/ !nixos/ !ghostty/+!zellij/

zellij/config.kdl added (view file)

@@ -0,0 +1,66 @@+keybinds clear-defaults=true {+    shared {+        bind "Super h" {MoveFocusOrTab "left";}+        bind "Super j" {MoveFocusOrTab "down";}+        bind "Super k" {MoveFocusOrTab "up";}+        bind "Super l" {MoveFocusOrTab "right";}++        bind "Super n" {+            NewTab+            SwitchToMode "normal"+        }+        bind "Super x" {+            CloseTab+            SwitchToMode "normal"+        }++        bind "Super f" {ToggleFloatingPanes;}++        bind "Super Shift h" {MoveTab "left";}+        bind "Super Shift l" {MoveTab "right";}++        bind "Super w" {+            LaunchOrFocusPlugin "session-manager" {+                floating true+                move_to_focused_tab true+            }+            SwitchToMode "normal"+        }+        bind "Super t" {+            SwitchToMode "renametab"+            TabNameInput 0+        }+      }+    renametab {+        bind "esc" {UndoRenameTab; SwitchToMode "normal";}+        bind "enter" {SwitchToMode "normal";}+    }+  }++plugins {+    about location="zellij:about"+    compact-bar location="zellij:compact-bar"+    configuration location="zellij:configuration"+    filepicker location="zellij:strider" {+        cwd "/"+    }+    plugin-manager location="zellij:plugin-manager"+    session-manager location="zellij:session-manager"+    status-bar location="zellij:status-bar"+    strider location="zellij:strider"+    tab-bar location="zellij:tab-bar"+    welcome-screen location="zellij:session-manager" {+        welcome_screen true+    }+}++load_plugins {+}+ +theme "grahp"+ +default_layout "grahp"+ +pane_frames false+ +show_startup_tips false

zellij/grahp.kdl added (view file)

@@ -0,0 +1,120 @@+themes {+    onedark {+        text_unselected {+            base 204 204 204+            background 0 0 0+            emphasis_0 209 154 102+            emphasis_1 86 182 194+            emphasis_2 152 195 121+            emphasis_3 198 120 221+        }+        text_selected {+            base 204 204 204+            background 29 32 37+            emphasis_0 209 154 102+            emphasis_1 86 182 194+            emphasis_2 152 195 121+            emphasis_3 198 120 221+        }+        ribbon_selected {+            base 29 32 37+            background 152 195 121+            emphasis_0 190 80 70+            emphasis_1 209 154 102+            emphasis_2 198 120 221+            emphasis_3 97 175 239+        }+        ribbon_unselected {+            base 29 32 37+            background 171 178 191+            emphasis_0 190 80 70+            emphasis_1 204 204 204+            emphasis_2 97 175 239+            emphasis_3 198 120 221+        }+        table_title {+            base 152 195 121+            background 0+            emphasis_0 209 154 102+            emphasis_1 86 182 194+            emphasis_2 152 195 121+            emphasis_3 198 120 221+        }+        table_cell_selected {+            base 204 204 204+            background 40 44 52+            emphasis_0 209 154 102+            emphasis_1 86 182 194+            emphasis_2 152 195 121+            emphasis_3 198 120 221+        }+        table_cell_unselected {+            base 204 204 204+            background 29 32 37+            emphasis_0 209 154 102+            emphasis_1 86 182 194+            emphasis_2 152 195 121+            emphasis_3 198 120 221+        }+        list_selected {+            base 204 204 204+            background 40 44 52+            emphasis_0 209 154 102+            emphasis_1 86 182 194+            emphasis_2 152 195 121+            emphasis_3 198 120 221+        }+        list_unselected {+            base 204 204 204+            background 29 32 37+            emphasis_0 209 154 102+            emphasis_1 86 182 194+            emphasis_2 152 195 121+            emphasis_3 198 120 221+        }+        frame_selected {+            base 152 195 121+            background 0+            emphasis_0 209 154 102+            emphasis_1 86 182 194+            emphasis_2 198 120 221+            emphasis_3 0+        }+        frame_highlight {+            base 209 154 102+            background 0+            emphasis_0 198 120 221+            emphasis_1 209 154 102+            emphasis_2 209 154 102+            emphasis_3 209 154 102+        }+        exit_code_success {+            base 152 195 121+            background 0+            emphasis_0 86 182 194+            emphasis_1 29 32 37+            emphasis_2 198 120 221+            emphasis_3 97 175 239+        }+        exit_code_error {+            base 190 80 70+            background 0+            emphasis_0 229 192 123+            emphasis_1 0+            emphasis_2 0+            emphasis_3 0+        }+        multiplayer_user_colors {+            player_1 198 120 221+            player_2 97 175 239+            player_3 0+            player_4 229 192 123+            player_5 86 182 194+            player_6 0+            player_7 190 80 70+            player_8 0+            player_9 0+            player_10 0+        }+    }+}

zellij/layouts/grahp.kdl added (view file)

@@ -0,0 +1,19 @@+layout {+  pane+  pane size=1 borderless=true {+    plugin location="https://github.com/dj95/zjstatus/releases/latest/download/zjstatus.wasm" {+      format_left   "{mode} {tabs}"+      format_space  ""++      hide_frame_for_single_pane "true"++      mode_normal  "#[bg=blue] "+      mode_locked  "#[bg=#ff00ff,fg=black] Locked "+      mode_tab     "#[bg=#d75f00] "+      mode_session "#[bg=blue,fg=black] Session "++      tab_normal   "#[fg=#5c6073]{name}  "+      tab_active   "#[fg=#cad2f5,bold]{name}  "+    }+  }+}