Skip to content

baduhai/Koi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Koi

Koi

Theme scheduling for the KDE Plasma Desktop

Koi is a program designed to provide the KDE Plasma Desktop functionality to automatically switch between light and dark themes. Koi is under active development, and while it is stable enough to use daily, expect bugs. Koi is designed to be used with Plasma, and while some features may function under different desktop environments, they are unlikely to work and untested.

Disclaimer: Koi was written as a project to practice Qt by a novice programmer, expect code to be written sloppily.

Features

  • Toggle between light and dark presets based on time.
  • Change Plasma style.
  • Change Qt colour scheme.
  • Change Icon theme.
  • Change GTK theme.
  • Change wallpaper.
  • Hide application to system tray.

Screenshots

Screenshot

Using Koi

Koi is designed to be very simple to use. When you first open Koi, settings for the light and dark presets will be empty, all you need to do is select which themes you'd like for Koi to manage and select your desired themes by clicking the Preferences button.

If you would like that Koi switch between your light and dark settings automatically, you can select this option in the main page of the program, and choose between following a user set schedule, or at sunrise and sunset (planned feature). To switch between light and dark manually right click the tray icon and select the desired preset, or do so from Koi's main window.

In order to have Koi start at login, you can do so with the Plasma System Settings. Simply navigate to Startup and Shutdown > Autostart, and select Add Program.... If you are to do this, I recommend that you also check the option to start Koi hidden, so not to be annoyed by Koi popping up every time you start your system.

Get Koi

Lastest version: 0.2.3

Build from source

GENERIC Dependencies

  • Qt [Development files]

  • KDE Plasma Desktop Environment

  • KDE Frameworks [Development files]

  • cmake [Build dependencies]

Build Instructions

  1. git clone https://github.com/baduhai/Koi.git

  2. cd Koi

  3. mkdir build

  4. cd build

  5. cmake ../src/

  6. sudo make

  7. sudo make install

These instructions also apply to building the latest release version of Koi. Instead of cloning the repository, download and extract the latest Source Code archive, from then follow step 2 and beyond.

Building with NIX

nix-build -E 'with import <nixpkgs> {}; pkgs.libsForQt5.callPackage ./dev.nix {}'

Downloads

Arch Linux

Dependencies

  • qt5-base
  • plasma-desktop | kconfig | kcoreaddons | kwidgetsaddons

Download

Install it from the AUR. Packaged by AUR user dasbaumwolltier, let them know if it's out of date, not me.

openSUSE Tumbleweed + Leap

Dependencies

  • cmake | cmake-full | extra-cmake-modules | patterns-kde-devel_kde_frameworks | patterns-kde-devel_qt5 | fdupes
  • patterns-kde-kde | patterns-kde-kde_plasma | desktop-file-utils

Download

Available from OBS | REPO. Packaged by Fabio Pesari-fpesari + Martin von Reichenberg, let them know if it's out of date, not me.

Fedora

Dependencies

  • cmake | desktop-file-utils

Download Available from copr. Packaged by h3o66, let them know if it's out of date, not me.

NixOS and distros with nix.

Download

Available from me NUR repo. Packaged by yours truly.
Install to your NIX profile with nix-env -iA koi -f https://github.com/baduhai/nur/tarball/master, to add to you nixos configuration, follow the Instructions on the NUR repo.

Debian/Ubuntu

Dependencies

  • g++ | qtbase5-dev | cmake | libkf5coreaddons-dev | libkf5widgetsaddons-dev | libkf5config-dev | libkf5package-dev | libkf5service-dev

Download Not yet available . . .

Other Distributions

Install with NIX (See NixOS above) or grab the AppImage of the latest release.

Koi targets the latest version of the above deps. Since I can't know the name of every dependency for every distribution . . .

References

The following is a list of resources that I used as reference and inspiration for writing Koi.