Compare commits

...

22 Commits

Author SHA1 Message Date
ghostx31
9849cea54f fix: Gnome 45 issues 2023-10-01 20:13:44 +05:30
Dixon Sean Low Yan Feng
0f516404fd docs(nix): update theme name capitalization again (#122)
This reverts commit eb7ed7ab2c.

f13a2b2 changed the naming convention for the theme names again so that
the theme style (dark or light) is capitalized again. The docs were
updated accordingly for Home Manager.

However, eb7ed7a changed the documentation for Home Manager back to the
non-capitalized names. This was likely because the capitalization change
had not made its way to `nixos-unstable`. The change has now made it to
`nixos-unstable`, so this commit reverts eb7ed7 to reflect the
capitalization.
2023-10-01 14:10:55 +02:00
Pranav
5255501faf chore: script: update colloid
Signed-off-by: Pranav <npv12@iitbbs.ac.in>
2023-09-07 00:41:39 +05:30
Himanshu
1897b09f23 fix(docs): theme name in README (home-manager)
fix theme name in readme
2023-08-13 11:35:13 +05:30
éclairevoyant
eb7ed7ab2c fix theme name in readme 2023-08-13 00:28:02 -04:00
Pranav Nedungadi
831a06c672 Merge pull request #104 from bagelwaffle/patch-1
docs: minor fixes
2023-08-04 20:18:17 +05:30
Pranav
f13a2b2e08 Revert "fix: do not capitalise theme style"
* stay inline with upstream

This reverts commit 3fc72208de.

Signed-off-by: Pranav <npv12@iitbbs.ac.in>
2023-08-04 14:26:44 +05:30
Pranav
a40e058320 chore: update colloid version
Signed-off-by: Pranav <npv12@iitbbs.ac.in>
2023-08-04 14:25:34 +05:30
Pranav Nedungadi
d6d1e951e4 Merge pull request #105 from avanderbergh/issue99
Use correct for `theme_style` case in Readme.md
2023-07-04 13:33:18 +05:30
Adriaan van der Bergh
59a26aa3cd Fix readme 2023-07-04 07:32:14 +00:00
Bagel Waffle
dbcaeb738f docs: small fixes 2023-07-01 16:09:29 -07:00
Bagel Waffle
50203b06bb docs: fixed capitalization of "It's FOSS" 2023-07-01 15:54:32 -07:00
Pranav
329e522c08 chore: update colloid
Signed-off-by: Pranav <npv12@iitbbs.ac.in>
2023-06-21 19:16:02 +05:30
Pranav
3fc72208de fix: do not capitalise theme style
fixes #100

Signed-off-by: Pranav <npv12@iitbbs.ac.in>
2023-06-21 19:15:34 +05:30
Pranav
b75165df4d feat: Enable option for float panel
Signed-off-by: Pranav <npv12@iitbbs.ac.in>
2023-06-03 08:42:16 +05:30
Pranav
1a5f20809a chore: update colloid 2023-06-03 08:41:01 +05:30
Pranav
5c05af916a chore: update colloid
Signed-off-by: Pranav <npv12@iitbbs.ac.in>
2023-05-21 15:03:46 +05:30
spooky
19d4e9cd5b docs(README): fix install instructions for --link 2023-05-02 15:43:46 +05:30
bronsen
d5f542f484 docs(README): fix long option for linking gtk-4.0
The install script actually uses `--link` as long option for linking
gtk-4.0 themes.
2023-05-02 10:59:45 +02:00
Pranav
0997e92071 chore: update index.theme theme name correctly
fixes #90

Signed-off-by: Pranav <npv12@iitbbs.ac.in>
2023-04-16 16:25:50 +05:30
Pranav
d11e6465bd chore: update colloid
Signed-off-by: Pranav <npv12@iitbbs.ac.in>
2023-04-14 15:59:42 +05:30
Pranav
6c350cc3eb chore: update colloid
fixes #81

Signed-off-by: Pranav <npv12@iitbbs.ac.in>
2023-04-12 10:56:41 +05:30
4 changed files with 12 additions and 10 deletions

View File

@@ -29,7 +29,7 @@ This GTK theme is based on the [Colloid](https://github.com/vinceliuice/Colloid-
### Installation ### Installation
1. Download and extract the theme zip from [releases](https://github.com/catppuccin/gtk/releases/) or you can install the theme from the [AUR](#for-arch-linux-users). 1. Download and extract the theme zip from [releases](https://github.com/catppuccin/gtk/releases/).
2. Move the theme folder to **".themes"** in your home directory. **(~/.themes)** (Skip this step if you are using the AUR package) 2. Move the theme folder to **".themes"** in your home directory. **(~/.themes)** (Skip this step if you are using the AUR package)
3. Select the downloaded theme via your desktop specific tweaks application (**gnome-tweaks** on Gnome 3+). 3. Select the downloaded theme via your desktop specific tweaks application (**gnome-tweaks** on Gnome 3+).
@@ -82,9 +82,9 @@ To use it in home-manager:
} }
``` ```
### For gtk-4.0 users ### For GTK 4 users
To theme gtk-4.0 applications you have to manually symlink the `~/.config/gtk-4.0/` to the themes folder. Use the following commands To theme GTK 4 applications you have to manually symlink the `~/.config/gtk-4.0/` to the themes folder. Use the following commands
```bash ```bash
mkdir -p "${HOME}/.config/gtk-4.0" mkdir -p "${HOME}/.config/gtk-4.0"
ln -sf "${THEME_DIR}/gtk-4.0/assets" "${HOME}/.config/gtk-4.0/assets" ln -sf "${THEME_DIR}/gtk-4.0/assets" "${HOME}/.config/gtk-4.0/assets"
@@ -102,11 +102,11 @@ ln -sf "${THEME_DIR}/gtk-4.0/gtk-dark.css" "${HOME}/.config/gtk-4.0/gtk-dark.css
```bash ```bash
sudo flatpak override --env=GTK_THEME=##theme## sudo flatpak override --env=GTK_THEME=##theme##
``` ```
3. For a more in depth tutorial see Hamza Algohary's tutorial on [It's Foss](https://itsfoss.com/flatpak-app-apply-theme/) 3. For a more in depth tutorial see Hamza Algohary's tutorial on [It's FOSS](https://itsfoss.com/flatpak-app-apply-theme/)
### Using the script ### Using the script
**Note**: Ensure that you have atleast python version 3.10 installed **Note**: Ensure that you have at least Python version 3.10 installed
Clone the repository using Clone the repository using
```bash ```bash
@@ -128,12 +128,13 @@ Compulsory field Specify color variant(s) [mocha|frappe|macchiato|latte|a
-a, --accent VARIANT... Specify theme color variant(s) [rosewater|flamingo|pink|mauve|red|maroon|peach|yellow|green|teal|sky| -a, --accent VARIANT... Specify theme color variant(s) [rosewater|flamingo|pink|mauve|red|maroon|peach|yellow|green|teal|sky|
sapphire|blue|lavender|all] (Default: blue) sapphire|blue|lavender|all] (Default: blue)
-s, --size VARIANT... Specify size variant [standard|compact] (Default: standard variant) -s, --size VARIANT... Specify size variant [standard|compact] (Default: standard variant)
-l, --libadwaita Link installed gtk-4.0 theme to config folder for all libadwaita app use this theme -l, --link Link installed gtk-4.0 theme to config folder for all libadwaita app use this theme
--zip Zips up the finally produced themes. --zip Zips up the finally produced themes.
--tweaks Specify versions for tweaks [black|rimless|normal] --tweaks Specify versions for tweaks [black|rimless|normal|float]
1. black: Blackness color version 1. black: Blackness color version
2. rimless: Remove the 1px border about windows and menus 2. rimless: Remove the 1px border about windows and menus
3. normal: Normal windows button style (titlebuttons: max/min/close) 3. normal: Normal windows button style (titlebuttons: max/min/close)
4. float: Floating gnome-shell panel style
-h, --help Show help -h, --help Show help
``` ```
You can install any theme like the following example You can install any theme like the following example

Submodule colloid updated: 6ddd8e1932...b3bb0af34f

View File

@@ -59,7 +59,7 @@ parser.add_argument("--tweaks",
default=[], default=[],
nargs="+", nargs="+",
dest="tweaks", dest="tweaks",
choices=["black", "rimless", "normal"], choices=["black", "rimless", "normal", "float"],
help="Some specifc tweaks. like black, rimless, normal buttons") help="Some specifc tweaks. like black, rimless, normal buttons")
parser.add_argument("-l", "--link", parser.add_argument("-l", "--link",

View File

@@ -6,7 +6,7 @@ from typing import List
from scripts.ctp_colors import ctp_colors from scripts.ctp_colors import ctp_colors
from scripts.patches import recreate_xfwm4_assets from scripts.patches import recreate_xfwm4_assets
from scripts.recolor import recolor from scripts.recolor import recolor
from scripts.utils import zip_multiple_folders from scripts.utils import replacetext, zip_multiple_folders
from scripts.var import def_color_map, repo_dir, src_dir, theme_name, work_dir from scripts.var import def_color_map, repo_dir, src_dir, theme_name, work_dir
@@ -57,6 +57,7 @@ def create_theme(types: List[str], accents: List[str], dest: str, link: bool = F
os.rename(dest + "/" + filename + '-xhdpi', os.rename(dest + "/" + filename + '-xhdpi',
new_filename + '-xhdpi') new_filename + '-xhdpi')
os.rename(dest + "/" + filename, new_filename) os.rename(dest + "/" + filename, new_filename)
replacetext(new_filename + '/index.theme', filename, new_filename.split("/")[-1])
print("Successfully renamed file") print("Successfully renamed file")
except Exception as e: except Exception as e:
print("Failed to rename the files due to:", e) print("Failed to rename the files due to:", e)