forked from colonelpanic/dotfiles
[Linux] Always switch to hdmi audio source when at home_tv
This commit is contained in:
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
|
||||
# -*- mode:sh
|
||||
|
||||
wallpaper
|
||||
|
Reference in New Issue
Block a user