====== Useful snippets to put in your ~/.local/bin ====== ===== man ===== Too lazy to download ''man-db''? Yeah just let your web browser do it for you :) #!/bin/sh if [ $# -ge 2 ] then cat=".$1" shift fi if [ $# -ge 1 ] then xdg-open "https://man.archlinux.org/search?q=$@$cat&go=Go" else echo "man what?" fi ===== remotehyprctl ===== Useful when you want to launch stuff on your Hyprland via ssh. #!/bin/sh HYPRLAND_INSTANCE_SIGNATURE=$(hyprctl instances -j | jq -r ".[0].instance") WAYLAND_DISPLAY=$(hyprctl instances -j | jq -r ".[0].wl_socket") hyprctl $@ =====