added deepl as dropdown

This commit is contained in:
paul-loedige
2022-10-27 13:55:03 +09:00
parent b5c929cbc8
commit 371281d552
+12 -1
View File
@@ -12,7 +12,7 @@ group_names = [("","Home", 'h',{'layout': 'monadtall'}),
("","Documents", 'l',{'layout': 'monadtall'}),
("","Music", 'u',{'layout': 'monadtall', 'matches' : [Match(wm_class="spotify")]}),
("","Video", 'v',{'layout': 'monadtall', 'matches' : [Match(wm_class="vlc")]}),
("","Discord", 'd',{'layout': 'monadtall', 'matches':[Match(wm_class="discord")]}),
("","VideoChat", 'z',{'layout': 'monadtall', 'matches':[Match(wm_class="discord")]}),
("","ClickUp", 'k',{'layout': 'monadtall', 'matches' : [Match(wm_class="clickup")]}),
("","etc1", '1', {'layout': 'monadtall'}),
("","etc2", '2', {'layout': 'monadtall'}),
@@ -93,6 +93,15 @@ groups.append(
on_focus_lost_hide=False,
opacity=1
),
DropDown(
'Deepl',
'surf deepl.com',
height = 0.5,
width = 0.8,
x = 0.1,
on_focus_lost_hide=False,
opacity=1
),
DropDown(
'Telegram',
'telegram-desktop',
@@ -138,4 +147,6 @@ keys.extend([
desc="open the dropdown for Telegram"),
Key(['mod1','control'],'q',lazy.group['scratchpad'].dropdown_toggle('Qalculate!'),
desc="open the dropdown for Qalculate!"),
Key(['mod1','control'],'d',lazy.group['scratchpad'].dropdown_toggle('Deepl'),
desc="open the dropdown for Deepl")
])