feat: auto-play its-raining-tacos.opus on welcome screen open

SiIvaGunner rip: OMORIBOY instrumental x Raining Tacos vocals.
Plays at 55% volume via mpv --really-quiet.
File sourced from antergos-next-memes package.
This commit is contained in:
2026-06-20 20:37:01 +02:00
parent dddbceb152
commit bdb47aaa61
+11
View File
@@ -240,6 +240,17 @@ class Hello(Gtk.Window):
self.builder.get_object("deWelcome").set_label("GNOME Tour") self.builder.get_object("deWelcome").set_label("GNOME Tour")
self.window.show() self.window.show()
self.play_welcome_song()
def play_welcome_song(self):
song = "/usr/share/cnchi-memes/its-raining-tacos.opus"
if os.path.isfile(song):
try:
subprocess.Popen(["mpv", "--really-quiet", "--volume=55", song],
stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL)
except FileNotFoundError:
pass
def get_best_locale(self): def get_best_locale(self):
"""Choose locale, based on user's preferences. """Choose locale, based on user's preferences.