Commit graph

111 commits

Author SHA1 Message Date
trigg
17a9bc5f02 - First pass at pylint clean-up 2024-07-08 23:32:59 +01:00
trigg
ce0c1aece3 - Store monitor by plug name
- - Index was inconsistent between different DEs
- - Index was inconsistent when matching monitor models existed
- - Plugname is only inconsistent when switching DEs
- Bugfix for notification overlay
2024-07-08 15:37:57 +01:00
trigg
5933571297 - Floating windows are stored by percentage of screen space
- 'Any' option added to monitor list to allow no specific screen to be chosen
- Fixed up X11 floating position options
2024-04-06 19:50:54 +01:00
trigg
2becfb5204 - Set Settings window to external display size in gamescope
- Set draggable windows to external display size in gamescope
- Do not allow draggable window to be larger than display
- Fix for draggable window being the wrong size on start
- Unset WAYLAND_DISPLAY if in gamescope mode
2024-04-06 15:39:32 +01:00
trigg
29f8c7476c - Catch errors when audio assist can't reach PA/PW
- Attempt to use GTK icon theme for local images, fallback to image search
- Error message & fallback icon when settings icons not found
- Fix notification overlay
- All overlays check if config changed before scheduling a redraw
- - Lowers flicker rate of overlay when editing config
- ran formatter
- probable fix for #288
- probable fix for #287
2024-03-25 17:37:51 +00:00
trigg
6d92d0f79f - Pipewire and Pulseaudio integration
- Opt in Core > Integrate
- When microphone is muted or 0% set client to show muted
- When output is muted or 0% set client to show deafened
- Subscribe to client 'voice_settings_update' events to see when mic/output are changed
- Cleaner quit on Ctrl-C
-Fixes #327
2024-03-25 00:52:20 +00:00
trigg
02e4a455a0 - Add new config variables
- - fade out when inactive
- - inactive time (in seconds) before fade out
- - fade out duration (seconds)
- - fade out lower limit. Lowest opacity at which to stop fading out
- Add activity tracker to voice overlay
- Remove old avatar alpha transparency which reloaded file each time it changed
- Convert to images to PIL and back when needed to lower alpha level
- - This was much less than ideal, but alternatives failed
- Fix issue with premultiplied alpha in image loading
- Lowered minimum avatar opacity
- Fixed an edge case where overlay windows were closed
- Added inactivity variables to config window
- Updated Welsh translation - poorly
2024-03-22 17:37:09 +00:00
Trigg
7a2bc9845e - Implemented Hide-on-mouseover 2024-02-23 11:52:12 +00:00
Trigg
213d68611b - Remove unneeded import logic
- Ran a formatter
- Remove reconnect warning limiting logic
2024-02-13 23:41:30 +00:00
Trigg
8cd376d311 - This change is very far reaching into the internals. For this reason a version bump is required.
- These is a very high chance of new bugs or repeats of old bugs. Be watchful!
- Removed periodic timeout for overlay ticking
- Removed 60hz timeout for reading websocket
- Removed 1hz timeout for text overlay
- Removed 1hz timeout for notification overlay
- Added a one-call timeout for each overlay which happens a configurable time after render to remove it excess data
- Changed flat bool needsrender to a function call set_needs_render
- Where needed, this schedules an idle callback to rerender, cutting down on multiple renders in extremely short time
- Ripped out do_read from connector
- Piped the websocket socket into GLib, allowing it to call back when new data is readable
- Implemented reconnect logic in GLib
- Shortened connect timeout as localhost should be rather quick
2024-02-13 23:24:48 +00:00
Trigg
23321122fa - Reduce reconnection attempt rate when connection fails
- Attempt reconnect 20 seconds after disconnect or failed connect
- Cache users access token after successful authentication
- Use cached access token on connection
- Clear cached access token on failure to connect
2024-02-05 17:31:55 +00:00
trigg
1d83af98c0 - Force monitor as an int 2023-07-14 18:23:30 +01:00
trigg
0cd820a1c6 - Store monitor by index 2023-07-10 18:13:40 +01:00
trigg
cb412c9292 - Added option to hide avatars 2023-04-03 19:50:25 +01:00
Tomas Sandven
29a26d8531 Add optional grace period to "only_speaking" 2023-04-03 11:15:33 +02:00
Trigg
4bfff06893 - Clean out pidfile
- Remove confusing `include_package_data`
2022-08-15 15:18:04 +00:00
trigg
528dc0889b - Limit voice overlay text length option 2022-07-19 21:57:45 +01:00
Trigg
81beb4950a - Changed 'hidden' from transient to config value
- Commented entrypoint
- Cleaned up entrypoint
- Reimplemented 'hide'/'show' options for systray
2022-07-19 10:33:24 +00:00
Trigg
1f6eb658c1 - Start minimized to tray option added 2022-07-19 09:33:20 +00:00
Trigg
548e372ca9 - Fix notification font 2022-07-19 08:53:26 +00:00
Trigg
d02f034073 - Fixes for mixed mode 2022-07-15 09:36:23 +00:00
trigg
6f442524a4 - Pass channel data between settings & overlay 2022-07-14 22:44:53 +01:00
trigg
8937681835 - implemented some more settings 2022-07-14 20:12:22 +01:00
trigg
e0af5fe87f - Detect monitor changes 2022-07-14 18:24:46 +01:00
Trigg
49500d3c75 - warning : broken
- Started refactor to separate config gui completely
2022-07-14 16:36:18 +00:00
trigg
8b507a5323 - Attempt to compensate for compositor stopping 2022-07-07 15:45:36 +01:00
trigg
48107b1f69 - Added toggle option for #238 2022-07-07 15:25:40 +01:00
trigg
d70328d2df - Clean up extra reference keeping
- bump minor version
2022-07-07 15:04:05 +01:00
Trigg
4c074737aa - Fix #254 2022-06-10 09:17:55 +00:00
luni3359
952175628e Fix no language fallback crashing the program
Without the fallback, the program will immediately crash at the start when it tries
to load a translation that doesn't exist.
2022-05-29 00:13:50 -05:00
Trigg
01248c39f1 - Include installed version at start of log
- Include installed version in 'about' screen
2022-05-17 14:52:30 +00:00
Trigg
57b482ebf4 - Implemented line limit for text overlay
- Remove attachments when that are out of scope
2022-05-17 10:11:59 +00:00
Trigg
bd2a64ac70 - Remove dbus
- hopefully fixes #248
- hopefully fixes #242
- Removed birdy
- Moved notification logic into overlay
2022-05-17 08:52:39 +00:00
trigg
4f7a5b19df - Remove last remnants of warning message 2022-04-23 22:25:23 +00:00
Trigg
e3a9d387c1 - Use gettext for UI and --help
- Add Welsh using google. Sorry.
2022-04-21 17:39:06 +00:00
trigg
fa5a948197 - Improve error reporting
- Added Idle border colour option
2022-04-15 13:46:52 +00:00
trigg
a6bd38bf8e - Fix #233 2022-04-15 12:58:15 +00:00
Trigg
c8122b2cca - Added functions to alter some user state
- Hooked in new RPC commands
2022-04-14 22:01:54 +00:00
trigg
77ec14b4d2 - Clear userlist between rooms
- Fixes for logger
- remove some unneeded logs
2022-04-12 19:58:11 +00:00
trigg
ab5093773c - Some notifications crashes fixed
- Icon gap removed if no icon needed in notification
2022-04-09 11:14:52 +00:00
trigg
3c3455b0bc - check again 2022-03-31 18:12:00 +00:00
trigg
fd25c4b34f - Moved debug up a level to catch more errors 2022-03-31 18:02:11 +00:00
trigg
0ce13b6aac - use __name__ for logging
- Don't 'try' if you can 'if'
2022-03-31 17:42:47 +00:00
trigg
8737ba2e43 - Fix #220 2022-03-31 17:26:15 +00:00
trigg
9344f59e19 - Don't crash if missing dbus
- Show warning in about when exceeding guild limit
2022-03-31 17:07:51 +00:00
Trigg
3e291c565e - Remove one log which causes too much log spam 2022-03-31 09:12:52 +00:00
Trigg
822865e909 - Added birdy
- Decode dbus byte data into images for notifications
2022-03-30 13:18:06 +00:00
Trigg
1ac75c94f9 - Moved some gui logic out of connector
- Added dbus and notification eavesdropping
- Added new overlay to show freedesktop notifications
- Taught text overlay to piggyback
2022-03-29 19:19:44 +00:00
Trigg
93a685fc0e - remove --nolock
- autodetect flatpak env and use alternative logic flow
- added `--rpc`
2022-03-21 11:02:06 +00:00
Trigg
695caaf2cf - Format
- I really shouldn't leave it so long between runs
2022-03-14 17:13:41 +00:00