Giter VIP home page Giter VIP logo

yin-yang's Introduction

Yin-Yang for Elementary OS

Yin-Yang brings automatic day and night theme-switching to Elementary OS

Yin-Yang will not be available in the ElementaryOS AppCenter. See Issue #5

dark_mode

light_mode theme settings

Implemented and Upcoming Features

  • Switch between day and night theme presets
  • GTK Theme Switching
  • Gtk "Prefer-dark" switching
  • Visual Studio Code Theme Switching
  • Pantheon Terminal Theme Switching
  • Pantheon Code Editor Theme Switching
  • Firefox Theme Switching
  • Wallpaper Background Switching
  • Automatic theme switching when nightlight is enabled
  • Wingpanel Integration
  • Custom Icon (Desktop and Wingpanel)
  • Notifications

Building, Testing, and Installation

You'll need the following dependencies:

  • meson
  • valac
  • libgtk-3-dev (>= 3.10)
  • libgranite-dev
  • libjson-glib-dev
  • libwingpanel-2.0-dev
  • libunity-dev

Run meson build to configure the build environment. Change to the build directory and run ninja to build

meson build --prefix=/usr
cd build
ninja

To test without installing, use ninja, then execute with ./com.github.evan-buss.yin-yang

ninja
./com.github.evan-buss.yin-yang

To install, use ninja install, then execute with com.github.evan-buss.yin-yang

sudo ninja install
com.github.evan-buss.yin-yang

Future Integrations

If you have any requests or suggestions for application theme switching integrations just submit an issue.

Credit

Thanks to Yin-Yang for the inspiration and original design.

yin-yang's People

Contributors

evan-buss avatar oskarsh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

yin-yang's Issues

Application Icons

The application needs icons that match the elementary OS icon style guidelines.

I was thinking that the internet browser icon can be adapted since it is basically the Yin-Yang symbol.

image

We also need two wingpanel "symbolic" versions of the icon. One should denote light mode and one should denote dark mode. The symbolic icons are typically black and white. Here are some current examples.

image

image

Any designs or help would be appreciated!

AppCenter Review: Not Publishable

Thanks for your submission to AppCenter! I regret to inform you that we won't be publishing your app to AppCenter at this time. This is because your app seeks to modify other apps. While this is technically possible at the moment, in the near feature apps will become sandboxed via Flatpak and it will no longer be possible for apps to modify each other. In general, we believe this is a better security model, so we're enforcing it through AppCenter policy. Sorry to have to deliver bad news! I hope to see future app submissions from you for other kinds of apps :)

Add dropdown with list for gtk themes

I can only comment on the screenshots but it looks like you need to enter the theme manually for the system. It would be nicer to add a dropdown so the users can choose the system theme.

Support for Dark Reader?

Hey another nice feature would be an integration with Dark Reader Extension. This is one of the most used Extension when it comes to Webpage Darkmode and is also open source.
You can send calls to the extension if you expose a API and can trigger Dark Mode. This involves alot of work and knowledge but would achieve a truly universal Dark Mode.

DarkReader Repository

Appcenter Release?

I believe you already have plans of releasing to the AppCenter... but when? :D I just want some delicious updates.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.