Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(screenshot): upload screenshot #68

Merged
merged 8 commits into from
Jun 16, 2024
Merged

feat(screenshot): upload screenshot #68

merged 8 commits into from
Jun 16, 2024

Conversation

rubiin
Copy link
Contributor

@rubiin rubiin commented May 26, 2024

Adds a script that can upload the screenshot taken.
The best place to invoke the script is to add it here
https://github.com/kRHYME7/Hyde-cli/blob/9a94ab16f9134fe63d40dc3cf86bfaec2f0a65a8/Hyde#L770

Maybe a --share option ?

Also note this introduces a new dep pngquant which is a image compression

@rubiin
Copy link
Contributor Author

rubiin commented May 26, 2024

demo :
image

@kRHYME7
Copy link
Collaborator

kRHYME7 commented May 26, 2024

Will try to find alternative, this actually gives 2 dependencies. insert 'yad '

@rubiin
Copy link
Contributor Author

rubiin commented May 26, 2024

yad was already there on my system . Just had to install pngnaut

@kRHYME7
Copy link
Collaborator

kRHYME7 commented May 26, 2024

what is the use of pngnaut BTW ?

@rubiin
Copy link
Contributor Author

rubiin commented May 26, 2024

what is the use of pngnaut BTW ?

image compression.

whiptail --msgbox "my text" 10 20 for dialog you can replace with this. This is native

@rubiin
Copy link
Contributor Author

rubiin commented May 26, 2024

I think we can remove that too. Will refactor

@kRHYME7
Copy link
Collaborator

kRHYME7 commented May 26, 2024

for image comp/decomp we can use imagemagick

@kRHYME7
Copy link
Collaborator

kRHYME7 commented May 26, 2024

WAhhhh what package brought whiptail ?? I got it too

I see! This is for terminal, right? lemme check anything about it. This is cool

@rubiin
Copy link
Contributor Author

rubiin commented May 26, 2024

whiptail is native terminal dialog

@rubiin
Copy link
Contributor Author

rubiin commented May 26, 2024

okay removed both dep. Thanks chatgpt :D

@kRHYME7
Copy link
Collaborator

kRHYME7 commented May 27, 2024

@rubiin Yow I got something for yah.

image

You can play around with notify send plus rofi.
Here's the basic idea ❯ notify-send "upload online??" --action="okokoko" --action="command to do so " --action="alright"

@rubiin
Copy link
Contributor Author

rubiin commented Jun 14, 2024

@kRHYME7 any updates on this. I am thinking of adding a font switcher afterwards for Hyde. Will switch fonts for kitty, code and maybe waybar

@kRHYME7
Copy link
Collaborator

kRHYME7 commented Jun 14, 2024

You can play around with notify send plus rofi.
Here's the basic idea ❯ notify-send "upload online??" --action="okokoko" --action="command to do so " --action="alright"

I think we can harness

The notification prompt for this.

Will merge this later but maybe I'll change it.

@rubiin
Copy link
Contributor Author

rubiin commented Jun 14, 2024

You can play around with notify send plus rofi.
Here's the basic idea ❯ notify-send "upload online??" --action="okokoko" --action="command to do so " --action="alright"

I think we can harness

The notification prompt for this.

Will merge this later but maybe I'll change it.

What do you think about the font change?

@kRHYME7
Copy link
Collaborator

kRHYME7 commented Jun 14, 2024

What do you think about the font change?
That would be cool!

Are you trying to do text manipulation for each config files?

@rubiin
Copy link
Contributor Author

rubiin commented Jun 14, 2024

yeah I already have local script tailored for my needs , thoiught i should share
Its inspired from https://github.com/basecamp/omakub/blob/master/bin/omakub-font
Wont be downloading the fonts just displaying a list of fonts(fonts from hyperdots installation only) and prompting user to pick a font and then prompting on what apps they want to use them. The apps being code, terminal , and maybe waybar

@kRHYME7
Copy link
Collaborator

kRHYME7 commented Jun 14, 2024

Wow, sure! I'll surely check that out.

@kRHYME7
Copy link
Collaborator

kRHYME7 commented Jun 15, 2024

Its inspired from https://github.com/basecamp/omakub/blob/master/bin/omakub-font

You can use this to list the fonts beautifully fc-list --format="%{family[0]}\n" | sort | uniq

Copy link
Collaborator

@kRHYME7 kRHYME7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do some revisions later

@kRHYME7 kRHYME7 merged commit d6936be into HyDE-Project:master Jun 16, 2024
1 check passed
@rubiin
Copy link
Contributor Author

rubiin commented Jun 16, 2024

Do merge the release PR when you are done with the revisions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants