fix: yazi keymap arguments

This commit is contained in:
danny 2025-11-26 14:47:19 +08:00
parent c540e9cc73
commit 4b6183f0ec
7 changed files with 143 additions and 147 deletions

View file

@ -3,6 +3,11 @@ let
mkWall = import ./mkWall.nix { inherit pkgs config; };
rofiWall = pkgs.writeShellScript "rofiWall" ''
url=$(rofi -i -dmenu -config ~/.config/rofi/config.rasi -p "URL")
if [ -z "$url" ]; then
exit 0
fi
${mkWall}/bin/setWall "$url"
'';
in