This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
snippets [2025/03/10 03:16] – created Yuki | snippets [2025/06/23 18:27] (current) – [update-repo] Yuki | ||
---|---|---|---|
Line 18: | Line 18: | ||
echo "man what?" | echo "man what?" | ||
fi | fi | ||
+ | </ | ||
+ | |||
+ | ===== remotehyprctl ===== | ||
+ | |||
+ | Useful when you want to launch stuff on your Hyprland via ssh. | ||
+ | |||
+ | <code bash remotehyprctl> | ||
+ | #!/bin/sh | ||
+ | HYPRLAND_INSTANCE_SIGNATURE=$(hyprctl instances -j | jq -r " | ||
+ | </ | ||
+ | |||
+ | ===== update-repo ===== | ||
+ | |||
+ | Small tool to take your paru cache and turn it into a repo, useful if you manage a lot of Arch installs. | ||
+ | |||
+ | <code bash update-repo> | ||
+ | #!/bin/sh | ||
+ | pkgs=/ | ||
+ | repodir=/ | ||
+ | suffix=" | ||
+ | repo=yuki | ||
+ | |||
+ | rm $repodir/ | ||
+ | find $pkgs -name " | ||
+ | cd $repodir | ||
+ | find . -name " | ||
</ | </ |