pager: expose utilities
This commit is contained in:
parent
1ce5e46e7b
commit
e26b6d1f15
@ -1,14 +1,17 @@
|
||||
{ pkgs }:
|
||||
|
||||
pkgs.writeDashBin "pager" ''
|
||||
pkgs.symlinkJoin {
|
||||
name = "pager-wrapper";
|
||||
paths = [
|
||||
(pkgs.writeDashBin "pager" ''
|
||||
# usage: pager {view,shift,shiftview}
|
||||
#
|
||||
# Environment variables
|
||||
#
|
||||
# PAGER_NAME (default: Pager)
|
||||
# The environment variables specifies the application name under which
|
||||
# resources are to be obtained. PAGER_NAME should not contain “.” or “*”
|
||||
# characters.
|
||||
# The environment variables specifies the application name under
|
||||
# which resources are to be obtained. PAGER_NAME should not contain
|
||||
# “.” or “*” characters.
|
||||
#
|
||||
set -efu
|
||||
|
||||
@ -33,4 +36,7 @@ pkgs.writeDashBin "pager" ''
|
||||
-xrm 'Pager*background: #050505' \
|
||||
-xrm 'Pager*foreground: #d0d7d0' \
|
||||
-e ${pkgs.haskellPackages.pager}/bin/pager "$@"
|
||||
''
|
||||
'')
|
||||
pkgs.haskellPackages.pager
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user