From a697a3045eac6b3cdafd548ab0e95a6f0d7d84ed Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Mon, 21 Nov 2022 11:35:33 +0100 Subject: [PATCH] [Newm] Only toggle overview on the current screen --- .config/newm/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/newm/config.py b/.config/newm/config.py index dfe66f9..adcbff1 100644 --- a/.config/newm/config.py +++ b/.config/newm/config.py @@ -93,7 +93,7 @@ def synchronous_update() -> None: def rules(m_view): blur_apps = ("kitty", "wofi", "emacsclient", "emacs") - float_apps = ("Rofi",) + float_apps = ("Rofi", "xfce-polkit") nonfloat_apps = ("discord",) if debug_windows: with open("/tmp/newm_windows.txt", "a", encoding="utf-8") as file: @@ -176,7 +176,7 @@ def key_bindings(layout: Layout) -> list[tuple[str, Callable[[], Any]]]: (leader + "w r t", lambda: layout.resize_focused_view(0, 1)), (leader + "w r s", lambda: layout.resize_focused_view(0, -1)), (leader + "w r r", lambda: layout.resize_focused_view(1, 0)), - ("L-", layout.toggle_overview), + ("L-", lambda: layout.toggle_overview(only_active_workspace=True)), ( "XF86MonBrightnessUp", lambda: backlight_manager.set(backlight_manager.get() + 0.1),