• Sims@lemmy.ml
    link
    fedilink
    arrow-up
    8
    ·
    5 months ago

    Noob-warning ;)

    Looks pretty cool. It almost gives a desktop-workspace vibe and seems way smarter than me flipping through my 6-10 session tabs.

    Does someone know if Zellij run ontop of bash, fish etc, or is it a shell replacement ? I hopped to Guix and would rather not dive too deep atmo with changing shells and so on. Also, is it possible to control with mouse ? I often lean back and do things with a mouse and prefer both options if possible.

    Never got around to using mux, but this seems nice.

    Thx.

    • d3Xt3r@lemmy.nzM
      link
      fedilink
      arrow-up
      4
      ·
      5 months ago

      Yes, Zellij runs on top of bash/fish etc, no need to change your existing shell. And yes, you can control with your mouse as well, but you can’t resize the panes with your mouse - but other than that, most mouse operations work as you’d expect.

      • Sims@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        5 months ago

        Well, if I need to resize those rigid panes, I’ll just have to suck it up and manually move my hand to the keyboard ! …and exercise is supposedly healthy anyway 🙃

        I’ll give it a spin. Thanks a lot.

        edit: git had good information: https://github.com/zellij-org/zellij

        edit2: "Try Zellij without installing

        bash/zsh: bash <(curl -L zellij.dev/launch) fish/xonsh: bash -c ‘bash <(curl -L zellij.dev/launch)’ "

        VERY easy to test out!

        Last edit: https://zellij.dev/documentation/overview

  • caseyweederman@lemmy.ca
    link
    fedilink
    arrow-up
    2
    ·
    5 months ago

    Agh! I just today switched from Zellij to Byobu.
    It was for the cool system monitor status bar. And drag-resize panes.
    But you can win me back with floating panes that don’t disappear when I click on panes behind them! And a way to detach ghost sessions.
    Multi-modifier keyboard shortcuts would go a long way too. I should have checked the changelog before starting to write this post.
    There’s a lot that I really like about Zellij. Session focus indicators, stylish border characters, panes and tabs. It’s very classy.

      • caseyweederman@lemmy.ca
        link
        fedilink
        arrow-up
        3
        ·
        5 months ago

        Zellij and Byobu? Byobu is less pretty but more functional, probably because it’s a front-end for existing mature technologies (screen/tmux). I’ve seen it described as more or less just a list of presets for tmux, so presumably you could get the same effect by spending a few hours customizing base tmux.
        Zellij feels new and hip (special fonts for pretty borders and buttons) but some aspects don’t feel quite finished (like how it’s missing multiple modifier keys to avoid keyboard shortcut collisions, how it’s not in major distribution repositories, no drag-resize panes (that I’ve found, at least)). It feels inevitable that Zellij is going to overtake the incumbent multiplexers and soon but for the moment I just really wanted that system monitor status bar.
        Both have panes, tabs, sessions, degrees of gpm functionality. Zellij has the other-user-focus indicator, Byobu has the status bar and renamable tabs. Byobu will automatically reattach if a session is found, Zellij needs a few lines in .bashrc first. Both can save and load layouts but Zellij needs you to write the layout to a kdl file somewhere while Byobu can do it with one keypress (not sure if that survives across sessions though). I get the impression that permanent config in Zellij requires more manual config file manipulation, which isn’t necessarily a negative, but feels more like having to learn a new programming language for something you’ll set up once and then immediately forget about.
        Both have more pros than cons and I’m sure I’ll continue bouncing back and forth as I refine my understanding and opinions.

        A quick thought experiment for how I think Zellij could close the distance:
        Preset layouts, or community layouts that are easily shared
        Live system resource monitor status bar (I spent weirdly long looking for a single-row live terminal resource monitor that I could just set up in its own pane and just couldn’t find one)
        Of course, being able to bind multiple hotkey modifiers, though I’ve read on the github issue that that’s not necessarily a trivial feature)
        More mouse functionality (though I might be in the minority there, haha)
        Maybe a TUI interface for setting config items

        Looking at this list, it’s really just a bunch of things that would suit my own personal workflow, haha.

        • Nisaea@lemmy.sdf.org
          link
          fedilink
          arrow-up
          2
          ·
          5 months ago

          Wow, thank you so much for the very thorough answer! I’ve been interested in both and having the point of view of someone who has experienced both is extremely useful. I appreciate it a lot.