diff options
| author | Blista Kanjo | 2023-08-22 12:37:57 -0400 |
|---|---|---|
| committer | Blista Kanjo | 2023-08-22 12:37:57 -0400 |
| commit | fa5747117aea36f914d90b24580416922589fdc9 (patch) | |
| tree | 0a2c6e81057668e15fd340cff94fc23c9d4077c5 /.config/awesome | |
| parent | fc2d622d690e373a18120efb6fcf6da6fa524fbb (diff) | |
fix: floating clients not working
Diffstat (limited to '.config/awesome')
| -rw-r--r-- | .config/awesome/rc.lua | 95 |
1 files changed, 40 insertions, 55 deletions
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 2116766..d79373e 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -712,63 +712,48 @@ ruled.client.connect_signal("request::rules", function() -- floating clients. ruled.client.append_rule { - { - rule = {}, - properties = { - border_width = beautiful.border_width, - border_color = beautiful.border_normal, - focus = awful.client.focus.filter, - raise = true, - keys = clientkeys, - buttons = clientbuttons, - screen = awful.screen.preferred, - placement = awful.placement.no_overlap + awful.placement.no_offscreen - } - }, - - { - rule_any = { - instance = { - "DTA", -- firefox addon downthemall. - "copyq", -- includes session name in class. - "pinentry", - }, - class = { - "Agave", - "Arandr", - "Blueman-manager", - "DateTime.py", - "Evolution-alarm-notify", - "Gpick", - "Gnome-calculator", - "gnome-calculator", - "Gnome-system-monitor", - "Kruler", - "MessageWin", -- kalarm. - "mullvadbrowser", -- needs a fixed window size to avoid fingerprinting by screen size. - "screengrab", - "Sxiv", - "Steam", - "Tor Browser", -- same as mullvadbrowser. - "Wpa_gui", - "veromix", - "xtightvncviewer", - "zoom", - }, - name = { - "^Event Tester$", -- xev. - "^File Operation Progress$", -- fix for latest version of thunar. - "^password manager$", - "^Task Manager$", - }, - role = { - "AlarmWindow", -- thunderbird's calendar. - "ConfigManager", -- thunderbird's about:config. - "pop-up", -- e.g. google chrome's (detached) developer tools. - } + id = "floating", + rule_any = { + instance = { + "DTA", -- firefox addon downthemall. + "copyq", -- includes session name in class. + "pinentry", }, - properties = { floating = true } + class = { + "Agave", + "Arandr", + "Blueman-manager", + "DateTime.py", + "Evolution-alarm-notify", + "Gpick", + "Gnome-calculator", + "gnome-calculator", + "Gnome-system-monitor", + "Kruler", + "MessageWin", -- kalarm. + "mullvadbrowser", -- needs a fixed window size to avoid fingerprinting by screen size. + "screengrab", + "Sxiv", + "Steam", + "Tor Browser", -- same as mullvadbrowser. + "Wpa_gui", + "veromix", + "xtightvncviewer", + "zoom", + }, + name = { + "^Event Tester$", -- xev. + "^File Operation Progress$", -- fix for latest version of thunar. + "^password manager$", + "^Task Manager$", + }, + role = { + "AlarmWindow", -- thunderbird's calendar. + "ConfigManager", -- thunderbird's about:config. + "pop-up", -- e.g. google chrome's (detached) developer tools. + } }, + properties = { floating = true } } end) -- }}} |
