feat: refactor and add recording function on waybar

This commit is contained in:
danny 2025-08-11 01:14:53 +08:00
parent 47b5336149
commit f3475c7d02
15 changed files with 656 additions and 586 deletions

View file

@ -0,0 +1,9 @@
{ pkgs, config }:
let
mkWall = import ./mkWall.nix { inherit pkgs config; };
rofiWall = pkgs.writeShellScript "rofiWall" ''
url=$(rofi -i -dmenu -config ~/.config/rofi/config.rasi -p "URL")
${mkWall}/bin/setWall "$url"
'';
in
rofiWall