From f0f201a6ca867cf7dac62091b9ed8ce5ed121151 Mon Sep 17 00:00:00 2001 From: aria Date: Mon, 26 May 2025 00:07:48 +1000 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feature:=20Add=20new=20fish=20funct?= =?UTF-8?q?ions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fish/functions/hdr-steam.fish | 4 ++++ fish/functions/hmpv.fish | 4 ++++ fish/functions/mpv-discord.fish | 4 ++++ fish/functions/steam-hdr.fish | 4 ++++ fish/functions/xiv-hdr.fish | 4 ++++ 5 files changed, 20 insertions(+) create mode 100644 fish/functions/hdr-steam.fish create mode 100644 fish/functions/hmpv.fish create mode 100644 fish/functions/mpv-discord.fish create mode 100644 fish/functions/steam-hdr.fish create mode 100644 fish/functions/xiv-hdr.fish diff --git a/fish/functions/hdr-steam.fish b/fish/functions/hdr-steam.fish new file mode 100644 index 0000000..6b3c474 --- /dev/null +++ b/fish/functions/hdr-steam.fish @@ -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 diff --git a/fish/functions/hmpv.fish b/fish/functions/hmpv.fish new file mode 100644 index 0000000..57c7e4f --- /dev/null +++ b/fish/functions/hmpv.fish @@ -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 diff --git a/fish/functions/mpv-discord.fish b/fish/functions/mpv-discord.fish new file mode 100644 index 0000000..58afc4a --- /dev/null +++ b/fish/functions/mpv-discord.fish @@ -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 diff --git a/fish/functions/steam-hdr.fish b/fish/functions/steam-hdr.fish new file mode 100644 index 0000000..73fc4e6 --- /dev/null +++ b/fish/functions/steam-hdr.fish @@ -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 diff --git a/fish/functions/xiv-hdr.fish b/fish/functions/xiv-hdr.fish new file mode 100644 index 0000000..b11e4b9 --- /dev/null +++ b/fish/functions/xiv-hdr.fish @@ -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