diff options
author | Que Quotion | 2019-04-11 12:41:55 +0900 |
---|---|---|
committer | Que Quotion | 2019-04-11 12:43:19 +0900 |
commit | 90f86d505fe3c6c1aa28a514d944e68d1438a1fc (patch) | |
tree | 405a30eb307c6bc4f56ecf6ea9d3266d759d8511 | |
parent | 8745bd9bb20dd95116de3575b6ae2e816d0263a6 (diff) | |
download | aur-90f86d505fe3c6c1aa28a514d944e68d1438a1fc.tar.gz |
Add optional gtk3 configuration files
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 10 | ||||
-rw-r--r-- | gtk.css | 113 | ||||
-rw-r--r-- | settings.ini | 22 |
4 files changed, 147 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = pantheon-workarounds pkgdesc = Workarounds for Pantheon derivatives pkgver = r1103.3661cbd - pkgrel = 2 + pkgrel = 3 url = https://github.com/quequotion/pantheon-bzr-qq install = gala.install arch = i686 @@ -32,12 +32,16 @@ pkgbase = pantheon-workarounds source = gnome-fallback-background-helper-pantheon.desktop source = gnome-fallback-mount-helper-pantheon.desktop source = numlockx-pantheon.desktop + source = gtk.css + source = settings.ini sha512sums = 30a488431a23ff5521a12e97fa69ed17b2033ba8f016bb922e07ad9bf2d671e14a90a38266de1567c4dcbf178b6919a8108fad3dd13e50573018dc2a8e9b070e sha512sums = 842db1b456c96287865955741ba00c3ceeecf82691700f691d9fc45dc665230f1224ce7cdf5a1301826ab96cfe59e922c3878a5986ab3639da0cb79a2948f727 sha512sums = b01a18bb7829eb7a48b72c90bdf5aa5913c24247426e0bfc509cba22f49d2d8c9eb301e1937b70f3f7f01a873c987e0bdea6dd5f24f8d900b952188fa5635d39 sha512sums = 0df6355d85d2329e245593408a74d09281c0dcea206ed594a7312b78db4d3cd57941a5ec29be780f965128fe512532edae85ffaf11a94b57374d5906875967fc sha512sums = c06e3b8c59681ebe64fa0dd724eea1d40a579956372ce0851f30ededdda3ac41d329d40e5463bd779daba0d55853faec357203b042a4de3d601eafc8b09c350e sha512sums = bc5724ef255adad39e35e3fbd7beacbd3ea270c7019362ff6a8bc15cf8f503a4304c18c5e35ae2a6ddb8d1e6e7cc6973642a2ffdc8fe9e219c7f2dbacf5eab72 + sha512sums = ee75dfaa7d887dbfe0c74b7fb6005d5aafbce22fa00b3b476b3c88628a9f786cfd3410237a2b22ca135ea85759b45b59068e5d00650f65449a19ae222e957784 + sha512sums = 90b0927892e708b601542f317af52f42174bdcbb4e9df6f3d5667f2a8029deff42cef5459072c295f343d73a99f43b76eaeb5432b8367e69f42d5aac7f1b2f57 pkgname = pantheon-workarounds @@ -4,7 +4,7 @@ pkgname=pantheon-workarounds pkgver=r1103.3661cbd -pkgrel=2 +pkgrel=3 pkgdesc='Workarounds for Pantheon derivatives' arch=('i686' 'x86_64') url='https://github.com/quequotion/pantheon-bzr-qq' @@ -27,13 +27,17 @@ source=("https://raw.githubusercontent.com/elementary/gala/master/data/org.panth 'gnome-fallback-media-keys-helper-pantheon.desktop' 'gnome-fallback-background-helper-pantheon.desktop' 'gnome-fallback-mount-helper-pantheon.desktop' - 'numlockx-pantheon.desktop') + 'numlockx-pantheon.desktop' + 'gtk.css' + 'settings.ini') sha512sums=('30a488431a23ff5521a12e97fa69ed17b2033ba8f016bb922e07ad9bf2d671e14a90a38266de1567c4dcbf178b6919a8108fad3dd13e50573018dc2a8e9b070e' '842db1b456c96287865955741ba00c3ceeecf82691700f691d9fc45dc665230f1224ce7cdf5a1301826ab96cfe59e922c3878a5986ab3639da0cb79a2948f727' 'b01a18bb7829eb7a48b72c90bdf5aa5913c24247426e0bfc509cba22f49d2d8c9eb301e1937b70f3f7f01a873c987e0bdea6dd5f24f8d900b952188fa5635d39' '0df6355d85d2329e245593408a74d09281c0dcea206ed594a7312b78db4d3cd57941a5ec29be780f965128fe512532edae85ffaf11a94b57374d5906875967fc' 'c06e3b8c59681ebe64fa0dd724eea1d40a579956372ce0851f30ededdda3ac41d329d40e5463bd779daba0d55853faec357203b042a4de3d601eafc8b09c350e' - 'bc5724ef255adad39e35e3fbd7beacbd3ea270c7019362ff6a8bc15cf8f503a4304c18c5e35ae2a6ddb8d1e6e7cc6973642a2ffdc8fe9e219c7f2dbacf5eab72') + 'bc5724ef255adad39e35e3fbd7beacbd3ea270c7019362ff6a8bc15cf8f503a4304c18c5e35ae2a6ddb8d1e6e7cc6973642a2ffdc8fe9e219c7f2dbacf5eab72' + 'ee75dfaa7d887dbfe0c74b7fb6005d5aafbce22fa00b3b476b3c88628a9f786cfd3410237a2b22ca135ea85759b45b59068e5d00650f65449a19ae222e957784' + '90b0927892e708b601542f317af52f42174bdcbb4e9df6f3d5667f2a8029deff42cef5459072c295f343d73a99f43b76eaeb5432b8367e69f42d5aac7f1b2f57') pkgver() { cd "${srcdir}" diff --git a/gtk.css b/gtk.css new file mode 100644 index 000000000000..d0d2cb26a63b --- /dev/null +++ b/gtk.css @@ -0,0 +1,113 @@ +/************* + * CSD Fixes * + ************/ + +.window-frame, .window-frame:backdrop { + box-shadow: 0 0 0 black; + border-style: none; + margin: 0; + border-radius: 0; +} + +.titlebar { + border-radius: 0; +} + +.window-frame.csd.popup { + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.13); +} + +.header-bar { + background-image: none; + box-shadow: none; +} + +window.ssd headerbar.titlebar { + padding-top: 1px; + padding-bottom: 1px; + min-height: 0; +} + +window.ssd headerbar.titlebar button.titlebutton { + padding: 0px; + min-height: 0; + min-width: 0; +} + +.ssd .titlebar { + border-width: 0; + box-shadow: none; +} + +/* CSD / SSD minimization */ +/* shrink headebars */ +headerbar { + min-height: 0px; + padding-left: 2px; /* same as childrens vertical margins for nicer proportions */ + padding-right: 2px; +} + +headerbar entry, +headerbar spinbutton, +headerbar button, +headerbar separator { + margin-top: 2px; /* same as headerbar side padding for nicer proportions */ + margin-bottom: 2px; +} + +/* shrink ssd titlebars */ +.default-decoration { + min-height: 0; /* let the entry and button drive the titlebar size */ + padding: 2px +} + +.default-decoration .titlebutton { + min-height: 0px; /* tweak these two props to reduce button size */ + min-width: 0px; +} + +window.ssd headerbar.titlebar { + padding-top: 1px; + padding-bottom: 1px; + min-height: 0; +} + +window.ssd headerbar.titlebar button.titlebutton { + padding-top: 1px; + padding-bottom:1px; + min-height: 0; +} + +/* You may want to use this if you don't like the double title. */ +GtkLabel.title { + opacity: 0; +} + +/* From elementary css */ + +.titlebar.default-decoration { + padding: 0 3px; + min-height: 32px; +} + +dialog .titlebar.default-decoration, +messagedialog .titlebar, +messagedialog .titlebar.default-decoration { + min-height: 0; + padding: 3px; +} + +/********************* + * wingpanel support * + ********************/ + +.panel { +/* background-color: transparent; */ +/* background-color: black; */ + background-color: rgba(0,0,0,0.5); + transition: all 1s ease-in-out; +} + +.panel.maximized { + background-color: #000; +} diff --git a/settings.ini b/settings.ini new file mode 100644 index 000000000000..3147564d3224 --- /dev/null +++ b/settings.ini @@ -0,0 +1,22 @@ +[Settings] +gtk-theme-name = Adwaita-dark +gtk-icon-theme-name = elementary +gtk-fallback-icon-theme = gnome +gtk-sound-theme-name = freedesktop +gtk-cursor-theme-name=elementary +gtk-cursor-theme-size=48 +gtk-icon-sizes = panel-menu-bar = 24,24 +gtk-font-name = Open Sans 14 +gtk-toolbar-style = GTK_TOOLBAR_TEXT +gtk-toolbar-icon-size = GTK_ICON_SIZE_LARGE_TOOLBAR +gtk-button-images = 0 +gtk-menu-images = 0 +gtk-enable-event-sounds = 1 +gtk-enable-input-feedback-sounds = 0 +gtk-xft-antialias = 1 +gtk-xft-hinting = 1 +gtk-xft-hintstyle = hintfull +gtk-xft-rgba = rgb +gtk-application-prefer-dark-theme = 1 +gtk-decoration-layout = close:maximize +gtk-modules = gail:atk-bridge:canberra-gtk-module:pantheon-filechooser-module |