Git Product home page Git Product logo

wingpanel-indicator-daynight's Introduction

wingpanel-indicator-daynight

A wingpanel indicator to toggle 'prefer dark variant' option in elementary OS.

Install

Get the .deb file from here. Logout and then login after installation.

Uninstall

sudo apt remove wingpanel-indicator-daynight

Build & Run

# install elementary-sdk, meson and libwingpanel
sudo apt install elementary-sdk meson libwingpanel-2.0-dev
#install dependencies
sudo apt install libglib2.0-dev libgranite-dev libxml2-dev
# clone repository
git clone https://github.com/maze-n/wingpanel-indicator-daynight.git wingpanel-indicator-daynight
# cd to dir
cd wingpanel-indicator-daynight
# run meson
meson build --prefix=/usr
# cd to build, build and test
cd build
sudo ninja install
# restart switchboard to load your indicator
pkill wingpanel -9

Destroy

cd build
sudo ninja uninstall

Todo

  • Add time based automatic mode switching

wingpanel-indicator-daynight's People

Contributors

maze-n avatar nathanbnm avatar ryonakano avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

wingpanel-indicator-daynight's Issues

[Feature Request] Auto change plank themes

This script has some lines that basically swap the dock.theme and dock-dark.theme in /usr/share/themes/elementary/plank folder.

Would be great if this could do that too! I'm not sure if it's doable as it may require root access, but it's worth a shot?

Request: Auto switch dark/light theme

Can you add a functionality that the indicator automatically swithes the theme based on:

  • User configured time of the day setting
  • Daylight (sunrise sunset) setting

Label Inconsistency with elementary OS default Indicator

Hi there, Mazen!

Nice work you have here.
I think for the label case, it should follow the elementary OS indicator label to provide more consistent experience.
elementary OS use title case for label in indicator and "h4" class in switch label if it's a primary action.
I have attached the example bellow.

Current state:
screenshot

Example indicator from elementary OS default:
wifi
notification
bluetooth
battery

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.