add missing dependency
This commit is contained in:
parent
e040c530e8
commit
90999017a1
2 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenvNoCC, makeWrapper, libnotify }:
|
||||
{ lib, stdenvNoCC, makeWrapper, libnotify, rofi-wayland }:
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "scripts";
|
||||
version = "1.0";
|
||||
|
@ -11,6 +11,6 @@ stdenvNoCC.mkDerivation {
|
|||
mkdir -p $out/bin
|
||||
cp power-menu.sh $out/bin/power-menu
|
||||
chmod +x $out/bin/power-menu
|
||||
wrapProgram $out/bin/power-menu --prefix PATH : ${lib.makeBinPath [ libnotify ]}
|
||||
wrapProgram $out/bin/power-menu --prefix PATH : ${lib.makeBinPath [ libnotify rofi-wayland ]}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -23,5 +23,5 @@ chpower() {
|
|||
|
||||
OPTIONS="Shutdown\nReboot\nHibernate"
|
||||
|
||||
chpower "$(printf "%b" "$OPTIONS" | sort | ${dmenu} -p "Power Menu")"
|
||||
chpower "$(printf "%b" "$OPTIONS" | sort | rofi -dmenu -p "Power Menu")"
|
||||
|
||||
|
|
Loading…
Reference in a new issue