I can't in the moment, so feel free to open an issue
Created a Issue
Maybe gitlab need some time for upload??
Not the best code but it works for me
Summary
Hello my friend ,
it works here,
./make-dragonized-blue
[sudo] Passwort für sgs:
Done
File in /home/sgs/.kde4/share/apps/color-schemes/SGSblue.colors change date and time.
Files in /usr/share/themes/Sweet-Dark/gtk-3.0/ too.
Running as root (su) give me "This script must be not run as root"
I created a merge request to replace /home/$USER/ to ~
This is supposed to solve this issue
Warning I have not tested the script. Please make sure to test it before merging.
Nothing will be merged, private hack to show what is possible and which colors I like.
So, more than three like it . So we can use a secure way with
*.css
*.colors
files to let the users chose what they like.
I tried but its not working.
First it says this
cp: cannot stat '/usr/share/themes/Sweet-dark': No such file or directory
and after changed the name to Sweet-Dark which is actually in themes folder then it says this
-r not specified; omitting directory '/usr/share/themes/Sweet-Dark'
Sorry, its not perfekt
Try
sudo cp -R /usr/share/themes/Sweet-Dark ~/.local/share/themes/
After there are many ways and I had it working on my computers, I didn't test it further, thanks for pointing it out.
I wil try and give you feedback
Thank you for your response
Now it says
cp: cannot create regular file '/home/linux/.local/share/themes/Sweet-Dark/gtk-3.0/gtk.css': No such file or directory
When I created a directory of .themes in home it says this
> cp: cannot create regular file '/home/linux/.local/share/themes/Sweet-Dark/gtk-3.0/gtk.css': Permission denied
╭─chris@Chris in repo: make-dragonized-blue on master
[🔴] × ./make-dragonized-blue
cp: cannot create regular file '/home/chris/.local/share/themes/Sweet-Dark/gtk-3.0/gtk.css': Permission denied
╭─chris@Chris in repo: make-dragonized-blue on master took 29ms
[🔴] × sudo ./make-dragonized-blue
This script must be not run as root
Help? New to linux , don't really know stuff
# root files in ~/ !!!
sudo chown -R $USER: $HOME
~~~
No sudo !
Here is the code
# Check if the current user is not "root"
if [[ $UID == 0 ]]; then
echo "This script must be not run as root" 1>&2
exit 1
fi
cp ~/make-dragonized-blue/sweet-blue.colors ~/.kde4/share/apps/color-schemes/sweet-blue.colors
sudo cp -R /usr/share/themes/Sweet-Dark ~/.local/share/themes/
cp ~/make-dragonized-blue/gtk-dark-blue.css ~/.local/share/themes/Sweet-Dark/gtk-3.0/gtk.css
# root files in ~/ !!!
sudo chown -R $USER: $HOME
I edited as you suggested and the output is this.
[sudo] password for linux:
cp: cannot create regular file ‘/home/linux/.local/share/themes/Sweet-Dark/gtk-3.0/gtk.css’: Permission denied
Edit:
I just manually input these three commands in the terminal
cp ~/make-dragonized-blue/sweet-blue.colors ~/.kde4/share/apps/color-schemes/sweet-blue.colors
sudo cp -R /usr/share/themes/Sweet-Dark ~/.local/share/themes/
sudo cp ~/make-dragonized-blue/gtk-dark-blue.css ~/.local/share/themes/Sweet-Dark/gtk-3.0/gtk.css
I got the color theme applied and reboot.
But I didn’t find any difference. It was same color theme as sweetified-blue. Applications like firefox still have that bright pinkish color.
May I know if i could change that into a different color?
Please post output as text
find $HOME ! -user $USER -type f
If you got some files do
Hi I edited the post please re-read again.
If you open dolphin the pink highlighted must be blue.
Firefox etc. you must change the themes too..
I can't check, in moment I am on i3wm
Moment.
After that check and do
Highlights in dolphin is still pink .
I disabled the sweet theme in firefox but the highlights are same .
system settings, Appearance, Global Theme, Colors - applay sSweet-blue or the one you like?
You can edit there also Sweet or Sweetified to your liking.
As I wrote before, I am not a programmer and I use 80 % i3wm, so I am now out of knowledge.
I selected that and settings was blue but it didn't applied to everywhere.