Added shortcut to spawn floating Yubico Authenticator.

This commit is contained in:
Bartek Stalewski 2022-10-14 16:18:58 +02:00
parent 36d226eb4e
commit 3c49e43243

View File

@ -57,6 +57,7 @@ keys = [
# app binds # app binds
Key([mod], "Return", lazy.spawn("sh -c 'BROWSER=firefox st'")), Key([mod], "Return", lazy.spawn("sh -c 'BROWSER=firefox st'")),
Key([mod], "space", lazy.spawncmd()), Key([mod], "space", lazy.spawncmd()),
Key([mod], "a", lazy.spawn("authenticator")),
Key([mod], "e", lazy.group["scratchpad"].dropdown_toggle('spterm')), Key([mod], "e", lazy.group["scratchpad"].dropdown_toggle('spterm')),
Key([mod], "i", lazy.spawn("scrot -f -s 'scrot_%Y-%m-%d_%H-%M-%S_%s.png'")), Key([mod], "i", lazy.spawn("scrot -f -s 'scrot_%Y-%m-%d_%H-%M-%S_%s.png'")),
Key([mod], "m", lazy.spawn("sh -c 'pgrep -x neomutt > /dev/null || BROWSER=firefox st -n mutt -e neomutt'")), Key([mod], "m", lazy.spawn("sh -c 'pgrep -x neomutt > /dev/null || BROWSER=firefox st -n mutt -e neomutt'")),
@ -157,6 +158,7 @@ mouse = [
floating_layout = layout.Floating( floating_layout = layout.Floating(
float_rules=[ float_rules=[
*layout.Floating.default_float_rules, *layout.Floating.default_float_rules,
Match(wm_class='Authenticator'),
], ],
border_focus='#ffffff', border_focus='#ffffff',
border_normal="#272822", border_normal="#272822",