Skip to content

Commit e780177

Browse files
Make default layer and button outlines configurable
1 parent 5db7e0c commit e780177

4 files changed

Lines changed: 151 additions & 68 deletions

File tree

Cargo.lock

Lines changed: 58 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ repository = "https://github.com/WhatAmISupposedToPutHere/tiny-dfr"
1212
[dependencies]
1313
cairo-rs = { version = "0.18", default-features = false }
1414
librsvg = "2.56.0"
15-
drm = "0.9"
15+
drm = "0.10.0"
1616
anyhow = "1"
1717
input = "0.8"
1818
libc = "0.2"
1919
input-linux = "0.6"
2020
input-linux-sys = "0.8"
21-
nix = "0.26"
21+
nix = { version = "0.27", features = ["poll"] }
2222
privdrop = "0.5.3"
23+
serde = { version = "1", features = ["derive"] }
24+
toml = "0.8"

share/tiny-dfr/config.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# tiny-dfr config template. Do not edit this file directly, instead
2+
# copy it to /etc/tiny-dfr/config.toml and edit that copy.
3+
# The daemon will merge those two files, giving preference to the one in /etc
4+
5+
# F{number} keys are shown when Fn is not pressed by default.
6+
# Set this to true if you want the media keys to be shown without Fn pressed
7+
MediaLayerDefault = false
8+
9+
# Set this to false if you want to hide the button outline,
10+
# leaving only the text/logo
11+
ShowButtonOutlines = true

0 commit comments

Comments
 (0)