From 4f8d4b19f39258ca34171dea6e2d75340ff5bbfd Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Wed, 23 Nov 2022 17:52:43 +0100 Subject: [PATCH] [Newm] Add keybinding for screenshots --- .config/newm/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/newm/config.py b/.config/newm/config.py index 348a7fd..410f8f5 100644 --- a/.config/newm/config.py +++ b/.config/newm/config.py @@ -193,6 +193,7 @@ def key_bindings(layout: Layout) -> list[tuple[str, Callable[[], Any]]]: ("XF86AudioRaiseVolume", lambda: pactl.volume_adj(5)), ("XF86AudioLowerVolume", lambda: pactl.volume_adj(-5)), ("XF86AudioMute", pactl.mute), + ("Print", lambda: run_shell("env XDG_CURRENT_DESKTOP=Sway flameshot gui")), ]