Hyprland/src
Kajetan Puchalski efee6a1cda
swallow: Add swallow_exception_regex (#2026)
Currently, if a window class is specified in the swallow_regex (e.g.
Kitty) it will swallow every other window spawned by it automatically.
Many other WMs implementing this functionality allow for defining
exceptions from this rule. For instance, we want Kitty to swallow sxiv
or zathura but we do not want Kitty to swallow something like wev.

This commit adds an additional regex - swallow_exception_regex where
these exceptions can be defined. This regex is then compared against the
title of the window about to be swallowed and if it happens to be a
match, aborts the swallowing.

This works because whenever an application that could be swallowed is
launched by a terminal, the class of the terminal remains the same while
the title changes to whatever the application's name is, thus letting it
be matched against a regex.
2023-04-12 13:38:15 +01:00
..
config swallow: Add swallow_exception_regex (#2026) 2023-04-12 13:38:15 +01:00
debug hyprctl: don't assume output validity in hyprctl workspaces 2023-04-10 21:52:14 +01:00
events swallow: Add swallow_exception_regex (#2026) 2023-04-12 13:38:15 +01:00
helpers Implement window move (#2018) 2023-04-10 20:07:49 +01:00
hyprerror Draw HyprError on the last monitor 2023-02-28 19:18:13 +00:00
init disallow running with sudo 2022-05-19 19:28:15 +02:00
layout internal: make togglefloat better visible on small size deltas 2023-04-06 19:45:59 +01:00
managers plugins: Add "tick" event (#2029) 2023-04-12 11:18:33 +01:00
plugins Misc FreeBSD fixes (#1926) 2023-03-31 20:39:04 +01:00
protocols GlobalShortcuts protocol impl (#1886) 2023-04-09 13:48:20 +01:00
render renderer: workspace rendering improvements 2023-04-12 13:05:57 +01:00
wlrunstable ext_workspace_unstable: send done after output_enter when wl_output is bound late (#1481) 2023-02-03 21:25:49 +00:00
Compositor.cpp internal: guarantee activeWindow event type 2023-04-12 13:11:38 +01:00
Compositor.hpp core: remove old redundant shutdown stuff 2023-03-23 03:07:57 +00:00
defines.hpp Plugin System (#1590) 2023-02-27 12:32:38 +00:00
includes.hpp fix compile for single_pixel_buffer_v1 2023-02-16 13:37:46 +00:00
main.cpp args: print help on invalid arg 2023-04-10 18:26:36 +01:00
meson.build meson: add pango deps 2023-03-20 15:39:43 +00:00
SharedDefs.hpp notifs: add ICON_OK to icons 2023-03-20 15:49:46 +00:00
Window.cpp swallow: move swallowed on workspace change 2023-04-02 10:24:17 +01:00
Window.hpp Feat: add initial class/title to hyprctl clients 2023-04-03 19:16:51 +01:00