feature: Add new fish functions

This commit is contained in:
aria 2025-05-26 00:07:48 +10:00
parent 438c1d8b88
commit f0f201a6ca
Signed by: aria
SSH key fingerprint: SHA256:WqtcVnDMrv1lnUlNah5k31iywFUI/DV+5yHzCTO4Vds
5 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,4 @@
function hdr-steam --wraps='gamescope-session-plus steam' --description 'alias hdr-steam=gamescope-session-plus steam'
gamescope-session-plus steam $argv
end

4
fish/functions/hmpv.fish Normal file
View file

@ -0,0 +1,4 @@
function hmpv --wraps='ENABLE_HDR_WSI=1 mpv' --description 'alias hmpv=ENABLE_HDR_WSI=1 mpv'
ENABLE_HDR_WSI=1 mpv $argv
end

View file

@ -0,0 +1,4 @@
function mpv-discord --wraps="mpv --audio-device='pulse/alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo-output'" --description "alias mpv-discord=mpv --audio-device='pulse/alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo-output'"
mpv --audio-device='pulse/alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo-output' $argv
end

View file

@ -0,0 +1,4 @@
function steam-hdr --wraps='MANGOHUD=0 gamemoderun gamescope --mangoapp --hdr-enabled -w 2560 -h 1440 -r 360 -f -- env DXVK_HDR=1 steam' --description 'alias steam-hdr=MANGOHUD=0 gamemoderun gamescope --mangoapp --hdr-enabled -w 2560 -h 1440 -r 360 -f -- env DXVK_HDR=1 steam'
MANGOHUD=0 gamemoderun gamescope --mangoapp --hdr-enabled -w 2560 -h 1440 -r 360 -f -- env DXVK_HDR=1 steam $argv
end

View file

@ -0,0 +1,4 @@
function xiv-hdr --wraps='MANGOHUD=0 DXVK_HDR=1 ENABLE_GAMESCOPE_WSI=1 gamescope -f -r 360 -w 2560 -h 1440 --hdr-enabled --hdr-debug-force-output --backend wayland --force-grab-cursor --mangoapp -- xivlauncher-core' --description 'alias xiv-hdr=MANGOHUD=0 DXVK_HDR=1 ENABLE_GAMESCOPE_WSI=1 gamescope -f -r 360 -w 2560 -h 1440 --hdr-enabled --hdr-debug-force-output --backend wayland --force-grab-cursor --mangoapp -- xivlauncher-core'
MANGOHUD=0 DXVK_HDR=1 ENABLE_GAMESCOPE_WSI=1 gamescope -f -r 360 -w 2560 -h 1440 --hdr-enabled --hdr-debug-force-output --backend wayland --force-grab-cursor --mangoapp -- xivlauncher-core $argv
end