[Linux] Always switch to hdmi audio source when at home_tv
This commit is contained in:
parent
86eac4df01
commit
01f1011215
6
dotfiles/config/autorandr/home_tv/postswitch
Executable file
6
dotfiles/config/autorandr/home_tv/postswitch
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/usr/bin/env zsh
|
||||||
|
# -*- mode:sh
|
||||||
|
|
||||||
|
hdmi_sink="$(pahelper.sh | tr -d '\\n' | tr '>' '\\n' | grep hdmi | grep -Eo ': [0-9]+' | tr -d ':')"
|
||||||
|
|
||||||
|
pahelper.sh "$hdmi_sink"
|
@ -1,3 +1,4 @@
|
|||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
|
# -*- mode:sh
|
||||||
|
|
||||||
wallpaper
|
wallpaper
|
||||||
|
Loading…
Reference in New Issue
Block a user