aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2023-09-26 13:09:33 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2023-09-26 13:45:03 +0400
commita62e1cbef6028cb9de945252fbd1b1e9723e4bde (patch)
tree4ac29ec178dc4af72d45ac55f485c982e0f23ec8 /resources
parent906ee36a934154221f1b8ef6d919f80e9ac950fb (diff)
downloadniri-a62e1cbef6028cb9de945252fbd1b1e9723e4bde.tar.gz
niri-a62e1cbef6028cb9de945252fbd1b1e9723e4bde.tar.bz2
niri-a62e1cbef6028cb9de945252fbd1b1e9723e4bde.zip
Make focus ring configurable
Diffstat (limited to 'resources')
-rw-r--r--resources/default-config.kdl16
1 files changed, 16 insertions, 0 deletions
diff --git a/resources/default-config.kdl b/resources/default-config.kdl
index 3e15b260..00e0bcaa 100644
--- a/resources/default-config.kdl
+++ b/resources/default-config.kdl
@@ -40,6 +40,22 @@ input {
// which may be more convenient to use.
// spawn-at-startup "alacritty" "-e" "fish"
+// You can change how the focus ring looks.
+// Remember to uncommend the node by removing "/-"!
+focus-ring {
+ // Uncomment this line to disable the focus ring.
+ // off
+
+ // How many logical pixels the ring extends out from the windows.
+ width 4
+
+ // Color of the ring on the active monitor: red, green, blue, alpha.
+ active-color 0.5 0.8 1.0 1.0
+
+ // Color of the ring on inactive monitors: red, green, blue, alpha.
+ inactive-color 0.3 0.3 0.3 1.0
+}
+
binds {
// Keys consist of modifiers separated by + signs, followed by an XKB key name
// in the end. To find an XKB name for a particular key, you may use a program