Skip to content

Instantly share code, notes, and snippets.

@subnut
Last active December 23, 2023 18:54
Show Gist options
  • Save subnut/d56c4c2dc55c01a1dba8f2dd2b3f7332 to your computer and use it in GitHub Desktop.
Save subnut/d56c4c2dc55c01a1dba8f2dd2b3f7332 to your computer and use it in GitHub Desktop.
--- ~/.local/share/gnome-shell/extensions/status-area-horizontal-spacing@mathematical.coffee.gmail.com/extension.js
+++ ~/.local/share/gnome-shell/extensions/status-area-horizontal-spacing@mathematical.coffee.gmail.com/extension.js
@@ -80,6 +80,14 @@
return;
}
+ if (actor.has_style_class_name('screen-sharing-indicator')) return;
+ if (actor.has_style_class_name('screen-recording-indicator')) return;
+ if (actor.first_child
+ && actor.first_child.get_style_class_name
+ && actor.first_child.get_style_class_name() == 'panel-status-indicators-box') {
+ return;
+ }
+
if (actor._original_inline_style_ === undefined) {
actor._original_inline_style_ = actor.get_style();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment