install xsel
parent
c055847df0
commit
a180a74ceb
|
@ -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;
|
||||
|
|
|
@ -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} "$@"
|
||||
''
|
Loading…
Reference in New Issue