Skip to content

Bali10050/Darkly

 
 

Repository files navigation

About this fork

This fork attempts to revive lightly with a different approach from boehs, with the assumption that Luwx won't ever resume his project.

This means that this fork allows real changes, and not just maintainence.

Lightly

The to-do list

  • Make a new readme
  • Make install work on plasma 6
  • Find some more people that can help with this project
  • Build some community
  • Make some meaningful commits
  • Expand to-do list

My plans for changes at the moment -- They are in progress, I'm just really slow

  • Redesign the tabbar
    • Fix the issues I caused with it
    • Align it a little better, now it's slightly too left, it needs slightly larger margins for both sides the right side
    • You can now set the old tabbar back if you dont like the new one in the settings
  • Make the buttons sligthly larger
    • The standard push button is now slightly larger
    • Spinboxes and comboboxes
    • Now the size of the buttons is adjustable by the user in the settings
  • Change the defaults to fit the normal use-cases better
  • Add my own colorscheme to it
  • Make installation in all major distros easy
    • Can be built on most distros that support plasma 6
  • Rename the project to something like „Darkly” to reflect the changes, and for it to be installable alongside the other lightly
  • Maintain the project

Installation

Automatic

Thanks to @DeltaCopy, you can use one of these install methods:

Fedora copr

https://copr.fedorainfracloud.org/coprs/deltacopy/lightly-qt6/

AUR

https://aur.archlinux.org/packages/lightly-qt6

https://aur.archlinux.org/packages/lightly-qt6-bin

Pre-built packages

https://github.com/Bali10050/Lightly/releases

Manual

To ensure this application style works on applications still using QT5 both QT5 and QT6 dependencies are required to be installed before building from source.

Installation script

Note

A script called install.sh is now available which both builds and installs this application style.

./install.sh will remove if existing, build and install Lightly using both QT5/QT6 dependencies.

./install.sh QT5 will build & install using only QT5/KF5 dependencies.

./install.sh QT6 will build & install using only QT6/KF6 dependencies.

./install.sh remove will remove Lightly.

Void Linux

sudo xbps-install -Sy git extra-cmake-modules base-devel qt6-base qt6-base-devel qt6-tools-devel \
      kf6-kcmutils-devel kf6-kconfigwidgets-devel kf6-kdecoration-devel \
      kf6-kirigami-devel kf6-kcoreaddons-devel kf6-kcolorscheme-devel \
      kf6-kconfig-devel kf6-kguiaddons-devel kf6-ki18n-devel kf6-kiconthemes-devel \
      kf6-kwindowsystem-devel kf6-frameworkintegration-devel kf6-karchive-devel \
      kf6-kcodecs-devel kf6-kwidgetsaddons-devel qt6-declarative-devel \
      qt6-svg-devel qt6-wayland-devel kf6-kwidgetsaddons-devel kf6-knotifications-devel
git clone --single-branch --depth=1 https://github.com/Bali10050/Lightly.git
cd Lightly
./install.sh QT6

Arch Linux

sudo pacman -S --noconfirm cmake extra-cmake-modules kdecoration qt6-declarative kcoreaddons \
      kcmutils kcolorscheme kconfig kguiaddons kiconthemes kwindowsystem git \
      qt5-declarative qt5-x11extras gcc make kcmutils5 \
      frameworkintegration5 kconfigwidgets5 kiconthemes5 \
      kirigami2 kwindowsystem5
git clone --single-branch --depth=1 https://github.com/Bali10050/Lightly.git
cd Lightly
./install.sh

Fedora

Fedora 40/41
sudo dnf install -y git cmake extra-cmake-modules "cmake(KDecoration2)" kwin-devel \
      kf6-kcolorscheme-devel kf6-kguiaddons-devel kf6-ki18n-devel kf6-kiconthemes-devel \
      kf6-kirigami-devel kf6-kcmutils-devel kf6-frameworkintegration-devel \
      libepoxy-devel "cmake(Qt5Core)" "cmake(Qt5Gui)" "cmake(Qt5DBus)" "cmake(KF5GuiAddons)" \
      "cmake(KF5WindowSystem)" "cmake(KF5I18n)" "cmake(KF5CoreAddons)" "cmake(KF5ConfigWidgets)" \
      "cmake(Qt5UiTools)" "cmake(KF5GlobalAccel)" "cmake(KF5IconThemes)" "cmake(KF5Init)" \
      "cmake(KF5KIO)" kf5-kpackage-devel kf5-kcmutils-devel qt5-qtquickcontrols2-devel \
      kf5-kirigami2-devel "cmake(KF5FrameworkIntegration)"
git clone --single-branch --depth=1 https://github.com/Bali10050/Lightly.git
cd Lightly
./install.sh

openSUSE Tumbleweed

sudo zypper in --no-recommends git ninja cmake kf6-extra-cmake-modules kf6-kconfig-devel \
      kf6-frameworkintegration-devel gmp-ecm-devel kf6-kconfigwidgets-devel \
      kf6-kguiaddons-devel kf6-ki18n-devel kf6-kiconthemes-devel kf6-kwindowsystem-devel \
      kf6-kcolorscheme-devel kf6-kcoreaddons-devel kf6-kcmutils-devel \
      qt6-quick-devel kf6-kirigami-devel qt6-base-devel kdecoration6-devel \
      qt6-tools qt6-widgets-devel gcc-c++ extra-cmake-modules libQt5Gui-devel \
      libQt5DBus-devel libqt5-qttools-devel libqt5-qtx11extras-devel \
      libQt5OpenGL-devel libQt5Network-devel libepoxy-devel kconfig-devel \
      kconfigwidgets-devel kcrash-devel kglobalaccel-devel ki18n-devel kio-devel \
      kservice-devel kinit-devel knotifications-devel kwindowsystem-devel kguiaddons-devel \
      kiconthemes-devel kpackage-devel kwin5-devel xcb-util-devel xcb-util-cursor-devel \
      xcb-util-wm-devel xcb-util-keysyms-devel kcmutils-devel \
      libqt5-qtquick3d-devel kirigami2-devel libKF5I18n5
git clone --single-branch --depth=1 https://github.com/Bali10050/Lightly.git
cd Lightly
./install.sh

KDE neon

sudo apt install -y git build-essential cmake kf6-extra-cmake-modules \
      kf6-extra-cmake-modules kf6-frameworkintegration-dev \
      kf6-kcmutils-dev kf6-kcolorscheme-dev kf6-kconfig-dev kf6-kconfigwidgets-dev \
      kf6-kcoreaddons-dev kf6-kguiaddons-dev kf6-ki18n-dev kf6-kiconthemes-dev \
      kf6-kirigami2-dev kf6-kpackage-dev kf6-kservice-dev kf6-kwindowsystem-dev \
      kirigami2-dev kwayland-dev libx11-dev libkdecorations2-dev libkf5config-dev \
      libkf5configwidgets-dev libkf5coreaddons-dev libkf5guiaddons-dev libkf5i18n-dev \
      libkf5iconthemes-dev libkf5kcmutils-dev libkf5package-dev libkf5service-dev \
      libkf5style-dev libkf5wayland-dev libkf5windowsystem-dev libplasma-dev \
      libqt5x11extras5-dev qt6-base-dev qt6-declarative-dev qtbase5-dev \
      qtdeclarative5-dev gettext qt6-svg-dev extra-cmake-modules qt3d5-dev
git clone --single-branch --depth=1 https://github.com/Bali10050/Lightly.git
cd Lightly
./install.sh

Distrobox (Fedora 41)

distrobox create --name lightly --image registry.fedoraproject.org/fedora-toolbox:41
distrobox enter lightly
sudo dnf install -y git cmake extra-cmake-modules "cmake(KDecoration2)" kwin-devel \
    kf6-kcolorscheme-devel kf6-kguiaddons-devel kf6-ki18n-devel kf6-kiconthemes-devel \
    kf6-kirigami-devel kf6-kcmutils-devel \
    libepoxy-devel "cmake(Qt5Core)" "cmake(Qt5Gui)" "cmake(Qt5DBus)" "cmake(KF5GuiAddons)" \
    "cmake(KF5WindowSystem)" "cmake(KF5I18n)" "cmake(KF5CoreAddons)" "cmake(KF5ConfigWidgets)" \
    "cmake(Qt5UiTools)" "cmake(KF5GlobalAccel)" "cmake(KF5IconThemes)" "cmake(KF5Init)" \
    "cmake(KF5KIO)" kf5-kpackage-devel kf5-kcmutils-devel qt5-qtquickcontrols2-devel \
    kf5-kirigami2-devel "cmake(KF5FrameworkIntegration)"

git clone --single-branch --depth=1 https://github.com/Bali10050/Lightly.git
cd Lightly
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$HOME/.local \
      -DCMAKE_BUILD_TYPE=Release \
      -DCMAKE_INSTALL_LIBDIR=lib64 \
      -DBUILD_TESTING=OFF ..

cd ./kdecoration/config/
make -j $(nproc)
cd ../../
make -j $(nproc)
make install
Set environment variable on plasma startup:

echo "export QT_PLUGIN_PATH=$HOME/.local/lib64/plugins:\$QT_PLUGIN_PATH" > $HOME/.config/plasma-workspace/env/localthemes.sh && chmod +x $HOME/.config/plasma-workspace/env/localthemes.sh

Kubuntu (24.10)

sudo apt-get install -y -qq cmake build-essential libkf5config-dev libkdecorations2-dev \
      libqt5x11extras5-dev qtdeclarative5-dev extra-cmake-modules \
      libkf5guiaddons-dev libkf5configwidgets-dev libkf5windowsystem-dev kirigami2-dev \
      libkf5coreaddons-dev libkf5iconthemes-dev gettext qt3d5-dev libkf5kcmutils-dev \
      qt6-base-dev libkf6coreaddons-dev libkf6colorscheme-dev \
      libkf6config-dev libkf6guiaddons-dev libkf6i18n-dev libkf6iconthemes-dev \
      libkf6windowsystem-dev libkf6kcmutils-dev libkirigami-dev
git clone --single-branch --depth=1 https://github.com/Bali10050/Lightly.git
cd Lightly
./install.sh

Nixos

  1. add inputs.lightly.url = "github:Bali10050/Lightly"; to flake.nix
  2. nixos or home-manager
  • for home-manager
qt = {
  style.package = [
    inputs.lightly.packages.${pkgs.system}.lightly-qt5
    inputs.lightly.packages.${pkgs.system}.lightly-qt6
  ];
  platformTheme.name = "qtct";
};
  • for nixos
qt.platformTheme = "qt5ct";
environment.systemPackages = with pkgs; [
  inputs.lightly.packages.${pkgs.system}.lightly-qt5
  inputs.lightly.packages.${pkgs.system}.lightly-qt6
]
  1. select lightly in qt5ct / qt6ct

Known issues & solutions

Blurred icon rendering on Wayland with fractional scaling

As referenced in #14

On Wayland when scaling is set to >100% some icons appear blurred.

The fix for now until QT is updated is to add QT_SCALE_FACTOR_ROUNDING_POLICY=RoundPreferFloor into the file /etc/environment

Restart to apply the changes.

For further details see: https://bugs.kde.org/show_bug.cgi?id=479891

About

A modern style for qt applications.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 97.2%
  • CMake 2.0%
  • Other 0.8%