updated aliases: run commands in the background with hyprland by using _run_ or _hyprexec_

This commit is contained in:
2026-06-14 01:05:07 +02:00
parent 389a6addd3
commit 803c4d8ef8
+9 -1
View File
@@ -50,9 +50,17 @@ alias please="sudo"
alias scr="hyprctl keyword exec scrcpy --video-codec=h265 -m1920 --max-fps=90"
alias mpvo="hyprctl keyword exec mpv "
alias pride="cli-pride-flags "
alias hdr-mpv="ENABLE_HDR_WSI=1 mpv --vo=gpu-next --target-colorspace-hint --gpu-api=vulkan --gpu-context=waylandvk"
# run commands in the background using hyprland
function run_cmd () {
cmd_string="hyprctl 'dispatch hl.dsp.exec_cmd(\"$@\")'"
echo $cmd_string
eval $cmd_string
}
alias run="run_cmd"
alias hyprexec="run_cmd"
# video showcase
alias 24fps="mpv ~/.local/share/sample-vids/24fps.mkv"