fixed loop misjtake in dropdown menu creation

This commit is contained in:
paul-loedige
2020-12-20 01:24:14 +01:00
parent 2aaf1b4daa
commit 0615c3832d
3 changed files with 9 additions and 7 deletions
+6 -4
View File
@@ -93,7 +93,7 @@ keys = [
Key([], 'XF86AudioRaiseVolume', lazy.spawn('pulseaudio-ctl up 1')),
Key([], 'XF86AudioLowerVolume', lazy.spawn('pulseaudio-ctl down 1')),
Key([], 'XF86AudioMute', lazy.spawn('pulseaudio-ctl mute')),
Key([],'Pause',lazy.spawn('amixer set Capture toggle')),
Key([],'Pause',lazy.spawn('amixer set Capture toggle'), desc="Toggles Microphone"),
]
@@ -130,10 +130,12 @@ for (icon,name,key, kwargs) in group_names:
Key(['mod1','control', "shift"], str(key), lazy.window.togroup(icon),
desc="move focused window to group {}".format(name)),
Key(['mod1','control'],'space',lazy.group['scratchpad'].dropdown_toggle('term'),
desc="open the dropdown terminal"),
])
keys.extend([
Key(['mod1','control'],'space',lazy.group['scratchpad'].dropdown_toggle('term'),
desc="open the dropdown terminal"),
])
#endregion
#region Layouts