Commit graph

533 commits

Author SHA1 Message Date
trigg
8e459fb6a6 - Fix warnings on 'any' monitor choice 2024-07-09 01:13:59 +01:00
trigg
17a9bc5f02 - First pass at pylint clean-up 2024-07-08 23:32:59 +01:00
trigg
062e8b102f - Fix an accidental unmute bug in audioassist
- Code cleanup
2024-07-08 16:20:52 +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
3d95735c78 - version bump 2024-07-08 11:22:35 +01:00
trigg
bbd1a08d54 - Fix #336 2024-06-10 22:32:48 +01:00
trigg
1e74b118b6 - Version bump 2024-04-25 00:29:24 +01:00
trigg
a466a7be5b - Repair Cinnamon workaround
- fixes #331
2024-04-25 00:23:25 +01:00
trigg
a4cdab469c - Further zero-monitor fixing 2024-04-14 22:29:38 +01:00
trigg
cfac0d1bf0 - Add localised text to system tray 2024-04-14 20:32:16 +01:00
trigg
d2bacffff0 - Fix a settings crash where user has no monitors for a moment
- Fix audio assist going out of sync with discord state
- Fixes #330
2024-04-14 20:23:03 +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
b8ef07c943 - Consider piggyback content in has_content
- Allow set_needs_redraw to push through disabled window
- Set enable/disable should only redraw piggyback windows
2024-04-06 16:32:44 +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
e48fecaf74 - Version bump 2024-04-03 22:07:16 +01:00
trigg
78d1d8f379
Merge pull request #328 from Bqleine/master
Update French translations
2024-04-03 21:54:53 +01:00
Noé Lopez
d625a0766e Update French translations 2024-04-03 22:51:15 +02:00
trigg
c4e1a62f61 - Some new translation keys 2024-03-31 20:12:22 +01:00
trigg
2243681f63 - Fix hide overlay option
- Added settings keypress handler
- - Override arrow key behaviour to always be navigation
- - Add space/escape keys to focus on specific widgets
- - when focused allow alerting of number
- - Highlight focused widget
- - F1/F2 to switch tabs
- Moved advanced voice options to another tab
- Changed float/edge option to a pull-down box
-Fixed bug where mouse-over options reset to default in settings
- Fixed show/hide on float/edge options
2024-03-26 21:20:40 +00: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
ff69a4ed8f - Version bump 2024-03-24 23:36:58 +00:00
trigg
2ae0b8204c - Fix fadeout timeouts not being cleanly canceled 2024-03-24 23:27:30 +00:00
trigg
c07b87eace - Debounce setting gamescope xatom too often
- Check for existence of x11 window before attempting to use it in overlay
- Check for valid monitor before setting window size based on it
- Check for existence of x11 window when unsetting xshape
- Fix typo in redraw logic for gamescope mode
2024-03-23 20:26:14 +00:00
trigg
12a1dc68ff
Merge pull request #324 from Bqleine/master
Update French translations
2024-03-23 00:43:34 +00:00
Noé Lopez
175783641a Update French translations 2024-03-23 00:18:18 +01: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
f101e33627
Update bug_report.md 2024-03-20 00:07:12 +00:00
trigg
44b7e4c725 - Remove some unused variables 2024-03-18 19:05:44 +00:00
trigg
7df5b6cac4 - Remove debug logging 2024-03-18 13:32:56 +00:00
trigg
19e2b71345 - Remove stale socket fd on disconnect
- - Stops gtk main spinning a cpu core to 100% waiting on it.
- Bump version
2024-03-18 13:29:00 +00:00
trigg
3833ce7a19 - Disallow setting overlays to 'edge' when cinnamon is detected 2024-03-15 15:47:58 +00:00
trigg
f30c8c404d - Ignore user preference on floating vs edge on cinnamon desktop 2024-03-13 21:47:44 +00:00
Trigg
8612458a68 - Hide settings/overview/Close overlay when not in SteamOS mode 2024-02-23 13:55:14 +00:00
trigg
64c771d635
Merge pull request #321 from Bqleine/master
- Update french translations and po files
2024-02-23 13:27:03 +00:00
Noé Lopez
dd6ebad182 - Update french translations and po files 2024-02-23 14:24:22 +01:00
Trigg
1844e32ebe - Close with message if user denied overlay permissions 2024-02-23 12:28:26 +00:00
Trigg
fdb8a48267 - Fix Bazzite autostart tickbox
- fixes #320
- The approach is a bit heavy-handed but functionally will work fine.
2024-02-23 12:18:24 +00:00
Trigg
7a2bc9845e - Implemented Hide-on-mouseover 2024-02-23 11:52:12 +00:00
trigg
f67f5ccc4e
- Call overlay draw correctly on close 2024-02-14 11:23:53 +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
667ad02a4c - Use a more neutral origin
- Uncertain but this is less likely to be a problem later if we work out ArRPC interop
2024-02-05 17:57:30 +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
c0098a45f9 - Catch resolution & monitor changes
- Attempt to re assign monitor when needed
- Still buggy but an improvement
- Bump version
- Fix Window name on notifications
2024-02-03 16:08:45 +00:00
Trigg
6ea2b7df46 - More useful readme 2024-01-22 22:53:46 +00:00
Trigg
1f8928b879 - Fix accidentally inserting dud data into test content 2023-12-27 16:18:20 +00:00
Trigg
14069fbd72 - Always check your logic, kids.
- Fixed #317
2023-11-15 14:19:28 +00:00
trigg
3a3cb2e0ca
Update README.md 2023-10-06 15:28:25 +01:00
trigg
daa716c84f - Updated README 2023-09-29 10:09:17 +01:00