Update set_audio_sink and dhk
This commit is contained in:
parent
a8b85f5bb9
commit
cba8a15157
|
@ -62,7 +62,6 @@ class TabbedWindow(QMainWindow):
|
|||
lines = file.readlines()
|
||||
length = len(lines)
|
||||
|
||||
# Add the numbers 1-100 to the layout
|
||||
column = 0
|
||||
row = 0
|
||||
switch = False
|
||||
|
@ -100,7 +99,7 @@ class TabbedWindow(QMainWindow):
|
|||
column -= 1
|
||||
continue
|
||||
else:
|
||||
label = QLabel(lines[i].strip())
|
||||
label = QLabel(lines[i].strip().lstrip("+").strip())
|
||||
layout1.addWidget(label, row, column)
|
||||
row += 1
|
||||
|
||||
|
@ -122,7 +121,6 @@ class TabbedWindow(QMainWindow):
|
|||
lines = file.readlines()
|
||||
length = len(lines)
|
||||
|
||||
# Add the numbers 101-200 to the layout
|
||||
column = 0
|
||||
row = 0
|
||||
for i in range(length):
|
||||
|
|
|
@ -10,7 +10,7 @@ if [ "$DISPLAY" = ":0" ]; then
|
|||
# if ! pactl set-default-sink alsa_output.0.hdmi-stereo; then
|
||||
# pactl set-default-sink alsa_output.1.hdmi-stereo
|
||||
# fi
|
||||
pactl set-default-sink alsa_output.2.analog-stereo
|
||||
pactl set-default-sink alsa_output.1.analog-stereo
|
||||
echo "$DISPLAY set audio"
|
||||
elif [ "$DISPLAY" = ":10.0" ]; then
|
||||
pactl set-default-sink xrdp-sink
|
||||
|
|
Loading…
Reference in New Issue