about summary refs log tree commit diff
path: root/machines/profpatsch/notes.org
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2015-11-09 01:37:16 +0100
committerProfpatsch <mail@profpatsch.de>2015-11-09 01:37:31 +0100
commitebac6add8f043b304d7ac30798edc38813cbe489 (patch)
tree50bb90a9b9a58e9bda2a9bc008ee81468a75b26f /machines/profpatsch/notes.org
parentb8fef2fa3fa844c8c8e6303edaa78a8346e5caac (diff)
katara: login commands
Diffstat (limited to 'machines/profpatsch/notes.org')
-rw-r--r--machines/profpatsch/notes.org32
1 files changed, 32 insertions, 0 deletions
diff --git a/machines/profpatsch/notes.org b/machines/profpatsch/notes.org
new file mode 100644
index 00000000..b5a82651
--- /dev/null
+++ b/machines/profpatsch/notes.org
@@ -0,0 +1,32 @@
+* GTK themes
+this should work:
+
+#+BEGIN_SRC nix
+      # https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/x11/desktop-managers/gnome3.nix
+      xserver.displayManager.session = [
+        {
+          manage = "window";
+          name = "awesome";
+          start = ''
+            # Set GTK_DATA_PREFIX so that GTK+ can find the themes
+            export GTK_DATA_PREFIX=${config.system.path}
+            # Find theme engines
+            export GTK_PATH=${config.system.path}/lib/gtk-3.0:${config.system.path}/lib/gtk-2.0
+            # Find the mouse
+            export XCURSOR_PATH=~/.icons:${config.system.path}/share/icons
+            # Update user dirs as described in http://freedesktop.org/wiki/Software/xdg-user-dirs/
+            ${pkgs.xdg-user-dirs}/bin/xdg-user-dirs-update
+            # Find the mouse
+            export XCURSOR_PATH=~/.icons:${config.system.path}/share/icons
+            ${pkgs.awesome}/bin/awesome&
+            waitPID=$!
+          '';
+        }
+      ];
+
+        environment = {
+
+          # Share needed for themes and backgrounds
+          pathsToLink = [ "/include" "/share"];
+       };
+#+END_SRC