summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-06-25 17:32:54 +0100
committerPhil Jones <philj56@gmail.com>2022-06-25 17:33:11 +0100
commitba9f87f88280454b8ed3801a2cf11f8a7a8b8632 (patch)
tree2eb1039b296e24ce9c883acb8b2dcbdeb50614a9 /src
parent335573a628ed6ff20640c881935e0648a4819c1a (diff)
Add manpages.
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
-rw-r--r--src/tofi.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 3844bbd..5747fcf 100644
--- a/src/main.c
+++ b/src/main.c
@@ -577,6 +577,7 @@ static void usage()
" --min-input-width <px> Minimum width of input in horizontal mode.\n"
" --width <px|%> Width of the window.\n"
" --height <px|%> Height of the window.\n"
+" --corner-radius <px> Radius of window corners.\n"
" --anchor <position> Location on screen to anchor window.\n"
" --margin-top <px|%> Offset from top of screen.\n"
" --margin-bottom <px|%> Offset from bottom of screen.\n"
@@ -695,7 +696,6 @@ int main(int argc, char *argv[])
/* Default options. */
struct tofi tofi = {
.window = {
- .background_color = {0.89f, 0.8f, 0.824f, 1.0f},
.scale = 1,
.width = 1280,
.height = 720,
diff --git a/src/tofi.h b/src/tofi.h
index ddc46de..26cd3b1 100644
--- a/src/tofi.h
+++ b/src/tofi.h
@@ -36,7 +36,6 @@ struct tofi {
struct {
struct surface surface;
struct zwlr_layer_surface_v1 *zwlr_layer_surface;
- struct color background_color;
struct entry entry;
uint32_t width;
uint32_t height;