Skip to content

boehs/Lightly

 
 

Repository files navigation

This is a personal fork of Lightly where I merge pull requests sent to Luwx/Lightly

Lightly is a fork of breeze theme style that aims to be visually modern and minimalistic.

Notes about this fork

  • Do not open pull requests directly here unless they change/require some code that has diverged from upstream
  • If the pull request can sucessfully be merged into Luwx/Lightly, please open it there and I will merge it here. My intention is not for this to be a permanent fork (hopefully Luwx comes back!)
  • Similarly, don't open issues here unless the issue was likely caused by some code here that's not in Luwx/Lightly

These rules are because I don't want to diverge too far from upstream. It should be easy for Luwx to catch up.

Thanks ❤️🐢

Development ⚠️

Lightly is a work in progress theme, there is still a lot to change, so expect bugs! Some applications may suddenly crash or flicker.

Screenshots

default

With transparent dolphin view off and no sidebar transparency: custom

With a full glass color scheme (currently full glass color schemes are very buggy and not fully supported): fullglass

Configuration

config page

Lightly configuration page can be found in the KDE system settings under the Application style section.

Most of these options are inherited from Breeze style, but Lightly has a few exclusive options that are enabled by default, including:

  • Transparent Dolphin view (under the frames tab). This option disables the background and shadows of Dolphin view widget and draws top and bottom separators when the view has scrollable content.

  • Sidebar opacity (under the transparency tab). By default, it's 60. If it's bellow 100, shadows will be drawn automatically.

The toolbar and menubar will follow the titlebar opacity. To configure the titlebar opacity, you will have to change the color scheme file directly in ~/.local/share/color-schemes. Open your desired color scheme and, in the [WM] section, add a fourth value to activeBackground and inactiveBackground, like activeBackground=0,0,0,127 where the last value is the alpha, that ranges from 0 (completely transparent) to 255 (totally opaque).

Manual installation

Dependencies

Taken from https://github.com/n4n0GH/hello

Ubuntu

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

Arch Linux

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

Fedora

sudo dnf install cmake extra-cmake-modules "cmake(Qt5Core)" "cmake(Qt5Gui)" "cmake(Qt5DBus)" "cmake(Qt5X11Extras)" "cmake(KF5GuiAddons)" "cmake(KF5WindowSystem)" "cmake(KF5I18n)" "cmake(KDecoration2)" "cmake(KF5CoreAddons)" "cmake(KF5ConfigWidgets)" "cmake(Qt5UiTools)" "cmake(KF5GlobalAccel)" "cmake(KF5IconThemes)" kwin-devel libepoxy-devel "cmake(KF5Init)" "cmake(KF5Crash)" "cmake(KF5KIO)" "cmake(KF5Notifications)" kf5-kpackage-devel

openSUSE

sudo zypper install cmake 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

Solus

sudo eopkg install extra-cmake-modules kdecoration-devel qt5-declarative-devel qt5-x11extras-devel qt5-base-devel kcoreaddons-devel kguiaddons-devel kconfigwidgets-devel kwindowsystem-devel ki18n-devel kiconthemes-devel kcmutils-devel libxcb-devel xcb-util-devel qt5-wayland-devel kwayland-devel wayland-devel frameworkintegration-devel

Build and install

git clone --single-branch --depth=1 https://github.com/boehs/Lightly.git
cd Lightly && mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DBUILD_TESTING=OFF ..
make
sudo make install

For RedHat-based distros (like Fedora and OpenSUSE), run cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib64 -DBUILD_TESTING=OFF .. instead (#4)

Uninstall

In the build folder:

sudo make uninstall

Acknowledgments

Breeze authors and Kvantum developer Pedram Pourang.

About

A modern style for qt applications.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages

  • C++ 98.4%
  • CMake 1.6%