From f29f55a48491c31675794be5c29b7c8128a42be8 Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Sat, 2 May 2020 23:05:20 -0400 Subject: switches to hdmi audio on screen init --- home/.config/i3/config | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'home/.config/i3/config') diff --git a/home/.config/i3/config b/home/.config/i3/config index 050b631..ea804d4 100644 --- a/home/.config/i3/config +++ b/home/.config/i3/config @@ -17,9 +17,11 @@ bindsym $mod+b exec firefox # Xrandr commands set $scr XF86Display -bindsym $scr exec xrandr --output HDMI-2 --mode 1920x1080 +bindsym $scr exec xrandr --output HDMI-2 --mode 1920x1080 && pactl\ +set-card-profile 0 output:"hdmi-stereo-extra1"+input:analog-stereo bindsym Shift+$scr exec xrandr --output HDMI-2 --off -bindsym $mod+$scr exec xrandr --output HDMI-2 --auto --right-of eDP-1 +bindsym $mod+$scr exec xrandr --output HDMI-2 --auto --right-of eDP-1 &&\ +pactl set-card-profile 0 output:"hdmi-stereo-extra1"+input:analog-stereo # Hibernation bindsym $mod+x exec systemctl suspend -- cgit