diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-01-14 23:56:07 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-01-14 23:56:07 +1100 |
| commit | a53389c8b5c1f4599c30a6c3de523e0a1388f9d1 (patch) | |
| tree | 02ccb843bfc88f5077ca208cf7c3f744d256cf90 /utils | |
| parent | better config + notifpopups max popups (diff) | |
| download | caelestia-shell-a53389c8b5c1f4599c30a6c3de523e0a1388f9d1.tar.gz caelestia-shell-a53389c8b5c1f4599c30a6c3de523e0a1388f9d1.tar.bz2 caelestia-shell-a53389c8b5c1f4599c30a6c3de523e0a1388f9d1.zip | |
bar: power button works
Use wlogout for power menu
Add more defaults for PopupWindow
Diffstat (limited to 'utils')
| -rw-r--r-- | utils/widgets.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/widgets.tsx b/utils/widgets.tsx index 57c08cb..033a4e2 100644 --- a/utils/widgets.tsx +++ b/utils/widgets.tsx @@ -100,6 +100,8 @@ export class PopupWindow extends Widget.Window { sProps.namespace = `caelestia-${props.name}`; sProps.anchor = Astal.WindowAnchor.TOP | Astal.WindowAnchor.LEFT | Astal.WindowAnchor.BOTTOM | Astal.WindowAnchor.RIGHT; + sProps.exclusivity = Astal.Exclusivity.IGNORE; + if (!sProps.keymode) sProps.keymode = Astal.Keymode.ON_DEMAND; sProps.onKeyPressEvent = (self, event) => { // Close window on escape if (event.get_keyval()[1] === Gdk.KEY_Escape) self.hide(); |