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: add file associations patch #45

Closed rubiin closed 2 months ago

kRHYME7 commented 2 months ago

BTW I fixed it in my end by

curl -L https://raw.githubusercontent.com/KDE/plasma-workspace/master/menu/desktop/plasma-applications.menu -o $HOME/.config/menus/applications.menu

So now I'm considering the above solution as it is lightweight.

Can you confirm it?

rubiin commented 2 months ago

BTW I fixed it in my end by

curl -L https://raw.githubusercontent.com/KDE/plasma-workspace/master/menu/desktop/plasma-applications.menu -o $HOME/.config/menus/applications.menu

So now I'm considering the above solution as it is lightweight.

Can you confirm it?

kbuildsycoca6 --noincremental you have to run this i guess

kRHYME7 commented 2 months ago

Which package have this?

rubiin commented 2 months ago

its a kde service itself i guess

kRHYME7 commented 2 months ago

So after this https://github.com/kRHYME7/Hyde-cli/pull/45#issuecomment-2089360027

run kbuildsycoca6 --noincremental ?

rubiin commented 2 months ago

yup. kbuildsycoca6 builds binary cache of the data stored in .desktop and MIME type .xml files that the KService framework uses to find plugins, applications and other services.

kRHYME7 commented 2 months ago

I see okk

rubiin commented 2 months ago

I included this on the cli here as the this will update a user mimelist with defaults when they accidently delete the file. Although this can be achieved with a function on the user zshrc, putting this on cli seems like a better option so user wont complain with this sort of mishap in future

rubiin commented 2 months ago

closing in favor of https://github.com/prasanthrangan/hyprdots/commit/d80c54eb17f1b7f630ed64b03e8c15750a65c9ec#diff-bb0d99a7f842baa2da12a26ed7c32798fdfe426d6b48ef435cf3d0e3c1971039