kRHYME7 / Hyde-cli

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

feat(screenshot): upload screenshot #68

Closed rubiin closed 2 weeks ago

rubiin commented 1 month ago

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 commented 1 month ago

demo : image

kRHYME7 commented 1 month ago

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

rubiin commented 1 month ago

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

kRHYME7 commented 1 month ago

what is the use of pngnaut BTW ?

rubiin commented 1 month ago

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 commented 1 month ago

I think we can remove that too. Will refactor

kRHYME7 commented 1 month ago

for image comp/decomp we can use imagemagick

kRHYME7 commented 1 month ago

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 commented 1 month ago

whiptail is native terminal dialog

rubiin commented 1 month ago

okay removed both dep. Thanks chatgpt :D

kRHYME7 commented 1 month ago

@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 commented 3 weeks ago

@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 commented 2 weeks ago

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 commented 2 weeks ago

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 commented 2 weeks ago

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

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

rubiin commented 2 weeks ago

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 commented 2 weeks ago

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

kRHYME7 commented 2 weeks ago

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

rubiin commented 2 weeks ago

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