You are not logged in.

#1 2023-12-17 00:54:01

pengu1nton
Member
Registered: 2023-12-17
Posts: 2

Making Services revolving around light/dark mode based on time of day

Hi,

I'm relatively new to Linux and don't know a lot of the ins and outs yet at this time, but I'm wanting to learn to make the UI change between light/dark mode based on the time of day, specifically when sunset hits to go dark and back at sunrise. I googled around and found a link Here that gives a step-by-step of how to get started.

My problem I'm noticing is that it's asking about going to the ~/.config/systemd/user/ directory. The systemd/user portion of that directory doesn't exist. If I'm going to continue with this pages instruction, would it be safe to just create these directories and create the Service from scratch or would it be better to just find the root systemd and work from there? Or is this wholly unnecessary and I'd just be better off finding some sort of package to do the work for me?

Apologies if I missed anything in explanation. Also thank you to anyone who answers for just taking time out of your day.

Quick Edit: When referring to the directory having a portion missing, I just mean that systemd doesn't exist in that .config directory.

Last edited by pengu1nton (2023-12-17 01:07:02)

Offline

#2 2023-12-17 10:22:59

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Making Services revolving around light/dark mode based on time of day

pengu1nton wrote:

would it be safe to just create these directories and create the Service from scratch

Yes.

Cool idea btw. I might try that myself smile


Jin, Jîyan, Azadî

Offline

#3 2023-12-17 19:35:39

pengu1nton
Member
Registered: 2023-12-17
Posts: 2

Re: Making Services revolving around light/dark mode based on time of day

After more looking around Google (and realizing the code on that tutorial was centered around Gnome and I don't know how to change the code for KDE) I found out there is a github for an application that achieves exactly what I want. I'll link it here for anyone curious in the future that maybe finds this post.

Offline

Board footer

Powered by FluxBB