Skip to content

Commit

Permalink
Modified keybindings
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniDiazTech committed Jul 14, 2021
1 parent 761eb86 commit 749473a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

dgroups_key_binder = None

dgroups_app_rules = [] # type: List
dgroups_app_rules = [] # type: list

follow_mouse_focus = True

Expand Down
5 changes: 4 additions & 1 deletion keys/keybindings.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,17 @@ def create_floating_keys(self):
def create_groups_keys(self):
modifier = [GROUPS_KEY]
swap_modifier = [GROUPS_KEY, SWAP_GROUP_KEY]
screen_modifier = [MOVEMENT_KEY]

move_next = Key(modifier, NEXT_GROUP, lazy.screen.next_group())
move_prev = Key(modifier, PREV_GROUP, lazy.screen.prev_group())

swap_next = Key(swap_modifier, NEXT_GROUP, Functions.window_to_next_group())
swap_prev = Key(swap_modifier, PREV_GROUP, Functions.window_to_prev_group())

self.keys += [move_next, move_prev, swap_next, swap_prev]
move_next_screen = Key(screen_modifier, NEXT_GROUP, lazy.next_screen())

self.keys += [move_next, move_prev, swap_next, swap_prev, move_next_screen]

def create_spawn_keys(self):

Expand Down

0 comments on commit 749473a

Please sign in to comment.