konsave icon indicating copy to clipboard operation
konsave copied to clipboard

[Feature Request] Ability to use both IDs and names to save/export profiles

Open Stwerp opened this issue 2 years ago • 3 comments

** Description** This may be intended behavior BUT it does not match use-case of the gif/video in the readme/github landing page.

konsave -l produces a list such as:

Konsave profiles:
ID            NAME
1              ProfileA
2              ProfileB

Attempting konsave -a 2 produces

Konsave: Profile not found :(
Please check the log at <$HOME>/.cache/konsave_log.txt for more details

It's unclear what the ID is used for. The landing page video shows the user typing konsave --apply 2 to apply a new profile.

I just installed konsave from pip today and its version 2.2.0

System information

  • running Rocky Linux 8 (red hat clone)
  • How did you install Konsave? using pip
  • What version of Konsave are you using? version 2.2.0
  • Did you try updating? no, but 2.2.0 looks like latest release per github sidebar

Again, this could be intended behavior, and then the issue is that the video is incorrect. Or I've messed something up on my end :) It's a new laptop I'm trying to get up and going.

Stwerp avatar Feb 08 '23 18:02 Stwerp

This may be intended behavior

Yes, this indeed is the intended behavior. IDs were used in older versions and are now obsolete. I'll update the gif in the README and remove IDs from the output in the next release.

Prayag2 avatar Feb 09 '23 13:02 Prayag2

Would it not be better, as is the case with 'yay' and 'paru' wrappers, to be able to (without recalling all of our profiles) simply do 'konsave -a' or 'konsave -r' or even 'konsave -s' and be offered a list, with the option to enter the ID to apply?

Konsave -a
ID	NAME
1	Cream23.11.27
2	Dark23.11.27
==> ID to apply (eg: 1 2 3, 1-3 or ^4)
==> 

Then

konsave -s
Konsave profiles:
ID	NAME
1	Cream23.11.27
2	Dark23.11.27
==> ID to overwrite (eg: 1 2 3, 1-3 or ^4) or ENTER to type name
==> 

ben2talk avatar Nov 27 '23 02:11 ben2talk

Would it not be better, as is the case with 'yay' and 'paru' wrappers, to be able to (without recalling all of our profiles) simply do 'konsave -a' or 'konsave -r' or even 'konsave -s' and be offered a list, with the option to enter the ID to apply?

Amazing idea! I'm definitely going to implement this for the next release!

Prayag2 avatar Dec 17 '23 19:12 Prayag2