feat: refactor and add recording function on waybar
This commit is contained in:
parent
47b5336149
commit
f3475c7d02
15 changed files with 656 additions and 586 deletions
9
home/scripts/rofiwall.nix
Normal file
9
home/scripts/rofiwall.nix
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue