feat(hyprland): make zellij open when terminal opens

This commit is contained in:
Mohammad Rafiq 2025-05-20 17:35:21 +08:00
parent 7e122ec3c9
commit e1337e0f99
No known key found for this signature in database
3 changed files with 3 additions and 2 deletions

View file

@ -18,6 +18,7 @@
config = lib.mkMerge [
{
home.shell.enableShellIntegration = true;
programs.zoxide.enable = true;
home.shellAliases.cd = "z";
home.persistence."/persist/home/${config.snowfallorg.user.name}".directories = [

View file

@ -1,7 +1,7 @@
{ config, lib, ... }:
{
config = lib.mkIf (config.cli.multiplexer == "zellij") {
home.sessionVariables.multiplexer = "zellij -c";
home.sessionVariables.MULTIPLEXER = "zellij";
programs.zellij = {
enable = true;
attachExistingSession = true;

View file

@ -4,7 +4,7 @@
"$hypr, Q, exec, uwsm stop"
"SUPER, W, killactive"
"SUPER, return, exec, uwsm app -- $TERMINAL"
"SUPER, return, exec, uwsm app -- $TERMINAL $MULTIPLEXER"
"SUPER, O, exec, uwsm app -- $BROWSER"
"SUPER, H, cyclenext, visible"