File tree Expand file tree Collapse file tree 2 files changed +13
-17
lines changed
Expand file tree Collapse file tree 2 files changed +13
-17
lines changed Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change 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
68fi
79
810rm -rf ./build
911mkdir ./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"
You can’t perform that action at this time.
0 commit comments