Commit f4e2ee82 authored by HJ's avatar HJ 👜

20210116151506

parents
ceres-qt
ceres-qt/*
.logo.gif

10.7 KB

File added
#!/bin/sh
set -e
_basedir="$(dirname "$(readlink -f "${0}")")"
cd "$_basedir"
if [ -d "$_basedir"/ceres-gtk/ceres/gtk-3.0/theme ]; then
cd "$_basedir"/ceres-gtk/ceres/gtk-3.0
sh .pakpak.sh
cd "$_basedir"
fi
if [ ! -d "$_basedir"/ceres-gtk/ceres-pro/cinnamon/cinnamon.css ]; then
cd "$_basedir"/ceres-gtk/ceres-pro/cinnamon/theme/.src
sh build.sh
cd "$_basedir"
fi
if type gtk-update-icon-cache >/dev/null 2>&1; then
cd "$_basedir"/ceres-gtk-icons
sh .build.sh
cd "$_basedir"
fi
rm -rf .git
git init
LANG=C
MESSAGE="$(date -u '+%Y%m%d%H%M%S')"
cp -f packaging/debian/debian/changelog_template packaging/debian/debian/changelog
sed -i s'/__COMMIT__/'$MESSAGE'/g' packaging/debian/debian/changelog
cp -f packaging/suse/.buildsuserpm.sh.template packaging/suse/buildsuserpm.sh
sed -i s'/__COMMIT__/'$MESSAGE'/g' packaging/suse/buildsuserpm.sh
#cp -f packaging/pkgbuild/PKGBUILD_template packaging/pkgbuild/PKGBUILD
#sed -i s'/__COMMIT__/'$MESSAGE'/g' packaging/pkgbuild/PKGBUILD
#building of packages
if type dh_testdir >/dev/null 2>&1; then
cd "$_basedir"/packaging
sh build_deb.sh
mv ceres-theme_2.*_all.deb ceres-current.deb
fi
if type rpmbuild >/dev/null 2>&1; then
cd "$_basedir"/packaging
sh build_rpm.sh
mv ceres-theme-2.*.noarch.rpm ceres-current.rpm
fi
cd "$_basedir"
git add .
git commit -m "$MESSAGE"
git remote add origin http://gitlab.com/sixsixfive/ceres.git
git push -u --force origin master
git push origin master
printf "\n...done\n"
exit 0
Ceres (c) by Sixsixfive(https://sixsixfive.deviantart.com/)
Ceres is licensed under a
BSD 2-Clause License.
You should have received a copy of the license along with this
work.
Copyright (c) 2020, sixsixfive
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
Ceres is a traditional theme for MATE and Cinnamon.
[![Preview](https://gitlab.com/sixsixfive/ceres/raw/master/.preview.small.png)](https://gitlab.com/sixsixfive/ceres/raw/master/.preview.png)
### Features:
* Made for the use with a mouse --> no big buttons or paddings or focus rectangles.
* Includes a GTK+3 theme and one that works without composite(nocsd etc.).
* Includes a GTK+2 theme that is only based on default gtk engines.
* Includes a GTK1 color scheme.
* Includes a [Muffin](https://github.com/linuxmint/muffin)/[Marco](https://mate-desktop.org) theme.
* Includes a [Cinnamon](https://github.com/linuxmint/Cinnamon) theme(Dark only!).
* Includes a [IceWM](https://ice-wm.org/) theme(Dark only!).
#### Dependencies:
* [Noto font](https://www.google.com/get/noto/) (fallback font for all themes)
* [DMZ cursor theme](https://packages.debian.org/en/source/sid/dmz-cursor-theme) (fallback cursor set on all themes)
* [Hicolor icon theme](https://packages.debian.org/en/source/jessie/hicolor-icon-theme) (fallback icon set on all themes)
* GTK 3 theme needs GTK+ >=3.24
* GTK 2 theme needs the industrial, mist and the and pixbuf/pixmap engine(with SVG support).
* IceWM theme needs PNG/imlib support!
### Howto install/update?
#### Devuan/Debian (exporting the path is a [new Frankenstein thing](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=918754) of Debian >=10)
```
su -c 'PATH=/usr/sbin:/sbin:/usr/local/sbin:$PATH apt install fakeroot git libfile-fcntllock-perl debhelper --no-install-recommends'
cd /tmp && git clone https://gitlab.com/sixsixfive/ceres.git
cd ceres/packaging
sh build_deb.sh
su -c 'PATH=/usr/sbin:/sbin:/usr/local/sbin:$PATH dpkg -P ceres-theme;dpkg -i ceres-theme_*.deb;apt install -f --no-install-recommends'
```
__NOTE:__ *You can also try this [deb](https://gitlab.com/sixsixfive/ceres/-/raw/master/packaging/ceres-current.deb)*
##### with sudo installed(eg: LMDE or *buntu)
```
sudo apt install fakeroot git libfile-fcntllock-perl debhelper --no-install-recommends
cd /tmp && git clone https://gitlab.com/sixsixfive/ceres.git
cd ceres/packaging
sh build_deb.sh
sudo sh -c 'dpkg -P ceres-theme;dpkg -i ceres-theme_*.deb;apt install -f --no-install-recommends'
```
#### SuSE or Gecko Linux
```
sudo zypper install fakeroot git rpmbuild
cd /tmp && git clone https://gitlab.com/sixsixfive/ceres.git
cd ceres/packaging
sh build_rpm.sh
sudo zypper install --no-recommends ceres-theme*.rpm
```
__NOTE:__ *The build_rpm script works on other rpm based distros however you will have to rename the [needed/recommend packages](https://gitlab.com/sixsixfive/ceres/-/blob/master/packaging/suse/buildsuserpm.sh#L49) to your distro used names*
__NOTE:__ *You can also try this [rpm](https://gitlab.com/sixsixfive/ceres/-/raw/master/packaging/ceres-current.rpm)*
#### Any other
* 1: Copy the content of 'ceres-gtk' to your GTK/Xfwm/Metacity theme dirs (usually $SYSPREFIX/share/themes)
* 2: Copy the 'ceres-gtk-icons' folder to your icon theme dir (usually $SYSPREFIX/share/icons)
* 3: OPTIONAL: Install one of the additional themes
__NOTE:__ *The icon theme is needed for the GTK3 theme*
### FAQ
#### Howto disable the GTK+3 overlay scrollbars in X11
Note:
* Deb-like: SYSCONFIGDIR = /etc, XSESSIONCONFDIR = $(SYSCONFDIR)/X11/Xsession.d
* SuSE: SYSCONFIGDIR = /etc, XSESSIONCONFDIR = $(SYSCONFDIR)/X11/xinit/xinitrc.d
```
printf '\nexport GTK_OVERLAY_SCROLLING=0\nexport LIBOVERLAY_SCROLLBAR=0'>> $__XSESSIONCONFDIR__/99_disable_gtk_overlay_scrollbars
```
For root applications eg: Synaptic
```
printf '\nGTK_OVERLAY_SCROLLING=0\nLIBOVERLAY_SCROLLBAR=0'>> __$ SYSCONFIGDIR__/environment
```
##### On Wayland and X11 in later GTK+3 versions
```
printf '\ngtk-overlay-scrolling=0'>> $HOME/.config/gtk-3.0/settings.ini
```
#### Enable the csds for dialogs eg: file open or about dialogs
```
Change the "gtk-dialogs-use-header" to "1" in the GTK3 settings.ini's.
```
#### Howto set the GTK themes manually
__NOTE:__ *the examples are for debian/suse which use /usr as their sysprefix*
for GTK:
```
printf 'include "/usr/share/themes/ceres/gtk/gtkrc"' >> ~/.gtkrc
```
or
```
printf 'include "/usr/share/themes/ceres-pro/gtk/gtkrc"' >> ~/.gtkrc
```
for GTK+2:
```
printf 'gtk-theme-name="ceres"' >> ~/.gtkrc-2.0
```
or
```
printf 'gtk-theme-name="ceres-pro"' >> ~/.gtkrc-2.0
```
for GTK+3:
```
if [ ! -f ~/.config/gtk-3.0/settings.ini ]; then printf '[Settings]' >> ~/.config/gtk-3.0/settings.ini ;fi && printf '\ngtk-theme-name=ceres-nocomposite\n' >> ~/.config/gtk-3.0/settings.ini
```
or
```
if [ ! -f ~/.config/gtk-3.0/settings.ini ]; then printf '[Settings]' >> ~/.config/gtk-3.0/settings.ini ;fi && printf '\ngtk-theme-name=ceres-pro-nocomposite\n' >> ~/.config/gtk-3.0/settings.ini
```
#### Print preview does not work?
Since this theme focusing on Cinnamon and MATE it will use [Atril](https://github.com/mate-desktop/atril) as the default document viewer.
to change this simple remove/comment the "gtk-print-preview-command" in the GTK2/3 settings.ini's.
#### Cinnamon theme is flatter than the GTK theme?
Cinnamon does not support full theming with complex gradients and multiple box shadows so I had to use a more flat theme.
- ~~finish cinnamon theme~~
- ~~check if the cinnamon theme works in older versions than 4.8~~
- finish the qsvgstyle theme(very low priority)
- ~~REDO the scrollbars~~
- ~~REDO (again!) all the header/titlebar stuff~~
- ~~REDO the metacity theme~~
- Remove all the GTK3 widget fixes to clean the theme
- ~~remove xfwm, icewm, plank and slim theme~~
mate-panel = $(PREFIX)/share/mate-panel/layouts #mate-tweak needs to be installed
mate-window-applets = $(PREFIX)/share/icons/mate-window-applets
mate-backgrounds = $(PREFIX)/share/backgrounds/ceres/*.png
mate-backgrounds = $(PREFIX)/share/mate-background-properties/*.xml
gnome-backgrounds = $(PREFIX)/share/backgrounds/ceres/*.png
gnome-backgrounds = $(PREFIX)/share/gnome-background-properties/*.xml
{
"content_scripts": [ {
"all_frames": true,
"css": [ "scrollbars.css" ],
"matches": [ "\u003Call_urls>" ]
} ],
"description": "Ceres-scrollbars",
"icons": {
"16": "16.png",
"22": "22.png",
"24": "24.png",
"32": "32.png",
"48": "48.png"
},
"manifest_version": 2,
"name": "Ceres-scrollbars",
"version": "1.0"
}
#scrollrail-vertical,
#scrollrail-horizontal{
position:fixed;
margin:0;
padding:0;
background:transparent}
::-webkit-scrollbar {
width:5px;
height:5px;
}
::-webkit-scrollbar:hover,
::-webkit-scrollbar:active {
width:8px;
height:8px;
}
::-webkit-scrollbar-corner,
::-webkit-resizer,
::-webkit-scrollbar-track{
}
::-webkit-scrollbar-track:vertical {
}
::-webkit-scrollbar-track:horizontal {
}
::-webkit-scrollbar-thumb {
background:#7a7a7a;
border-radius:2px;
}
::-webkit-scrollbar-thumb:vertical:hover,
::-webkit-scrollbar-thumb:vertical:active {
min-width:8px;
background:#7a7a7a;
border-radius:2px;
min-height:35px;
}
::-webkit-scrollbar-thumb:horizontal:hover,
::-webkit-scrollbar-thumb:horizontal:active {
min-height:8px;
background:#7a7a7a;
border-radius:2px;
min-width:35px;
}
::-webkit-scrollbar-button {
height:0px;
width:0px;
opacity:0;
background-color:transparent;
background-size:0px 0px;
background-position:center;
background-repeat:no-repeat;}
::-webkit-scrollbar-button:vertical:start:decrement,
::-webkit-scrollbar-button:vertical:end:decrement {
}
::-webkit-scrollbar-button:vertical:start:increment,
::-webkit-scrollbar-button:vertical:end:increment {
}
::-webkit-scrollbar-button:horizontal:start:decrement,
::-webkit-scrollbar-button:horizontal:end:decrement {
}
::-webkit-scrollbar-button:horizontal:start:increment,
::-webkit-scrollbar-button:horizontal:end:increment {
}
mate-backgrounds
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE wallpapers SYSTEM "mate-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>DarK</name>
<filename>/usr/share/backgrounds/ceres/ceres_tile-DarK.png</filename>
<options>wallpaper</options>
<shade_type>vertical-gradient</shade_type>
<pcolor>#62A0EA</pcolor>
<scolor>#6676C6</scolor>
<artist>ssf</artist>
</wallpaper>
<wallpaper deleted="false">
<name>0nyX</name>
<filename>/usr/share/backgrounds/ceres/ceres_tile-0nyX.png</filename>
<options>wallpaper</options>
<artist>ssf</artist>
</wallpaper>
<wallpaper deleted="false">
<name>Retour</name>
<filename>/usr/share/backgrounds/ceres/ceres_tile-Retour.png</filename>
<options>wallpaper</options>
<artist>ssf</artist>
</wallpaper>
<wallpaper deleted="false">
<name>ACID</name>
<filename>/usr/share/backgrounds/ceres/ceres_tile-ACID.png</filename>
<options>wallpaper</options>
<artist>ssf</artist>
</wallpaper>
<wallpaper deleted="false">
<name>Noise</name>
<filename>/usr/share/backgrounds/ceres/ceres_tile-noise.png</filename>
<options>wallpaper</options>
<shade_type>vertical-gradient</shade_type>
<pcolor>#5E5C64</pcolor>
<scolor>#5E5C64</scolor>
<artist>ssf</artist>
</wallpaper>
</wallpapers>
[Toplevel top]
size=49
expand=true
orientation=left
[Toplevel toplevel-0]
size=24
expand=true
orientation=top
[Object menu]
locked=true
toplevel-id=top
position=0
object-type=menu
panel-right-stick=false
[Object dockapplet]
locked=true
toplevel-id=top
position=60
object-type=applet
applet-iid=DockAppletFactory::DockApplet
panel-right-stick=false
[Object notificationarea]
locked=false
toplevel-id=top
position=0
object-type=applet
applet-iid=NotificationAreaAppletFactory::NotificationArea
panel-right-stick=true
[Object windowbuttonsapplet]
locked=true
toplevel-id=toplevel-0
position=0
object-type=applet
applet-iid=WindowButtonsAppletFactory::WindowButtonsApplet
panel-right-stick=true
[Object appmenuapplet]
locked=true
toplevel-id=toplevel-0
position=0
object-type=applet
applet-iid=AppmenuAppletFactory::AppmenuApplet
panel-right-stick=false
[Toplevel top]
size=24
expand=true
orientation=bottom
[Object menu]
locked=true
toplevel-id=top
position=0
object-type=menu
panel-right-stick=false
[Object dockapplet]
locked=false
toplevel-id=top
position=40
object-type=applet
applet-iid=DockAppletFactory::DockApplet
panel-right-stick=false
[Object notificationarea]
locked=true
toplevel-id=top
position=62
object-type=applet
applet-iid=NotificationAreaAppletFactory::NotificationArea
panel-right-stick=true
[Toplevel top]
size=49
expand=true
orientation=left
[Object menu]
locked=true
toplevel-id=top
position=0
object-type=menu
panel-right-stick=false
[Object dockapplet]
locked=true
toplevel-id=top
position=60
object-type=applet
applet-iid=DockAppletFactory::DockApplet
panel-right-stick=false
[Object notificationarea]
locked=false
toplevel-id=top
position=0
object-type=applet
applet-iid=NotificationAreaAppletFactory::NotificationArea
panel-right-stick=true
<?xml version="1.0" encoding="UTF-8"?>
<svg width="16" height="16" version="1.1" viewBox="0 0 4.2333 4.2333" xmlns="http://www.w3.org/2000/svg">
<path d="m2.2676 0.27251-0.30282 0.25941 0.68316 0.79685-0.68316 0.79737 0.30282 0.25735 0.64285-0.74931 0.64234 0.74931 0.30282-0.25735-0.68316-0.79737 0.68316-0.79685-0.30282-0.25941-0.64234 0.74982z" dominant-baseline="auto" style="color-rendering:auto;color:#000000;dominant-baseline:auto;font-feature-settings:normal;font-variant-alternates:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-position:normal;image-rendering:auto;isolation:auto;mix-blend-mode:normal;opacity:0;shape-padding:0;shape-rendering:auto;solid-color:#000000;stroke-width:.3974;text-decoration-color:#000000;text-decoration-line:none;text-decoration-style:solid;text-indent:0;text-orientation:mixed;text-transform:none;white-space:normal"/>
<path d="m0.99413 1.3683 0.74835 0.74838-0.74835 0.74832 0.37417 0.37417 0.74835-0.74832 0.74835 0.74832 0.37417-0.37417-0.74835-0.74832 0.74835-0.74838-0.37417-0.37417-0.74835 0.74838-0.74835-0.74838z" style="fill:#ffffff;stroke-width:.26458"/>
<rect x="1.8521" y="1.0525" width="2.1167" height=".52917" style="opacity:0;stroke-width:.3974"/>
</svg>
[Icon Theme]
Name=ceres-nocomposite
Comment=Matching buttons for the WindowButtons applet
Directories=close,minimize,maximize
Hidden=true
[close]
Context=close
Size=16
MinSize=8
MaxSize=512
Type=Scalable
[minimize]
Context=minimize
Size=16
MinSize=8
MaxSize=512
Type=Scalable
[maximize]
Context=maximize
Size=16
MinSize=8
MaxSize=512
Type=Scalable
<?xml version="1.0" encoding="UTF-8"?>
<svg version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<path d="m7 4v3h-3v2h3v3h2v-3h3v-2h-3v-3z" style="fill:#ffffff"/>
</svg>
maximize_pressed.svg
\ No newline at end of file
maximize_pressed.svg
\ No newline at end of file
maximize_pressed.svg
\ No newline at end of file