Skip to content

Commit

Permalink
Allow theming thru Qt stylesheets
Browse files Browse the repository at this point in the history
  • Loading branch information
Samueru-sama authored Nov 28, 2024
1 parent 93a6ffd commit 02802b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pavucontrol-qt-appimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ ln -s ./multimedia-volume-control.svg ./.DirIcon
cat >> ./AppRun << 'EOF'
#!/bin/sh
CURRENTDIR="$(dirname "$(readlink -f "$0")")"
[ -f "$APPIMAGE".stylesheet ] && APPIMAGE_QT_THEME="$APPIMAGE.stylesheet"
[ -f "$APPIMAGE_QT_THEME" ] && set -- "$@" "-stylesheet" "$APPIMAGE_QT_THEME"
"$CURRENTDIR/bin/pavucontrol-qt" "$@"
EOF
chmod +x ./AppRun
Expand Down

0 comments on commit 02802b0

Please sign in to comment.