-
Notifications
You must be signed in to change notification settings - Fork 606
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
how do I change the color of my close button #940
Comments
Hi, first, you are on the wrong repo, this one does not support GTK4 and is not maintained anymore. This is the maintained fork. And to change the color of the close button, you must edit And then recompile the theme:
|
Thanks for letting me know :)
I cannot find any of these folders and files at all. Not even This is what I inside my themes folder. |
Because there's a difference between the files that are on this repo (or rather the fork), and the files that got installed in your themes folder. All the files that you have in your themes folder are automatically generated, you should not update them manually. Here's one of the |
@ShellCode33 It seems like EndeavourOS is using outdated themes or something for xfce. I have no idea how it is installed or the package name even but yeah I will clone your new repo instead and modify it, thanks anyways, one question, why do I modify both gtk3 and 4? Why not just the gtk4? |
That's exactly the reason why I stopped using these kind of pre-built all-in-one distros 😄 Most likely the package name you are looking for is
Because not all applications did the migration to GTK4 yet, it can be quite a lot of work for the devs to upgrade such a big dependency that they heavily rely upon. By having a theme for both GTK3 and GTK4 you ensure retro-compatibility and ensure that you will still have proper theming for all your apps (unless it's using GTK2 of course...). |
Makes sense mate and also its better if you distro hop a lot to just simply put it in your home folder.
Ah right makes sense then :) Hey sorry I got an issue when building the thing (after git cloning from the repo link you have provided me): ~/Desktop/arc-theme (master)> meson setup --prefix=$HOME/.local -Dthemes=gtk3,gtk4 -Dvariants=dark build/
The Meson build system
Version: 1.6.0
Source dir: /home/raj/Desktop/arc-theme
Build dir: /home/raj/Desktop/arc-theme/build
Build type: native build
Project name: arc-theme
Project version: 20221218
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program sassc found: NO
meson.build:33:12: ERROR: Program 'sassc' not found or not executable
A full log can be found at /home/raj/Desktop/arc-theme/build/meson-logs/meson-log.txt |
@ShellCode33 Hey mate thanks for this, will install the demo packages as well. The first command worked but the 2nd command ninja: Entering directory `/home/raj/Desktop/arc-theme/build'
[1/340] Generating common/gtk-3.0/assets/gt...ckbox-unchecked-hidpi with a custom command
FAILED: common/gtk-3.0/assets/checkbox-unchecked@2.png
/usr/bin/inkscape --export-id-only --export-filename=common/gtk-3.0/assets/checkbox-unchecked@2.png --export-id=checkbox-unchecked --export-dpi=192 ../common/gtk-3.0/assets/assets.svg
terminate called after throwing an instance of 'Gio::DBus::Error'
[2/340] Generating common/gtk-3.0/assets/gt...ked-insensitive-hidpi with a custom command
FAILED: common/gtk-3.0/assets/checkbox-unchecked-insensitive@2.png
/usr/bin/inkscape --export-id-only --export-filename=common/gtk-3.0/assets/checkbox-unchecked-insensitive@2.png --export-id=checkbox-unchecked-insensitive --export-dpi=192 ../common/gtk-3.0/assets/assets.svg
terminate called after throwing an instance of 'Gio::DBus::Error'
[3/340] Generating common/gtk-3.0/assets/gtk3-checkbox-checked with a custom command
Exporting only object with id="checkbox-checked"; all other objects hidden.
[4/340] Generating common/gtk-3.0/assets/gtk3-checkbox-mixed-hidpi with a custom command
Exporting only object with id="checkbox-mixed"; all other objects hidden.
[5/340] Generating common/gtk-3.0/assets/gt...ked-insensitive-hidpi with a custom command
Exporting only object with id="checkbox-checked-insensitive"; all other objects hidden.
[6/340] Generating common/gtk-3.0/assets/gtk3-checkbox-unchecked with a custom command
Exporting only object with id="checkbox-unchecked"; all other objects hidden.
[7/340] Generating common/gtk-3.0/assets/gt...unchecked-insensitive with a custom command
Exporting only object with id="checkbox-unchecked-insensitive"; all other objects hidden.
[8/340] Generating common/gtk-3.0/assets/gtk3-checkbox-checked-hidpi with a custom command
Exporting only object with id="checkbox-checked"; all other objects hidden.
[9/340] Generating common/gtk-3.0/assets/gt...x-checked-insensitive with a custom command
Exporting only object with id="checkbox-checked-insensitive"; all other objects hidden.
[10/340] Generating common/gtk-3.0/assets/gtk3-checkbox-mixed with a custom command
Exporting only object with id="checkbox-mixed"; all other objects hidden.
ninja: build stopped: subcommand failed.
Could not rebuild /home/raj/Desktop/arc-theme/build |
Looks like you got hit by this bug, I didn't have it so you are kind of on your own here. On the GitLab issue someone mentioned:
So you might want to try this:
If it still doesnt work, you can try to disable meson parallelization by using
|
@ShellCode33 Thanks that actually worked, but one thing is after compiling I copied the folder that I cloned to |
You should not copy this folder. This command already does that for you: Your theme is not in |
@ShellCode33 Right silly me I should have paid attention. Anyways one last thing is that after installing it unfortuantely when I go into themes it doesn't show a new theme (probs cause it was named the same, so I went inside
It doesn't make sense cause I already deleted the folder |
Well as I said in my previous post, and as mason is clearly stating in its output:
Meson doesn't look at the target destination ( |
@ShellCode33 Thanks mate everything is working now :) |
Nice, happy theming ! ;) One more thing that will save you some time I believe, if you want to replace a color with another everywhere, you can use the following command at the root of the
It will replace the color Then you should rebuild using |
@ShellCode33 Awesome shall use this mate :) |
@ShellCode33 sorry I do have one question: See over here, whats the difference between the left value and the right value, as in which one am I using if I am using |
The left value is the one that will apply if the boolean expression on the left is true.
You can pick whichever you want by reconfiguring the
(you can EDIT: Depending on the colors you want to change, you might have to change some |
@ShellCode33 So I am using dark theme so I don't think me changing these values would work at all since it shows |
For the dark theme you want to change the
|
I am using cinnamon DE on Arch based linux.
I want to change the color of this close button.
I have copied the current theme (which is arc-dark) that I have installed to ~/.themes and renamed the theme folder to something else, then I have changed the theme to my new named theme.
I can see a lot of folders over here:
cinnamon gtk-2.0 gtk-4.0 metacity-1 unity
gnome-shell gtk-3.0 index.theme plank xfwm4
so I went inside cinnamon/common-assets/misc
There are close.svg files however they are for when you hover your mouse on your task bar and you can see a preview of the window, its for that, not for the window itself. So I don't know which icon file I can replace to use a custom icon for the window close button?
The text was updated successfully, but these errors were encountered: