headphone/earphone switch script

 bindsym $mod1+slash exec  pactl set-sink-port alsa_output.pci-0000_00_1f.3.pro-output-0  analog-output-headphones


bindsym $mod1+shift+slash exec  pactl set-sink-port alsa_output.pci-0000_00_1f.3.pro-output-0  analog-output-speaker


 pactl list sinks short

48      alsa_output.pci-0000_00_1f.3.pro-output-0       PipeWire        s32le 2ch 48000Hz       RUNNING
69      alsa_output.pci-0000_00_1f.3.pro-output-3       PipeWire        s32le 8ch 48000Hz       SUSPENDED
46      alsa_output.pci-0000_00_1f.3.pro-output-7       PipeWire        s32le 8ch 48000Hz       SUSPENDED
68      alsa_output.pci-0000_00_1f.3.pro-output-8       PipeWire        s32le 8ch 48000Hz       SUSPENDED
59      alsa_output.pci-0000_00_1f.3.pro-output-9       PipeWire        s32le 8ch 48000Hz       SUSPENDED
43      alsa_output.pci-0000_00_1f.3.pro-output-10      PipeWire        s32le 8ch 48000Hz       SUSPENDED
67      alsa_output.pci-0000_00_1f.3.pro-output-11      PipeWire        s32le 8ch 48000Hz       SUSPENDED
77      alsa_output.pci-0000_00_1f.3.pro-output-12      PipeWire        s32le 8ch 48000Hz       SUSPENDED

Comments

Popular posts from this blog

sxhkd volume andbrightness config for dwm on void

fix idm integration on chrome

Hidden Wiki