updated aliases: run commands in the background with hyprland by using _run_ or _hyprexec_
This commit is contained in:
@@ -50,9 +50,17 @@ alias please="sudo"
|
|||||||
alias scr="hyprctl keyword exec scrcpy --video-codec=h265 -m1920 --max-fps=90"
|
alias scr="hyprctl keyword exec scrcpy --video-codec=h265 -m1920 --max-fps=90"
|
||||||
alias mpvo="hyprctl keyword exec mpv "
|
alias mpvo="hyprctl keyword exec mpv "
|
||||||
alias pride="cli-pride-flags "
|
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"
|
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
|
# video showcase
|
||||||
alias 24fps="mpv ~/.local/share/sample-vids/24fps.mkv"
|
alias 24fps="mpv ~/.local/share/sample-vids/24fps.mkv"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user