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.
- Make a new readme
- Make install work on plasma 6
- Find
somemore people that can help with this project - Build some community
- Make some meaningful commits
- Expand to-do list
- 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 forboth sidesthe 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
https://copr.fedorainfracloud.org/coprs/deltacopy/lightly-qt6/
https://aur.archlinux.org/packages/lightly-qt6
https://aur.archlinux.org/packages/lightly-qt6-bin
https://github.com/Bali10050/Lightly/releases
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.
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.
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
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
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
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
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 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
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
- add
inputs.lightly.url = "github:Bali10050/Lightly";
toflake.nix
- 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
]
- select lightly in qt5ct / qt6ct
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