summaryrefslogtreecommitdiffstats
path: root/source/xrmoptions.c
diff options
context:
space:
mode:
authorYaroslav <valsoray17@users.noreply.github.com>2016-05-25 14:40:23 -0400
committerDave Davenport <DaveDavenport@users.noreply.github.com>2016-05-25 20:40:23 +0200
commitf901494c6a8826023902ced568f24c39300788f4 (patch)
tree2797c6467c88614cfa97e48919ccaef88d4d985b /source/xrmoptions.c
parent17e93986993ab7dd9121aa39d66d3696fc66b35d (diff)
Switch to stop cycling feature (#407)
* Added 'cycle' option to switch list navigation wrapping * Replaced tabs with spaces * Updating the expected rofi properties with 'cycle' option * Updating documentation with the 'cycle' option
Diffstat (limited to 'source/xrmoptions.c')
-rw-r--r--source/xrmoptions.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/xrmoptions.c b/source/xrmoptions.c
index 66a1494a..3119992e 100644
--- a/source/xrmoptions.c
+++ b/source/xrmoptions.c
@@ -125,6 +125,8 @@ static XrmOption xrmOptions[] = {
"Use levenshtein sorting" },
{ xrm_Boolean, "case-sensitive", { .num = &config.case_sensitive }, NULL,
"Set case-sensitivity" },
+ { xrm_Boolean, "cycle", { .num = &config.cycle }, NULL,
+ "Cycle through the results list" },
{ xrm_Boolean, "sidebar-mode", { .num = &config.sidebar_mode }, NULL,
"Enable sidebar-mode" },
{ xrm_SNumber, "eh", { .snum = &config.element_height }, NULL,