aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorKirill Chibisov <contact@kchibisov.com>2023-10-01 17:42:56 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2023-10-01 17:50:42 +0300
commitd8a511bbac8d487c537dc325d105c1b07ff9c0cf (patch)
tree562c4f77d1ab98f704a6a03f13ca5046b8ad9dd5 /resources
parent8d443c2e841505dd9a09d50dbb24a2a5956ecbd7 (diff)
downloadniri-d8a511bbac8d487c537dc325d105c1b07ff9c0cf.tar.gz
niri-d8a511bbac8d487c537dc325d105c1b07ff9c0cf.tar.bz2
niri-d8a511bbac8d487c537dc325d105c1b07ff9c0cf.zip
config/input: add cursor section
This should allow users to configure theme and size for the cursor, as well as automatically set `XCURSOR_THEME` and `XCURSOR_SIZE` env variables.
Diffstat (limited to 'resources')
-rw-r--r--resources/default-config.kdl7
1 files changed, 7 insertions, 0 deletions
diff --git a/resources/default-config.kdl b/resources/default-config.kdl
index 8c5a9527..69867533 100644
--- a/resources/default-config.kdl
+++ b/resources/default-config.kdl
@@ -67,6 +67,13 @@ focus-ring {
inactive-color 0.3 0.3 0.3 1.0
}
+cursor {
+ // Change the theme and size of the cursor as well as set the
+ // `XCURSOR_THEME` and `XCURSOR_SIZE` env variables.
+ // xcursor-theme "default"
+ // xcursor-size 24
+}
+
// Uncomment this line to ask the clients to omit their client-side decorations if possible.
// If the client will specifically ask for CSD, the request will be honored.
// prefer-no-csd