Skip to content

Commit adf10f5

Browse files
committed
theme
1 parent a95f31f commit adf10f5

File tree

2 files changed

+13
-17
lines changed

2 files changed

+13
-17
lines changed

README.md

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
1-
# Arc Theme: gresource
1+
# gresource Builder for GTK themes
22

3-
> NOTE: You should install Arc Theme on your computer first.
4-
5-
Tested on Arch Linux with package [arc-gtk-theme](https://www.archlinux.org/packages/community/any/arc-gtk-theme/) installed.
6-
7-
``` shell
8-
$ git clone https://github.com/lixiaoyan/arc-theme-gresource.git
9-
$ cd arc-theme-gresource
10-
11-
$ ./build.sh
3+
```bash
4+
$ git clone https://github.com/devpytech/gtk-gresource.git
5+
$ cd gtk-gresource
126

7+
# Replace Arc with the theme you want to use
8+
$ ./build.sh Arc
139
$ ./switch.sh Arc
14-
$ ./switch.sh Arc-Dark
1510
```
1611

17-
## TODO
12+
## Also see [gresource-extract](https://github.com/devpytech/scripts/tree/master/gresource-extract)
1813

19-
- [ ] Custom background
14+
This tool can help you edit your login screen theme if you want to add a background or change the font.

build.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
#!/bin/bash
22

3-
if [ ! -d /usr/share/themes/Arc ] || [ ! -d /usr/share/themes/Arc-Dark ]; then
4-
echo "Arc Theme not found, you should install it first."
3+
NAME=$1
4+
5+
if [ ! -d "/usr/share/themes/$NAME" ]; then
6+
echo "$NAME theme not found, you should install it first."
57
exit 1
68
fi
79

810
rm -rf ./build
911
mkdir ./build
1012

11-
./build-theme.sh Arc /usr/share/themes/Arc/gnome-shell
12-
./build-theme.sh Arc-Dark /usr/share/themes/Arc-Dark/gnome-shell
13+
./build-theme.sh $NAME "/usr/share/themes/$NAME/gnome-shell"

0 commit comments

Comments
 (0)