diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-07-03 22:37:49 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-07-03 22:37:49 +0200 |
commit | 361318fe8f743071ccc1949d0ab51d576f5b9b6c (patch) | |
tree | ff4095380eef1dbf3bbd595968c1d454d6571e51 | |
parent | a5a3fd1061c0b36fac8eec80693a8a41cacc3f2b (diff) | |
download | nixos-361318fe8f743071ccc1949d0ab51d576f5b9b6c.tar nixos-361318fe8f743071ccc1949d0ab51d576f5b9b6c.tar.gz nixos-361318fe8f743071ccc1949d0ab51d576f5b9b6c.tar.bz2 nixos-361318fe8f743071ccc1949d0ab51d576f5b9b6c.tar.xz nixos-361318fe8f743071ccc1949d0ab51d576f5b9b6c.zip |
xsession session commands
-rw-r--r-- | vali.nix | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -88,11 +88,18 @@ rec { | |||
88 | displayManager.slim = { | 88 | displayManager.slim = { |
89 | enable = true; | 89 | enable = true; |
90 | defaultUser = "gkleen"; | 90 | defaultUser = "gkleen"; |
91 | desktopManagerHandlesLidAndPower = false; | ||
92 | sessionCommands = '' | ||
93 | ${pkgs.xset}/bin/xset -dpms | ||
94 | ${pkgs.xset}/bin/xset s off | ||
95 | ${pkgs.xsetroot}/bin/xsetroot -mod 10 10 -bg black -fg '#222' | ||
96 | ${pkgs.autocutsel}/bin/autocutsel -selection CLIPBOARD -fork | ||
97 | ${pkgs.autocutsel}/bin/autocutsel -selection PRIMARY -fork | ||
98 | ''; | ||
91 | }; | 99 | }; |
92 | 100 | ||
93 | enable = true; | 101 | enable = true; |
94 | autorun = true; | 102 | autorun = true; |
95 | displayManager.desktopManagerHandlesLidAndPower = false; | ||
96 | 103 | ||
97 | layout = "us"; | 104 | layout = "us"; |
98 | xkbVariant = "dvp"; | 105 | xkbVariant = "dvp"; |