aboutsummaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-05-02 23:05:20 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-05-02 23:05:20 -0400
commitf29f55a48491c31675794be5c29b7c8128a42be8 (patch)
treec2cf7716f40b7b7e514489b4af110d5b4569b72a /home
parent88652f8dd39ba5e69f2f3114d1908b7db14c78bf (diff)
switches to hdmi audio on screen init
Diffstat (limited to 'home')
-rw-r--r--home/.config/i3/config6
1 files changed, 4 insertions, 2 deletions
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