install xsel

feat/kile-v2
Ricard Illa 2022-08-22 11:59:41 +02:00
parent c055847df0
commit a180a74ceb
No known key found for this signature in database
GPG Key ID: F69A672B72E54902
2 changed files with 16 additions and 1 deletions

View File

@ -10,7 +10,7 @@ in {
options = [ "caps:escape" ];
variant = "altgr-intl";
};
packages = [ obtoxmd pkgs.openbox ];
packages = [ obtoxmd pkgs.openbox pkgs.xsel ];
file = {
".xmonad/icons/3cols.xpm".source = ./icons/3cols.xpm;
".xmonad/icons/float.xpm".source = ./icons/float.xpm;

View File

@ -0,0 +1,15 @@
{ pkgs, ... }:
let
hostname = "woodpecker.monotremata.xyz";
shell = "${pkgs.dash}/bin/dash";
pass = "${pkgs.pass}/bin/pass";
woodpecker-cli = "${pkgs.woodpecker-cli}/bin/woodpecker-cli";
in pkgs.writeScriptBin "woodpecker-cli" ''
#!${shell}
WOODPECKER_SERVER="https://${hostname}"
WOODPECKER_TOKEN=$(${pass} "${hostname}/token")
export WOODPECKER_SERVER
export WOODPECKER_TOKEN
${woodpecker-cli} "$@"
''