Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save adil192/61cd9c58a8bd0955cff9f1f7c52cb572 to your computer and use it in GitHub Desktop.

Select an option

Save adil192/61cd9c58a8bd0955cff9f1f7c52cb572 to your computer and use it in GitHub Desktop.
Setup Fedora COSMIC to use Plasma Breeze theme for QT apps

These are very rough instructions so I don't forget what worked...

  1. Install the breeze theme and config programs:
    sudo dnf install plasma-breeze qt5ct qt6ct
  2. Add export QT_QPA_PLATFORMTHEME=qt6ct into your ~/.bashrc file
  3. Copy BreezeDark into a kdeglobals file. Otherwise some programs (like Prism Launcher) default to BreezeLight.
    cp /usr/share/color-schemes/BreezeDark.colors ~/.config/kdeglobals
  4. Open qt5ct and set:
    • Style: Breeze
    • Color scheme: Style's colors      (inherits colors from kdeglobals)
    • Standard dialogs: XDG Desktop Portal      (to use COSMIC's file picker)
    • Fonts: Adwaita Sans 10 and Adwaita Mono 10      (the fonts from GNOME, subjective)
    • fonts.conf: Antialiasing, Hinting, Hinting style slight      (this looks best for me)
    • Icon Theme: Breeze Dark
  5. Open qt6ct and do the same as above.
  6. For Flatpak apps like Prism Launcher, run this:
    flatpak override --user \
         --filesystem=xdg-config/qt5ct:ro \
         --filesystem=xdg-config/qt6ct:ro \
         --filesystem=xdg-config/kdeglobals:ro \
         --env=QT_QPA_PLATFORMTHEME=qt6ct
    Then in Prism Launcher, go to Settings > Appearance > Theme: Breeze
  7. Reboot or logout+login for changes to take effect.

You can edit the color schemes in kdeglobals. I made mine green to match my COSMIC theme, attached below.

image
[ColorEffects:Disabled]
Color=55,57,55
ColorAmount=0
ColorEffect=0
ContrastAmount=0.65
ContrastEffect=1
IntensityAmount=0.1
IntensityEffect=2
[ColorEffects:Inactive]
ChangeSelectionColor=true
Color=112,111,110
ColorAmount=0.025
ColorEffect=2
ContrastAmount=0.1
ContrastEffect=2
Enable=false
IntensityAmount=0
IntensityEffect=0
[Colors:Button]
BackgroundAlternate=30,116,87
BackgroundNormal=44,52,45
DecorationFocus=25,70,25
DecorationHover=25,70,25
ForegroundActive=25,70,25
ForegroundInactive=161,177,169
ForegroundLink=29,243,153
ForegroundNegative=218,68,83
ForegroundNeutral=246,116,0
ForegroundNormal=252,252,252
ForegroundPositive=39,174,96
ForegroundVisited=155,89,182
[Colors:Complementary]
BackgroundAlternate=30,116,87
BackgroundNormal=32,38,34
DecorationFocus=25,70,25
DecorationHover=25,70,25
ForegroundActive=25,70,25
ForegroundInactive=161,177,169
ForegroundLink=29,243,153
ForegroundNegative=218,68,83
ForegroundNeutral=246,116,0
ForegroundNormal=252,252,252
ForegroundPositive=39,174,96
ForegroundVisited=155,89,182
[Colors:Header]
BackgroundAlternate=32,38,34
BackgroundNormal=6,17,7
DecorationFocus=25,70,25
DecorationHover=25,70,25
ForegroundActive=25,70,25
ForegroundInactive=161,177,169
ForegroundLink=29,243,153
ForegroundNegative=218,68,83
ForegroundNeutral=246,116,0
ForegroundNormal=252,252,252
ForegroundPositive=39,174,96
ForegroundVisited=155,89,182
[Colors:Header][Inactive]
BackgroundAlternate=6,17,7
BackgroundNormal=6,17,7
DecorationFocus=25,70,25
DecorationHover=25,70,25
ForegroundActive=25,70,25
ForegroundInactive=161,177,169
ForegroundLink=29,243,153
ForegroundNegative=218,68,83
ForegroundNeutral=246,116,0
ForegroundNormal=252,252,252
ForegroundPositive=39,174,96
ForegroundVisited=155,89,182
[Colors:Selection]
BackgroundAlternate=30,87,116
BackgroundNormal=25,70,25
DecorationFocus=25,70,25
DecorationHover=25,70,25
ForegroundActive=252,252,252
ForegroundInactive=161,177,169
ForegroundLink=253,188,75
ForegroundNegative=176,55,69
ForegroundNeutral=198,92,0
ForegroundNormal=251,253,251
ForegroundPositive=23,104,57
ForegroundVisited=155,89,182
[Colors:Tooltip]
BackgroundAlternate=32,38,34
BackgroundNormal=6,17,7
DecorationFocus=25,70,25
DecorationHover=25,70,25
ForegroundActive=25,70,25
ForegroundInactive=161,177,169
ForegroundLink=29,243,153
ForegroundNegative=218,68,83
ForegroundNeutral=246,116,0
ForegroundNormal=252,252,252
ForegroundPositive=39,174,96
ForegroundVisited=155,89,182
[Colors:View]
BackgroundAlternate=29,34,31
BackgroundNormal=20,24,21
DecorationFocus=25,70,25
DecorationHover=25,70,25
ForegroundActive=25,70,25
ForegroundInactive=161,177,169
ForegroundLink=29,243,153
ForegroundNegative=218,68,83
ForegroundNeutral=246,116,0
ForegroundNormal=252,252,252
ForegroundPositive=39,174,96
ForegroundVisited=155,89,182
[Colors:Window]
BackgroundAlternate=41,48,42
BackgroundNormal=6,17,7
DecorationFocus=25,70,25
DecorationHover=25,70,25
ForegroundActive=25,70,25
ForegroundInactive=161,177,169
ForegroundLink=29,243,153
ForegroundNegative=218,68,83
ForegroundNeutral=246,116,0
ForegroundNormal=252,252,252
ForegroundPositive=39,174,96
ForegroundVisited=155,89,182
[General]
ColorScheme=BreezeDark
Name=Breeze Dark
shadeSortColumn=true
[KDE]
contrast=4
[WM]
activeBackground=6,17,7
activeBlend=251,253,251
activeForeground=252,252,252
inactiveBackground=32,36,40
inactiveBlend=161,177,169
inactiveForeground=161,177,169
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment