-
Notifications
You must be signed in to change notification settings - Fork 23
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
Places color chooser script #145
Conversation
In my opinion colour palette should be immutable, if someone wants to add new colours or change them even a little bit then should create a new scheme (Gruvbox has several different ones). Adding new colours at this point would not be easy (and I have no plans to do that). I know what I'm doing and know icons through and out and it was difficult and arduous for me to create all colour sets. That's the whole point of the
Still not convinced.
That idea is even more confusing. The script should be as easy as it's possible. Many users wouldn't even know that they have to change permission of the script to use it. They don't know the structure of the icons, what folders are there, and definitely what icons should link to what name, and if it's correct (even I'm not sure just looking on the list, had to compare with my own). They are just copy it to specific folder and change it in the DE settings (and folder colours if they are using KDE Plasma). What they need to know is what colour to choose from and if everything went fine. They will see actual colours on the github page and use that name in the script, because they are hard to identify just by the name (every one has several shades, e.g. green, highland, pistachio). That's all they need to know. Lets not make it too complicated for anyone.
Script won't be a part of the release and that is how most people install it (and through DE settings). Icon pack will contain only icons with the I don't know about Debian because I don't know much about that distro and no one offered to maintain icons there yet, but Arch doesn't allow to install anywhere outside root ( I've always assumed that default user's location would be Could You change the name of the script? Use The |
I agree with you. If it suits you better, let's hard-code the colours.
Okay. Let's remove the dry-run option.
So let's get rid of all the verbosity.
It seems we need to check more places:
Cf. https://specifications.freedesktop.org/icon-theme-spec/latest/#directory_layout
Of course I will. I find I can also change the American "color" to the British "colour" throughout the script if you wish. 😇
It's already there! The line just before the usage section says:
This isn't the best example, as it's the default colour, but it is the current colour. 😅 |
I don't want to be a pain in the arse. I just want to discuss it first. I don't mind a debate over features.
That is why I asked you to change it from
|
You're not, really 🤗 I just want you to be comfortable with the final result. In the meantime, I've been learning things about bash scripting, and that's what really matters to me 😊
Fine. I've done everything we talked about. We shouldn't be too far from the final script! |
It works great.
When used without any arguments it resets colour to plasma. Maybe it could just display help info? Can You add empty line every piece of information? It would look something like that:
|
I removed icon pack theme option. We'll add it again if anyone asks.
This is standard syntax for bash programs. You don't have to use
Done.
This is already happening:
As you can see, I've added a
This is because there is no longer a default colour if the
|
I don't see spaces. I've just tested it on the fresh install on unmodified
Maybe add available colours on the next line? |
Hmm? I tried with both Gnome Terminal and Kitty, using zsh, bash & sh, and it works perfectly 😶 Which shell do you use?
Good idea! |
I'm still not able to reproduce it. But I may have found an explanation in the
So I replaced |
Fault was on my side. I've just copied the script because it was faster for me and empty lines have been omitted, but only there. So add the colour options after empty |
Okay, I can stop digging for weird bash behavior 😅
Done. 🥳 |
Of course there were problems with pull, but eventually I resolved it somehow. Besides that the script is beautiful. It even works better than I could imagine. Thank You very much for doing it. |
This is surprising. The diff only shows one file affected. There should be no conflict 🤔 |
Command line:
I've just merge other pull request and had the same adventure, some files were different. |
Hmm 🤔 Why creating a new branch with I'd rather use these commands: git switch master # or `git checkout master`, it's equivalent
git fetch origin # fetches changes remotely (if something has happened on the GitHub interface)
git pull --rebase # realigns the local branch and the origin branch (master)
git pull git@github.com:akarzim/gruvbox-plus-icon-pack.git places-color-chooser --rebase --autostash
git push # pushes pulled commits (or `git push origin master:master` to be verbose) I hope this helps! |
I was following Github's instructions at the bottom of the pull request page. It looked like that:
It worked for some time, and it broke at some point. |
These GitHub instructions seem odd to me.
It might make sense to
Then you can run :
This method is more robust because it ensures that all the branches you're working on are up to date. If you need to do the same thing for a branch of your own, simply ignore the ‘remote’ reference (ie. |
My bad, missed
Does it look better now? Next time I will use Your method. Or maybe I should just educate myself more on the subject (didn't expect that I have to since I thought I was the only one working on that project). |
Yes, it does! Just to avoid misalignment, always do a |
Will do. Thanks for the advice. |
See discussion #89 (comment)
Usage
Output