home · contact · privacy
0429868972823f80ab91cc19a448720a43241d8a
[config] / .bash_aliases
1 # for whatever reason, emulationstation gets some strange screen flicker issues
2 # if the second display is activated, so ensure it is only started with that off
3 alias emulationstation="xrandr --output HDMI-2 --off && emulationstation"
4
5 # since the second HDMI only outputs sound with video, we have to ensure it's
6 # activated with xrandr if we want to use it for surround sound setup
7 alias mpv51="xrandr --output HDMI-2 --auto && AUDIO_HDMI=1 mpv --alsa-ignore-chmap '--audio-channels=5.1(alsa)'"
8 alias chromium-upmix="xrandr --output HDMI-2 --auto && chromium-browser --alsa-output-device=stereo51"
9 alias alsamixer51="AUDIO_HDMI=1 alsamixer"
10