New way to start work terminal.

This commit is contained in:
Bartek Stalewski 2023-02-09 02:14:07 +01:00
parent a0bd08d063
commit a12bd15369

View file

@ -32,7 +32,7 @@ groups = [
y=0.25, y=0.25,
), ),
DropDown( DropDown(
"spwork", "sh -c 'BROWSER=workfx st -n work'", "spwork", "sh -c 'terminal_profile=work BROWSER=workfx st'",
on_focus_lost_hide=False, on_focus_lost_hide=False,
width=0.40, width=0.40,
height=0.50, height=0.50,
@ -69,7 +69,7 @@ keys = [
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'")),
Key([mod, "shift"], "e", lazy.group["scratchpad"].dropdown_toggle('spwork')), Key([mod, "shift"], "e", lazy.group["scratchpad"].dropdown_toggle('spwork')),
Key([mod, "shift"], "i", lazy.spawn("scrot -f 'scrot_%Y-%m-%d_%H-%M-%S_%s.png'")), Key([mod, "shift"], "i", lazy.spawn("scrot -f 'scrot_%Y-%m-%d_%H-%M-%S_%s.png'")),
Key([mod, "shift"], "Return", lazy.spawn("sh -c 'BROWSER=workfx st -n work'")), Key([mod, "shift"], "Return", lazy.spawn("sh -c 'terminal_profile=work BROWSER=workfx st'")),
Key([mod, "control"], "a", lazy.spawn("dmenu-audio")), Key([mod, "control"], "a", lazy.spawn("dmenu-audio")),
Key([mod, "control"], "b", lazy.spawn("dmenu-bluetooth")), Key([mod, "control"], "b", lazy.spawn("dmenu-bluetooth")),
Key([mod, "control"], "e", lazy.spawn("dmenu-emoji")), Key([mod, "control"], "e", lazy.spawn("dmenu-emoji")),