Skip to content

Instantly share code, notes, and snippets.

@blueyed
Created January 31, 2015 11:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blueyed/fbc015218b0f3787c726 to your computer and use it in GitHub Desktop.
Save blueyed/fbc015218b0f3787c726 to your computer and use it in GitHub Desktop.
-- Alt-Tab: cycle through clients on the same screen and tag.
-- This must be a clientkeys mapping to have source_c available in the callback.
cyclefocus.key({altkey, }, "Tab", 1, {
-- cycle_filters = { function (c, source_c) return c.screen == source_c.screen end },
cycle_filters = { cyclefocus.filters.same_screen, cyclefocus.filters.common_tag },
display_notifications = false,
raise_clients = true,
modifier="Alt_L",
}),
cyclefocus.key({ altkey, "Shift", }, "Tab", 1, {
-- cycle_filters = { function (c, source_c) return c.screen == source_c.screen end },
cycle_filters={ cyclefocus.filters.same_screen, cyclefocus.filters.common_tag },
display_notifications = false,
raise_clients = true,
modifier="Alt_L",
}),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment