HyDE-Project / Hyde-cli

A HyDE CLI, wrapper, tweaks , workarounds, and more!
https://github.com/prasanthrangan/hyprdots
GNU General Public License v3.0
108 stars 10 forks source link

Features discussion #47

Open rubiin opened 6 months ago

rubiin commented 6 months ago

Make readme more user friendly. May include an optional video tour guide on install. Also add sections on how to update to latest hyprdots

kRHYME7 commented 6 months ago

Soon will change the goal of this project. At first, it only acts as helper and workarounds, but I guess we should consider turning this project as a wrapper for Hyde.

rubiin commented 6 months ago

I think we should make the cli as preferred option for installing dots in the readme . And the git clone as manual

kRHYME7 commented 6 months ago

tl;tr

Not yet, for now. As the CLI is dependent on some install scripts from Hyde. I am now considering an independent one in case we can't follow the breaking changes upstream.

Expect a markdown for these soon in README.

Hyde-install Done:

not yet:

What's on my plate:

  1. Everything works now my only issue is I really want to store the package array inside a variable not a file so that it will be faster than writing multiple files. (Just my ego and proof of concept)
  2. We can write it all in memory, drawbacks are We should execute everything in a single shell , or do some exports.

Will try 2 this week if it's too much then will use the first method.

I made a fast sketch: image

NOTE consider --[flags] to be invoked manually and consciously, this gives freedom without breaking the defaults for unconscious inputs.

rubiin commented 6 months ago

Also, I think we should rename the cli from "Hyde" to "hyde" , most clis have small case naming patterns

rubiin commented 6 months ago

Also another thing, the make version of the install requires you to sudo. Is it okay?

kRHYME7 commented 6 months ago

Yes it requires sudo so that it will be available systemwide.

kRHYME7 commented 6 months ago

about the Command being Uppercase, It's for clarity and being conscious of what the user types in the Terminal.

is it really necessary to make it lowercases?

rubiin commented 6 months ago

nah not necessary but a typical linux person would definitely type hyde after installing as the aur name is also hyde-cli-git .

kRHYME7 commented 6 months ago

Will leave it like that for now.

My convention for this is like

1st: Main Command 2nd: Actual function 3rd: [args/params]

For me this is too long, so I decided to make the first command stand out, indicating that this is the main Shell. Something like that. Will definitely make it lowercase if 2 or more requested it. ( inspired byt the Compositor command Hyprland )

rubiin commented 6 months ago

that makes sense. lets get on with the remaining milestones . I could help out on my free time with some issues

kRHYME7 commented 6 months ago

I'm just annoyed with the Hyde.usage haha. I'm thinking of breaking it down to single file for each funtions. eg upgrade restore etc then will make a script to merge them later on, plus compile with complgen. It is not a perfect solution, But will make it easier for me and other contributors to find the function via file, then add its related function.

Another thing can we use endeavorOS nvidia-inst? https://github.com/endeavouros-team/PKGBUILDS/blob/master/nvidia-inst/nvidia-inst

kRHYME7 commented 6 months ago

@rubiin Hello! the Hyde.usage now is auto generated

rubiin commented 6 months ago

@kRHYME7 cool. Will try out. It was a pain to maintain the usage file as we are adding so many things .

kRHYME7 commented 6 months ago

This is exclusive for --dev (contributors)

so Hyde --dev select the gen completion then it will output the Hyde.usgae in the terminal (stdou).

or just using ./complgen.sh

rubiin commented 6 months ago

I was thinking of adding jp2a dependency when installing from aur for seamless experience

kRHYME7 commented 6 months ago

This is used to render images in ascii right?

rubiin commented 6 months ago

yup. Having it will dependency will make the CLI workable straightforward

rubiin commented 5 months ago

I was thinking of adding jp2a dependency when installing from aur for seamless experience

@kRHYME7 is this there? Or should I make a pr.

kRHYME7 commented 5 months ago

This will opt to install when running anything that renders images and not using kitty

rubiin commented 4 months ago

closing this as it looks covered

rubiin commented 4 months ago

@kRHYME7 you can take code plus inspirations for features from here https://github.com/JaKooLit/Hyprland-Dots that will make hyde a lil better

rubiin commented 3 months ago

@kRHYME7 how about a powersaver mode? Like powersaver on would quicky turn off all these

[-a] [--animations] Default animations [-ba] [--borderangle] Default border angle animation [-b] [--blur] Default blur [-o] [--opacity] Default tranparency

and again on toggle would enable them.

The current toggle option doesnt do anything :(

kRHYME7 commented 3 months ago

Yes that would be helpful! But take note this is NOT set using hyprctl keywords so it will be a persistent mode across reboots.

rubiin commented 3 months ago

yeah lets make toggle act as what the name would suggest. I dont know what toggle does now atm

also can you merge the PR so we might release the 0.60

kRHYME7 commented 3 months ago

yeah lets make toggle act as what the name would suggest. I dont know what toggle does now atm

Toggle will unset/set everything being declared set.

So when you run Hyde power save --[multiple_params] you could unset it using "toggle". Then you can set it back to set it again. I will be adding Hyde power save --all ` to set into power save all the [params]

rubiin commented 3 months ago

yeah lets make toggle act as what the name would suggest. I dont know what toggle does now atm

Toggle will unset/set everything being declared set.

So when you run Hyde power save --[multiple_params] you could unset it using "toggle". Then you can set it back to set it again. I will be adding Hyde power save --all ` to set into power save all the [params]

what will be the counterpart for save --all . If save --all would allow to restore the chnages prior to the command, then maybe I could add a waybar module with a button to turn on and off powersaver mode for convinience

kRHYME7 commented 3 months ago

Is Hyde power save off good?

The toggle command actually just add/remove the sourced file of the Hyde power options so it would still be good Idea to have explicit on/off, in which will be handles by save on and save off

But to maintain the initial convention I will still add

Hyde power save --all is same with Hyde power save on Hyde power unset --all same as Hyde power save off

This way we can toggle them one by one and in bulk.

kRHYME7 commented 3 months ago

image

rubiin commented 3 months ago

yeah save on and save off sounds good. I will try to implement a waybar module too

kRHYME7 commented 3 months ago

How I wish we could come up with a good plugin system for HyDE. It is easy to input files but managing it across updates and removing it is an extra work.

This plugin system should be the backbone of the installer and anything HyDE extra stuff.

rubiin commented 2 months ago

@kRHYME7 how about a command called Hyde theme generate that will generate bare bones themes according to Hyde sepcs. Would allow making themes easier.

Can you setup a sample theme repo? I would work on this

kRHYME7 commented 2 months ago

Something Hyde theme export --ouput_dir /path/to/theme_dir/? Which will repack current theme into a target directory.

generate bare bones themes according to Hyde sepcs. Would allow making themes easier.

Or this is a different thing?

rubiin commented 2 months ago

Nah . This is more like a skeleton theme. Hyde theme init would just clone one of the themes branch from https://github.com/prasanthrangan/hyde-themes and rename cloned folder as new-theme. Then the user can go to this dir and modify the colors, icons etc

rubiin commented 2 months ago

Additionally we can also add instructions after the init from this discussions for further steps

https://github.com/prasanthrangan/hyprdots/discussions/653

kRHYME7 commented 2 months ago

Aha yes! This is actually a TODO after hyde makes a default theme (using that as base theme), but at this state the repo is stale.

Also, I noticed that different themes can have different approach, would it be nice that the init command will just copy the current theme and will ask for the new theme name afterward and creates it?

Additionally we can also add instructions after the init from this discussions for further steps

And this part should be in a wiki 😬

rubiin commented 2 months ago

Yeah> lets add it to future plans then

rubiin commented 2 months ago

@kRHYME7 https://github.com/kRHYME7/Hyde-cli/blob/42a9b599dab16175f8734faafeac380f47f88562/Scripts/Launch-Calculator#L3C16-L3C20 the qalc package name is incorrect. correct package is https://archlinux.org/packages/extra/x86_64/libqalculate/

kRHYME7 commented 2 months ago

did it cause errors?

Can you open a PR please. I'm on bed rn.

rubiin commented 2 months ago

yes i can. Yeah when launching image

rubiin commented 2 months ago

@kRHYME7 How does a user get the latest hyprdots changes and apply it to their system ? Hyde update followed by Hyde upgrade ?

kRHYME7 commented 2 months ago

Hyde update then Hyde restore Config Users needs to resolve the files/dirs.

Only use Hyde upgrade if you want to get all changes possible, like new packages etc.

For my use case I only use Hyde update then Hyde restore Config

rubiin commented 2 months ago

Confused on Hyde upgrade. What does it do. We should include on readme how users can remain in sync with the main repo

rubiin commented 2 months ago

Can do a PR shortly for this

kRHYME7 commented 2 months ago

Yes please.

upgrade is use to upgrade everything like rerunning the Hyde-install

restore is used to restore the dotfiles that are declared in the ./restore_cfg.lst

image

image

kRHYME7 commented 1 month ago

@rubiin Hi!, can you Dm me on Discord. hehe I got some proposal. Thank you!

rubiin commented 1 month ago

@rubiin Hi!, can you Dm me on Discord. hehe I got some proposal. Thank you!

sure thing, heres my username rubiin._ @kRHYME7

rubiin commented 1 month ago

@kRHYME7 hyde (1) heres the high quality image Update the images

rubiin commented 3 weeks ago

Maybe we can also add an animation style changer on rofi seems, doable. If rofi supports a gif display that is. Will be a cool addition.

kRHYME7 commented 3 weeks ago

Can rofi display gifs?

rubiin commented 3 weeks ago

maybe. But we do not need to display gif. Simply put on readme the what the gifs look like in actual