From 02f561b3acdde47e1286ffc4763059ad3bef25e7 Mon Sep 17 00:00:00 2001 From: Mollusk Date: Thu, 2 Apr 2026 06:28:46 -0400 Subject: [PATCH] Set dice app icon from Papirus theme Replaces the generic Qt placeholder W icon in the titlebar with the Papirus gDiceRoller icon. --- steam_dice.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/steam_dice.py b/steam_dice.py index 0ce4663..61475a7 100644 --- a/steam_dice.py +++ b/steam_dice.py @@ -10,7 +10,7 @@ if os.environ.get("WAYLAND_DISPLAY"): os.environ.setdefault("QT_QPA_PLATFORM", "wayland") from PyQt6.QtWidgets import QApplication, QMainWindow, QWidget, QVBoxLayout, QHBoxLayout, QPushButton, QLabel from PyQt6.QtCore import Qt, QThread, pyqtSignal -from PyQt6.QtGui import QPixmap, QFont +from PyQt6.QtGui import QPixmap, QFont, QIcon VERSION = "v0.1.0" @@ -224,6 +224,7 @@ class SteamDice(QMainWindow): if __name__ == "__main__": app = QApplication(sys.argv) + app.setWindowIcon(QIcon.fromTheme("codes.nora.gDiceRoller")) win = SteamDice() win.show() sys.exit(app.exec())