vinceliuice / abrus-gtk-theme Goto Github PK
View Code? Open in Web Editor NEWAbrus is a stylish Design theme for GTK 3, GTK 2 and Gnome-Shell etc.
Home Page: https://vinceliuice.github.io/theme-abrus
License: GNU General Public License v3.0
Abrus is a stylish Design theme for GTK 3, GTK 2 and Gnome-Shell etc.
Home Page: https://vinceliuice.github.io/theme-abrus
License: GNU General Public License v3.0
This is a great theme. Are there any plans to update this to Gnome 3.36?
I found your incredible stash of themes via this reddit post. During the install, I was getting loads of errors like this on Abrus, Azure, and Yosemite, as well as finding that the cloned directory was gone, too!
Abrus-gtk-theme]$ ./Install
Installing Abrus ...
./Install: line 43: cd: /home/jwhendy/.themes/Abrus-gtk-theme/src/gnome-shell: No such file or directory
cp: cannot stat 'gnome-shell.css': No such file or directory
cp: cannot stat 'extensions': No such file or directory
cp: cannot stat 'pad-osd.css': No such file or directory
cp: cannot stat 'message-indicator-symbolic.svg': No such file or directory
...
It turns out, this is because I cloned to ~/.themes/foo
and the Install
script deletes all wildcard completions of the theme name!
rm -rf $DEST_DIR/Abrus*
Interestingly, this doesn't happen on stylish-gtk-theme
. I thought it was due to case sensitivity (and the repo is stylish-gtk-theme
while the theme names are Styllish-*
, but your script there is actually much better constructed. You iterate through each specific theme directory vs. ThemeName*
completions:
local THEME_DIR=${dest}/${name}${variant}${size}${color}
[[ -d ${THEME_DIR} ]] && rm -rf ${THEME_DIR}
Indeed, this is no problem:
[.themes]$ mv stylish-gtk-theme/ Stylish-gtk-theme
[.themes]$ cd Stylish-gtk-theme/
[Stylish-gtk-theme]$ ./Install
Installing '/home/jwhendy/.themes/Stylish'...
Installing '/home/jwhendy/.themes/Stylish-Tang'...
...
This also seems better as why wildcard delete stuff on a user's system you might not have put there? The approach with stylish
only deletes what you know you created or conflicts.
tl;dr
Long story short (or made longer!), I don't really want to make a special directory just for themes, so I want everything in ~/.themes
since it already exists for that purpose. Thus, I'd prefer if scripts didn't delete the src directory and just ignored it. This way, I can:
cd ~/.theme/name
git fetch && git merge
./Install
It looks like your approach to stylish
would do nicely for the rest of the themes in your ecosystem.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.