diff --git a/.config/qtile/dhk b/.config/qtile/dhk index 0872d46..b2589ff 100755 --- a/.config/qtile/dhk +++ b/.config/qtile/dhk @@ -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): diff --git a/.local/bin/set_audio_sink b/.local/bin/set_audio_sink index 4f5f322..e16c8c9 100755 --- a/.local/bin/set_audio_sink +++ b/.local/bin/set_audio_sink @@ -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