l browsers: add cx- command for copy & paste
This commit is contained in:
parent
8ff594c92f
commit
f079302590
@ -26,7 +26,12 @@ let
|
|||||||
lass.xjail.${name} = {
|
lass.xjail.${name} = {
|
||||||
inherit script groups dpi;
|
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} = {
|
lass.browser.paths.${name} = {
|
||||||
path = config.lass.xjail-bins.${name};
|
path = config.lass.xjail-bins.${name};
|
||||||
inherit precedence;
|
inherit precedence;
|
||||||
|
Loading…
Reference in New Issue
Block a user