gusbemacbe / suru-plus

Suru++ 25 — A cyberpunk, elegant, futuristic and Papirus-like third-party icons theme
GNU General Public License v3.0
337 stars 32 forks source link

Hey Sergey! #81

Closed gusbemacbe closed 5 years ago

gusbemacbe commented 5 years ago

Hello @SmartFinn !

I would like to copy the folder 16 to the folder symbolic, but if I rename all files,including the symlinks, adding a suffix -symbolic, all the symlinks will be broken and unrecognised due to the nonexistence of the former files which do not have the suffix -sylimk.

Is there a command line for this in terminal?

SmartFinn commented 5 years ago

Hi @gusbemacbe

Rename all SVG files and symlinks:

rename.ul '.svg' -- '-symbolic.svg' *.svg

Remap symlinks targets:

rename.ul -s '.svg' -- '-symbolic.svg' *.svg

rename and rename.ul are the same command.

SmartFinn commented 5 years ago

Don't forget to delete all symlinks with symbolic suffix before renaming:

rm -f *-symbolic.svg
gusbemacbe commented 5 years ago

It worked, but few symlinks are broken due to containg -, _, . and number. I used rename instead of rename.ul.

SmartFinn commented 5 years ago

That's why I wrote the second comment. You need to delete *-symbolic.svg symlinks before.

gusbemacbe commented 5 years ago

Actually, I removed the folder symbolic, I copied the folder 16 whose icons have no suffix -symbolic, and pasted the folder, renaming symbolic.

SmartFinn commented 5 years ago

Hmm, I tested on actions/16, panel/16, and panel/22. On every folder, it works fine.

gusbemacbe commented 5 years ago

Now it worked. Firstly I use KRename, then I ran rename -s '.svg' -- '-symbolic.svg' *.svg.

Thank you a lot!

gusbemacbe commented 5 years ago

@SmartFinn

  1. I saw you forked, but can I update the README and the CHANGELOG?
  2. Can I upgrade other icons theme (Asprómauros, Dark and Telinkrin) if you have already forked Suru++?
  3. I forgot of adding Makefile file to this master branch. But is it important? It is for AUR Arch Linux.
  4. Can I shut down and remove the repository suru-plus-colourise?
SmartFinn commented 5 years ago

@gusbemacbe

  1. Sure. The merge has broken the fork so I recreated it.
  2. Don't see any problem with it.
  3. If you don't want to break AUR package you have to add it.
  4. Wait for it. Oomox doesn't allow to create your own presets, especially gradients, so a separate script may be useful.

I do nothing for now. I wait for the release.

gusbemacbe commented 5 years ago

@SmartFinn

All OK!

Ready.

SmartFinn commented 5 years ago

@gusbemacbe ok. I'll start.

gusbemacbe commented 5 years ago

Hi @SmartFinn

Renaming the symlinks, from .svg to -symbolic.svg, it works, but from -symbolic.svg to .svg, it does not work. See the problem that @Bonandry is facing:

image

SmartFinn commented 5 years ago

@gusbemacbe the correct command is rename.ul -s -- '-symbolic.svg' '.svg' *.svg