mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
add de-p1st-theme
This commit is contained in:
parent
32beefa5f2
commit
42d42e4560
1
pkg/de-p1st-theme/99_qt5_theme.sh
Normal file
1
pkg/de-p1st-theme/99_qt5_theme.sh
Normal file
@ -0,0 +1 @@
|
|||||||
|
export QT_STYLE_OVERRIDE=adwaita
|
31
pkg/de-p1st-theme/PKGBUILD
Normal file
31
pkg/de-p1st-theme/PKGBUILD
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
# Maintainer: Daniel Langbein <daniel@systemli.org>
|
||||||
|
_pkgname=theme
|
||||||
|
_reponame=arch
|
||||||
|
pkgname="de-p1st-$_pkgname"
|
||||||
|
pkgver=0.0.1
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Uniform look for QT and GTK applications"
|
||||||
|
arch=('any')
|
||||||
|
url="https://codeberg.org/privacy1st/${_reponame}"
|
||||||
|
license=('MIT')
|
||||||
|
groups=()
|
||||||
|
depends=('adwaita-qt' 'adwaita-qt4')
|
||||||
|
makedepends=('git')
|
||||||
|
optdepends=()
|
||||||
|
provides=()
|
||||||
|
conflicts=()
|
||||||
|
replaces=()
|
||||||
|
backup=()
|
||||||
|
options=()
|
||||||
|
install=
|
||||||
|
changelog=
|
||||||
|
source=("git+${url}.git")
|
||||||
|
noextract=()
|
||||||
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${_reponame}/pkg/${pkgname}"
|
||||||
|
|
||||||
|
install -Dm0644 99_qt5_theme.sh "$pkgdir"/etc/profile.d/99_qt5_theme.sh
|
||||||
|
install -Dm0644 Trolltech.conf "$pkgdir"/etc/xdg/Trolltech.conf
|
||||||
|
}
|
46
pkg/de-p1st-theme/README.md
Normal file
46
pkg/de-p1st-theme/README.md
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
# Adwaita theme - in GTK and QT
|
||||||
|
|
||||||
|
* https://wiki.archlinux.org/index.php/Uniform_look_for_Qt_and_GTK_applications#Adwaita
|
||||||
|
|
||||||
|
**NOTE**: This has just been tested with XFCE4 so far!
|
||||||
|
|
||||||
|
## GTK
|
||||||
|
|
||||||
|
If using XFCE4 or Gnome this is the default theme. No action required.
|
||||||
|
|
||||||
|
## qt5
|
||||||
|
|
||||||
|
```shell
|
||||||
|
aur sync -c adwaita-qt
|
||||||
|
```
|
||||||
|
|
||||||
|
Enable via env variable.
|
||||||
|
|
||||||
|
```shell
|
||||||
|
echo 'export QT_STYLE_OVERRIDE=adwaita' | sudo tee -a /etc/profile.d/99_qt5_theme.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
## qt4
|
||||||
|
|
||||||
|
```shell
|
||||||
|
aur sync -c adwaita-qt4
|
||||||
|
```
|
||||||
|
|
||||||
|
Then edit `/etc/xdg/Trolltech.conf` :
|
||||||
|
|
||||||
|
```
|
||||||
|
# ...
|
||||||
|
[Qt]
|
||||||
|
style=adwaita
|
||||||
|
# ...
|
||||||
|
```
|
||||||
|
|
||||||
|
## A quote that gave me this idea
|
||||||
|
|
||||||
|
> If you are using a GTK-based environment you need to configure
|
||||||
|
> Qt applications look and feel (using
|
||||||
|
> [adwaita-qt](https://github.com/FedoraQt/adwaita-qt) `qt5ct`
|
||||||
|
> `qt5-styleplugins`. You can read
|
||||||
|
> [this wiki page](https://wiki.archlinux.org/index.php/Uniform_look_for_Qt_and_GTK_applications#Styles_for_both_Qt_and_GTK)
|
||||||
|
> about it.
|
||||||
|
>
|
2
pkg/de-p1st-theme/Trolltech.conf
Normal file
2
pkg/de-p1st-theme/Trolltech.conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
[Qt]
|
||||||
|
style=adwaita
|
1
pkg/de-p1st-xfce4/TODO.txt
Normal file
1
pkg/de-p1st-xfce4/TODO.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
depend on de-p1st-theme
|
Loading…
Reference in New Issue
Block a user