maze-n / wingpanel-indicator-daynight

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:GNU General Public License v3.0


Languages

Language:Vala 84.2%Language:Meson 12.2%Language:Python 3.6%