summaryrefslogtreecommitdiffstats
path: root/lass/2configs/browsers.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2018-04-10 22:11:17 +0200
committertv <tv@krebsco.de>2018-04-10 22:11:17 +0200
commit8d48d325afee416b67721cf64bf1b443fb84fd92 (patch)
tree9f31ee06d7aa929d8a9e3209dc7225b4e4f18d8f /lass/2configs/browsers.nix
parent68ceb8df1318a87f0b121eda5a2a29eab360d578 (diff)
parent5b8c4d24e274bbf26e85420fc11b5bf7e24ac22d (diff)
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'lass/2configs/browsers.nix')
-rw-r--r--lass/2configs/browsers.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/lass/2configs/browsers.nix b/lass/2configs/browsers.nix
index 91ee08bfd..3030d8faf 100644
--- a/lass/2configs/browsers.nix
+++ b/lass/2configs/browsers.nix
@@ -26,7 +26,12 @@ let
lass.xjail.${name} = {
inherit script groups dpi;
};
- environment.systemPackages = [ config.lass.xjail-bins.${name} ];
+ environment.systemPackages = [
+ config.lass.xjail-bins.${name}
+ (pkgs.writeDashBin "cx-${name}" ''
+ DISPLAY=:${toString (genid_signed name)} ${pkgs.xclip}/bin/xclip -o | DISPLAY=:0 ${pkgs.xclip}/bin/xclip
+ '')
+ ];
lass.browser.paths.${name} = {
path = config.lass.xjail-bins.${name};
inherit precedence;