Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dark-Mute
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jess Ward
Dark-Mute
Commits
17ac3750
Commit
17ac3750
authored
6 years ago
by
Jess Ward
Browse files
Options
Downloads
Patches
Plain Diff
service definition added
parent
620ef6e1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+20
-1
20 additions, 1 deletion
README.md
with
20 additions
and
1 deletion
README.md
+
20
−
1
View file @
17ac3750
...
...
@@ -13,8 +13,27 @@ As the `pi` user in its home directory:
*
`python3 -m venv darkmute-venv`
*
`. darkmute-venv/bin/activate`
*
`sudo python3 -m pip install DarkMute`
*
Test it:
`darkmute`
To run this as a service, create a systemd service definition. Instructions pending.
Brightness thresholds are hard-coded for now, to change them see Developer Setup section.
To run this as a service, create a systemd service definition:
/etc/systemd/system/darkmute.service
```
[Unit]
Description=Dark Mute
After=snapclient.service
[Service]
ExecStart=/home/pi/darkmute-venv/bin/darkmute
Restart=Always
User=pi
[Install]
WantedBy=multi-user.target
```
# Developer Setup
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment