l: add dpass + bindings
This commit is contained in:
parent
79c5b96355
commit
c83cd3492a
|
@ -3,6 +3,7 @@
|
|||
{
|
||||
nixpkgs.config.packageOverrides = rec {
|
||||
acronym = pkgs.callPackage ./acronym/default.nix {};
|
||||
dpass = pkgs.callPackage ./dpass {};
|
||||
ejabberd = pkgs.callPackage ./ejabberd {
|
||||
erlang = pkgs.erlangR16;
|
||||
};
|
||||
|
|
12
lass/5pkgs/dpass/default.nix
Normal file
12
lass/5pkgs/dpass/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ pass, writeOut, writeDash, ... }:
|
||||
|
||||
writeOut "dsco-pass" {
|
||||
"/bin/dpass".link = writeDash "dpass" ''
|
||||
PASSWORD_STORE_DIR=$HOME/.dpasswordstore \
|
||||
exec ${pass}/bin/pass $@
|
||||
'';
|
||||
"/bin/dpassmenu".link = writeDash "dpassmenu" ''
|
||||
PASSWORD_STORE_DIR=$HOME/.dpasswordstore \
|
||||
exec ${pass}/bin/passmenu $@
|
||||
'';
|
||||
}
|
|
@ -99,6 +99,7 @@ myKeyMap =
|
|||
, ("M4-C-p", spawn "${pkgs.scrot}/bin/scrot ~/public_html/scrot.png")
|
||||
, ("M4-p", spawn "${pkgs.pass}/bin/passmenu --type")
|
||||
, ("M4-o", spawn "${pkgs.brain}/bin/brainmenu --type")
|
||||
, ("M4-i", spawn "${pkgs.dpass}/bin/dpassmenu --type")
|
||||
, ("<XF86AudioRaiseVolume>", spawn "${pkgs.pulseaudioLight.out}/bin/pactl -- set-sink-volume @DEFAULT_SINK@ +4%")
|
||||
, ("<XF86AudioLowerVolume>", spawn "${pkgs.pulseaudioLight.out}/bin/pactl -- set-sink-volume @DEFAULT_SINK@ -4%")
|
||||
, ("<XF86MonBrightnessDown>", spawn "${pkgs.xorg.xbacklight}/bin/xbacklight -time 0 -dec 1%")
|
||||
|
|
Loading…
Reference in a new issue