some housekeeping
This commit is contained in:
parent
a9c11e0bff
commit
bb3e35e9b6
4 changed files with 10 additions and 5 deletions
|
@ -13,6 +13,7 @@ stdenvNoCC.mkDerivation {
|
|||
src = ./.;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ curl envsubst jq libsecret ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
@ -25,6 +26,6 @@ stdenvNoCC.mkDerivation {
|
|||
'';
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/getpaper --prefix PATH : ${lib.makeBinPath [envsubst jq curl libsecret]}
|
||||
wrapProgram $out/bin/getpaper --prefix PATH : ${lib.makeBinPath [curl envsubst jq libsecret]}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -14,6 +14,7 @@ stdenvNoCC.mkDerivation {
|
|||
src = ./.;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ hyprland kitty libnotify rofi-wayland tmux ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
@ -30,7 +31,7 @@ stdenvNoCC.mkDerivation {
|
|||
'';
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/power-menu --prefix PATH : ${lib.makeBinPath [libnotify rofi-wayland hyprland]}
|
||||
wrapProgram $out/bin/tmux-sessions --prefix PATH : ${lib.makeBinPath [tmux kitty rofi-wayland]}
|
||||
wrapProgram $out/bin/power-menu --prefix PATH : ${lib.makeBinPath [hyprland libnotify rofi-wayland]}
|
||||
wrapProgram $out/bin/tmux-sessions --prefix PATH : ${lib.makeBinPath [kitty rofi-wayland tmux]}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ lib
|
||||
, stdenvNoCC
|
||||
, makeWrapper
|
||||
, mpv
|
||||
, kitty
|
||||
, rofi-wayland
|
||||
, ueberzugpp
|
||||
|
@ -13,6 +14,7 @@ stdenvNoCC.mkDerivation {
|
|||
src = ./.;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ kitty mpv rofi-wayland ueberzugpp ytfzf ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
@ -26,6 +28,6 @@ stdenvNoCC.mkDerivation {
|
|||
'';
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/youtube --prefix PATH : ${lib.makeBinPath [kitty ytfzf rofi-wayland ueberzugpp]}
|
||||
wrapProgram $out/bin/youtube --prefix PATH : ${lib.makeBinPath [kitty mpv rofi-wayland ueberzugpp ytfzf]}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -18,6 +18,7 @@ let
|
|||
wpaperctl = "${config.programs.wpaperd.package}/bin/wpaperctl";
|
||||
wpctl = "${pkgs.wireplumber}/bin/wpctl";
|
||||
yazi = "${pkgs.yazi}/bin/yazi";
|
||||
youtube = "${extra-packages.youtube}/bin/youtube";
|
||||
|
||||
pictures = "${config.xdg.userDirs.pictures}";
|
||||
in
|
||||
|
@ -174,7 +175,7 @@ in
|
|||
|
||||
"SUPER_SHIFT,escape, exec, ${extra-packages.misc-scripts}/bin/power-menu"
|
||||
"SUPER,f11, exec, ${extra-packages.misc-scripts}/bin/tmux-sessions"
|
||||
"SUPER_SHIFT,y, exec, ${extra-packages.youtube}/bin/youtube"
|
||||
"SUPER_SHIFT,y, exec, ${youtube}"
|
||||
"SUPER_SHIFT,b, exec, ${extra-packages.rofi-bluetooth}/bin/rofi-bluetooth"
|
||||
|
||||
"SUPER,escape, exec, ${loginctl} lock-session"
|
||||
|
|
Loading…
Reference in a new issue