Here's a patch for the new Oxygen GTK theme:
https://projects.kde.org/projects/playground/artwork/oxygen-gtk
Since it's a GTK theme (with gtk dependencies) which is intended for
use by KDE users I wasn't sure where to put it in the tree, so I added
some new directories:
misc/themes/gtk2
Please feel free to move it elsewhere as you see fit. Personally, I
think it would be quite nice to have this installed along with KDE,
but KDE purists will surely disagree.
Locally, I've configured my KDE session to set some environment
variables so that GTK apps use this theme as described on
http://wiki.nixos.org/wiki/Enable_GTK_themes_in_KDE
Thanks,
Cillian
Index: /etc/nixos/nixpkgs/pkgs/top-level/all-packages.nix
===================================================================
--- /etc/nixos/nixpkgs/pkgs/top-level/all-packages.nix (revision 25667)
+++ /etc/nixos/nixpkgs/pkgs/top-level/all-packages.nix (working copy)
@@ -7144,6 +7144,10 @@
pkgs_for_46.newScope pkgs_for_46.kde46;
};
+ oxygen_gtk = callPackage ../misc/themes/gtk2/oxygen-gtk {
+ inherit (gtkLibs) glib gtk;
+ };
+
xfce = xfce4;
xfce4 = recurseIntoAttrs
Index: /etc/nixos/nixpkgs/pkgs/misc/themes/gtk2/oxygen-gtk/default.nix
===================================================================
--- /etc/nixos/nixpkgs/pkgs/misc/themes/gtk2/oxygen-gtk/default.nix (revision 0)
+++ /etc/nixos/nixpkgs/pkgs/misc/themes/gtk2/oxygen-gtk/default.nix (revision 0)
@@ -0,0 +1,20 @@
+{ stdenv, fetchurl,
+ cmake, glib, gtk, pkgconfig }:
+
+stdenv.mkDerivation rec {
+ name = "oxygen-gtk";
+ version = "1.0.1";
+
+ src = fetchurl {
+ url = "mirror://kde/stable/${name}/${version}/src/${name}-${version}.tar.bz2";
+ sha256 = "0ki8qllr5ai48bl2pz8rxzf5cax08ckhgrn0nlf815ba83jfar32";
+ };
+
+ buildInputs = [ cmake glib gtk pkgconfig ];
+
+ meta = {
+ description = "Port of the default KDE widget theme (Oxygen), to gtk";
+ homepage = https://projects.kde.org/projects/playground/artwork/oxygen-gtk;
+ licence = "LGPLv2";
+ };
+}
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev