Commit Graph

80 Commits

Author SHA1 Message Date
dec05eba
1d9d4d6398 Make hotkeys reconfigurable, faster hotkey startup time, fix some keyboard locale issues 2025-01-23 21:25:45 +01:00
dec05eba
47ada4d798 Add option to save replay with controller (double-click share button), allow prime-run on wayland 2025-01-20 23:11:00 +01:00
dec05eba
eb4ce76f01 Install flatpak version of the systemd service if missing or remove it if not using flatpak version 2025-01-16 19:34:47 +01:00
dec05eba
698538ac84 Unset DRI_PRIME as well 2025-01-08 17:17:48 +01:00
dec05eba
52ce22ae22 Add option to only grab virtual devices, to support input remapping software 2025-01-04 05:39:16 +01:00
dec05eba
f4dc077299 pidof ignore self 2025-01-04 02:30:14 +01:00
dec05eba
9998db8afa Check if gsr-ui is running with pidof equivalent, show ui on restart after enabling/disabling hotkeys 2025-01-03 23:34:53 +01:00
dec05eba
6c03137610 Add option to disable hotkeys, add gsr-ui-cli tool to control gsr-ui remotely 2025-01-03 22:37:13 +01:00
dec05eba
94cb63f00f Newline after show_ui command 2024-12-31 01:01:07 +01:00
dec05eba
c2dca2e8f8 Start on rpc, open existing instances ui when trying to launch gsr-ui a second time 2024-12-30 22:57:48 +01:00
dec05eba
38e2a06bca Fix go back to old ui incorrect arg 2024-12-29 21:22:35 +01:00
dec05eba
5deac012c2 Better error message 2024-12-29 20:56:44 +01:00
dec05eba
a119220961 Add buttons to exit program and to go back to old ui for flatpak 2024-12-29 20:37:11 +01:00
dec05eba
5ab4c7b752 Use flatpak specific path for gsr-global-hotkeys 2024-12-29 18:56:42 +01:00
dec05eba
78f44a9486 Detect multiple instances of gsr-ui by detecting virtual keyboard presence instead. This works in flatpak 2024-12-29 15:31:28 +01:00
dec05eba
b96b877a1a Only allow one instance of gsr-ui to run 2024-12-29 15:21:38 +01:00
dec05eba
c5c79bec64 Better debug test 2024-12-29 14:42:45 +01:00
dec05eba
050e8773cc Add option to launch the program and show the UI immediately, with 'gsr-ui launch-show' 2024-12-29 14:29:03 +01:00
dec05eba
14b0d376a8 Prevent focused application from receiving global hotkey keys on wayland as well (massive hack) 2024-12-16 21:48:35 +01:00
dec05eba
ebd8c2726b Rewrite linux global hotkey to not depend on any libraries (also allows it to work on non-systemd systems(?)), remove unused gsr-window-name 2024-12-16 02:21:38 +01:00
dec05eba
f3565fdd77 Query capture options when opening settings and validate capture options when starting recording 2024-12-08 14:32:11 +01:00
dec05eba
6cde892148 Use X11 global hotkeys on X11 when possible to prevent clashing with keys used by other applications 2024-11-30 22:26:56 +01:00
dec05eba
5cfca3e55a Properly close program when disconnected from the X server 2024-11-26 18:27:56 +01:00
dec05eba
a872c07f7a Dont allow running the program as the root user 2024-11-24 22:53:29 +01:00
dec05eba
9b363d3c0d Shutdown if the x11 connection shuts down 2024-11-24 20:09:45 +01:00
dec05eba
3468554eb3 Allow running the ui on Wayland through XWayland 2024-11-24 19:13:35 +01:00
dec05eba
734280f304 Use linux /dev/input for global hotkeys instead of x11. This also works on wayland on any compositor 2024-11-24 18:33:57 +01:00
dec05eba
d2f6b0738b Add option to start replay on fullscreen 2024-11-14 00:25:37 +01:00
dec05eba
623297b18a Prefer window title for game name rather than class, fix game names with slash not saving to correct dir 2024-11-04 22:48:05 +01:00
dec05eba
bfadff61d2 Force window always on top, even if restacking order changes 2024-11-02 11:56:01 +01:00
dec05eba
6fbd8b0dd3 Add option to automatically turn on replay at system startup 2024-11-01 20:10:48 +01:00
dec05eba
cd89668d0c Reduce cpu usage when ui is not visible 2024-10-27 15:07:24 +01:00
dec05eba
fde7e3c499 Fix for prime systems 2024-10-27 14:19:18 +01:00
dec05eba
80ff6582a9 Fix window not visible in fullscreen applications 2024-10-27 13:59:17 +01:00
dec05eba
59dfd87c21 Add hotkeys for replay and streaming, finish everything 2024-10-27 13:09:06 +01:00
dec05eba
1d2fc77cfc Make the ui the daemon instead, add hotkey for recording/pause 2024-10-26 11:37:52 +02:00
dec05eba
57977f29e1 gsr-overlay > gsr-ui, 2 2024-10-20 22:46:28 +02:00
dec05eba
d84054ecbb gsr-overlay > gsr-ui 2024-10-20 22:44:15 +02:00
dec05eba
7d6732a7d3 Only allow x11 for now 2024-09-11 19:58:30 +02:00
dec05eba
b145d957e3 More 2024-09-08 17:07:22 +02:00
dec05eba
3d5e8baa5f File chooser navigation 2024-08-25 13:39:33 +02:00
dec05eba
54c60d9a18 Start on file chooser, page stack 2024-08-23 18:53:19 +02:00
dec05eba
4ea5ada905 Settings page save settings, refactor 2024-08-10 00:45:36 +02:00
dec05eba
1a49f86e98 Add settings icon, close window when pressing the close button 2024-08-07 21:27:36 +02:00
dec05eba
b709805cfa Move settings ui to SettingsPage class, show different widgets for different settings page, show different widgets depending on combobox selections 2024-08-07 20:32:59 +02:00
dec05eba
2ea32e1109 glClear if compositor in use 2024-08-07 10:44:42 +02:00
dec05eba
d807484f71 Draw dark overlay on window texture 2024-08-07 09:32:38 +02:00
dec05eba
f640a3ed33 Use window texture (xcomposite) for background if the window is fullscreen on the selected monitor 2024-08-07 09:30:27 +02:00
dec05eba
8b98c612f7 Use stack for page navigation, dont add spacing between list elements if the widget is empty or not visible 2024-08-07 07:17:48 +02:00
dec05eba
8a0efc9e00 Monitor name 2024-08-07 00:22:29 +02:00