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 Koi version: 0.2.2

Arch Linux

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

OpenSUSE Tumbleweed

Available from OBS. Packaged by VaiTon, bug them if it's out of date, not me.

Fedora

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

NixOS

Available from my NUR repo. Packaged by yours truly.

Other Distros

Install with nix. See NixOS above.

Build from source

Dependencies

  • Qt

  • Plasma

  • KDE Frameworks

  • cmake [build dependency]

Koi targets the latest version of the above deps. Since I can't know the name of every dependency for every distro, these are the dependencies on ubuntu: g++ qtbase5-dev cmake libkf5coreaddons-dev libkf5widgetsaddons-dev libkf5config-dev libkf5package-dev libkf5service-dev

Build Instructions

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

  2. cd Koi

  3. mkdir build

  4. cd build

  5. cmake ../src/

  6. make

  7. 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 {}'

References

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