Giter Club home page Giter Club logo

Comments (14)

Siriusmart avatar Siriusmart commented on September 25, 2024 2

in short sounds good go on

from youtube-tui.

edrex avatar edrex commented on September 25, 2024 1

It's an optional thing users can set. Usually you'd use it with a default value eg ${TERMINAL:-xterm} in bash.

Check out how i3-sensible-terminal does it: https://github.com/i3/i3/blob/next/i3-sensible-terminal

from youtube-tui.

Siriusmart avatar Siriusmart commented on September 25, 2024

thx, so the idea is to have alternative config files ready for download, it that what ur trying to say?

from youtube-tui.

edrex avatar edrex commented on September 25, 2024

Or just a section in the docs, to start. I was wanting to check with you before going forward, to see if you had any particular preferences for which tools. I spent some time evaluating Zellij last night, and concluded that it's a strict upgrade over tmux, so I was thinking to document config to open audio streams in an existing zellij session (just zellij run -- cmd). Also, any obstacles to just calling mpv etc directly, and waiting for it to exit? That honestly seems like a good default, since everyone has their own term emulator preference (kitty, wezterm, foot, konsole, etc). https://man.archlinux.org/man/i3-sensible-terminal.1.en is nice although unfortunately it's not installed by default anywhere.

from youtube-tui.

edrex avatar edrex commented on September 25, 2024

Also, I'm a Nix user, and at some point I'll probably make a home-manager module with some smart defaults for ppl installing via nix.

from youtube-tui.

Siriusmart avatar Siriusmart commented on September 25, 2024

seems cool, but I don't really use those tools (tmux, or zellij).

currently I'm in an exam situation, and I have no commits on hold not committed, so there shouldn't be a possibility of merge conflicts. If that sounds good you can start editing /docs anytime if you want to, or tell me if I misunderstood anything.

from youtube-tui.

Siriusmart avatar Siriusmart commented on September 25, 2024

No pressure, but how's the progress?

Also, just want to let you know that the repo - including the docs has been modified just now, so if you are still doing it don't forget to git pull or something.

from youtube-tui.

edrex avatar edrex commented on September 25, 2024

Next time I get around to messing with youtube-tui, I'll have a look at the existing docs/example configs and see if there's any low-hanging fruit. No timeline for that though cuz it's low priority for me.

from youtube-tui.

Siriusmart avatar Siriusmart commented on September 25, 2024

dw it has already been put onto nixos repos see installation

i'll close the issue for now as it doesn't seem necessary anymore

from youtube-tui.

edrex avatar edrex commented on September 25, 2024

test

from youtube-tui.

edrex avatar edrex commented on September 25, 2024

already been put onto nixos repos

Yes, it's already in nixpkgs like everything. I meant adding a config module to nix home-manager.

i'll close the issue for now as it doesn't seem necessary anymore

Adding example config that doesn't assume a specific terminal emulator is installed still seems very worthwhile, to avoid the need for customization in most cases (maybe one has been added since I filed tho, haven't checked)

from youtube-tui.

Siriusmart avatar Siriusmart commented on September 25, 2024

A config repo seems to be a good idea, config profiles would also be a good idea. But that seems like a lot of work, so maybe a post 1.0, non default feature while I work on missing core features such as subscriptions.

I also got another idea of making a TUI client template extensible by wasm, just like how weechat did it and move youtube-tui to it, but there are currently no plans and I have no idea how to do that.


I originally thought that getting the default term is really complicated, $TERM thinks I'm using xterm-256color, I'll figure out a way to do that without introducing new dependencies as compiling is already so painfully slow.

image

from youtube-tui.

edrex avatar edrex commented on September 25, 2024

config repo ... config profiles

yeah, I was just wanting to triage with a basic config example or default that would work for most users. I'm happy to take a look in a week or two.

$TERM thinks I'm using xterm-256color

that one is for looking up the termcap file, yucky POSIX internals.

A user can set $TERMINAL to the command for their preferred terminal emulator, so using that with a reasonable default could be good.

from youtube-tui.

Siriusmart avatar Siriusmart commented on September 25, 2024

$TERMINAL does not exist for me, it is stored somewhere in KDE settings idk

from youtube-tui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.