/classikstyles

ClassikStyles is a highly customizable binary Window Decoration and Application Style plugin for recent versions of the KDE Plasma desktop. It provides the Classik, Kite, Oxygen/Breeze, and Redmond icon styles.

Primary LanguageC++

ClassikStyles

Table of Contents

Overview
Installation

Pre-built packages
Compile from source

System icon theme
Donations

 

ClassikStyles is a highly customizable binary Window Decoration and Application Style plugin for recent versions of the KDE Plasma desktop. Inspired by the classic style of KDE 1, ClassikStyles is an attempt to update that classic style using a fork of KDE Breeze. Install with the instructions below, and then enable in System Settings -> Appearance -> Window Decorations, and also in System Setings -> Appearance -> Application Style.

Screenshot of Button icon style menu

  • Also provides Oxygen/Breeze and Redmond button icon styles;
  • Provides both a Window Decoration and an Application Style so that icons in dockable panels and MDI applications consistently match the titlebar icons (make sure to enable both in your Plasma Appearance settings!):

Watch the demo video on enabling the Application Style

  • Configurable whether to draw bold button icons for HiDPI displays; by default automatically turns off bold icons on LoDPI 96DPI screens to prevent blurring;

  • Full-sized Rectanglar or Circular button highlights (Full-sized Rectangle is now default as has a larger clickable area):

Square button highlight style, inheriting system highlight coloursCircle button highlight style, inheriting system highlight colours

(Above-left configuration: Button highlight style: Full-sized Rectangle, Titlebar side margins: 0, Right-hand button spacing: 10

Above-right configuration: Button highlight style: circle, Titlebar side margins: 3, Right-hand button spacing: 5)

  • Ability to inherit system colour-scheme highlight colours for hover and focus, as well as titlebar colour. Auto-enhances contrast in cases where it is poor;

  • Option to have matching titlebar colour and border colour;

  • Configurable button spacing (left and right), titlebar margins (sides, top/bottom and option for different maximized), all with scaling for HiDPI:

Screenshot of Sizing & Spacing tab

  • Configurable corner radius, also scales with different DPIs:

Increased corner radius

  • Transparency/opacity configurable for both active/inactive windows; setting to make maximized windows opaque; blur is enabled:

Screenshot of Transparency tab

Known issues

  • GTK apps' titlebar buttons will not always update if you change a ClassikStyles setting. Workaround: you need to select another window decoration and then select ClassikStyles again to generate the GTK titlebar buttons; alternatively you can change your colour scheme and the GTK titlebar buttons will generate.

 

ClassikStyles from version 2.6 onwards requires a recent version of KDE Plasma with at least KDE Frameworks 5.82, so please check you have this in kinfocenter before trying to install. You can either download the pre-built packages or compile from source.

Pre-built packages

Respositories are available from the Open Build Service for OpenSUSE, Debian/KDE Neon, Fedora, Mageia and Arch/Manjaro to keep you on the latest version.

NB: for OpenSUSE Leap you will first need to install newer KDE packages, otherwise you could corrupt your system!

 

Raw binary packages are also available from the Open Build Service link above if you choose "Grab binary packages directly" -- a .rpm or .deb file from one of the selected distributions should also work on other distributions.

   

Compile from source

Step 1: First, Install Dependencies

OpenSUSE Tumbleweed/Leap build dependencies

(Leap requires newer KDE packages from https://en.opensuse.org/SDB:KDE_repositories first):

sudo zypper in cmake extra-cmake-modules libQt5Core-devel libQt5Gui-devel libQt5DBus-devel libqt5-qtx11extras-devel libkdecoration2-devel kcoreaddons-devel kguiaddons-devel kconfigwidgets-devel kwindowsystem-devel ki18n-devel kiconthemes-devel kpackage-devel libQt5QuickControls2-devel frameworkintegration-devel kcmutils-devel

Debian/Ubuntu/KDE Neon build dependencies

sudo apt install build-essential libkf5config-dev libkdecorations2-dev libqt5x11extras5-dev qtdeclarative5-dev extra-cmake-modules libkf5guiaddons-dev libkf5configwidgets-dev libkf5windowsystem-dev libkf5coreaddons-dev gettext cmake libkf5iconthemes-dev libkf5package-dev libkf5style-dev libkf5kcmutils-dev

Arch/Manjaro build dependencies

sudo pacman -S kdecoration qt5-declarative qt5-x11extras cmake make gcc extra-cmake-modules

Fedora build dependencies

sudo dnf install cmake extra-cmake-modules
sudo dnf install "cmake(Qt5Core)" "cmake(Qt5Gui)" "cmake(Qt5DBus)" "cmake(Qt5X11Extras)" "cmake(KF5GuiAddons)" "cmake(KF5WindowSystem)" "cmake(KF5I18n)" "cmake(KDecoration2)" "cmake(KF5CoreAddons)" "cmake(KF5ConfigWidgets)" "cmake(KF5IconThemes)" "cmake(KF5Package)" "cmake(Qt5Quick)" "cmake(KF5FrameworkIntegration)" "cmake(KF5KCMUtils)"

Step 2: Then, build and install

Build and install from source script:

chmod +x install.sh
./install.sh

Uninstall build script:

chmod +x uninstall.sh
./uninstall.sh

 

System icon theme

To make your Plasma Desktop fully consistent, there are also matching system icon themes. These add consistent titlebar button icons to certain minor context menus in Plasma, for example, Classik-with-Square-highlight:

Screenshot of Classik with Square highlight icon theme

To obtain these icon themes go to System Settings->Appearance->Icons->Get New Icons... and search for "classikstyles". Then download your theme of choice to match your Button icon style and Button highlight style:

Screenshot of downloading matching ClassikStyles system icons

These icons inherit the Breeze icon theme, only overriding the titlebar button icons. To inherit a different icon theme, go to ~/.local/share/icons/ and edit the Inherits line in your index.theme file.

Donate using Liberapay or Donate using Paypal