Commit Graph

49 Commits

Author SHA1 Message Date
Aleksander d97bbfc796 dash-frontend: games: pagination 2026-01-27 19:49:27 +01:00
Aleksander 19083cfd83 dash-frontend: Top panel title 2026-01-27 19:49:27 +01:00
galister 6960652379 reset playspace button in settings 2026-01-25 11:44:17 +09:00
Aleksander 03a1f449b5 Running games list (Closes #398) 2026-01-18 03:20:29 +00:00
Aleksander 7b3a2a1e48 UI gradient intensity slider, update wgui Defaults for dashboard, prepend ui-related config entries with `ui_` 2026-01-18 03:20:29 +00:00
Aleksander dabd122a1d translations, minor refactoring, wgui: gradient intensity in globals, dash-frontend: remove unused window_list, process_list and window_options 2026-01-18 03:20:29 +00:00
Jay 7059a85742
Re-implement custom audio files support. (#379)
* reimplement custom audio loading for `toast` and `key_click` using `from_mp3`

* run cargo fmt

* `try_bytes_from_config`: output with `log::trace` when file cannot be opened

* rewrite `try_bytes_from_config`

* use file `read_to_end`, log categories

* edit `register_wgui_samples`

* rework audio functions for loading custom wgui sounds
oh hey, it works!

* clean up

* allow custom `startup` and `app_start` sounds
these sounds are loaded on-demand and never registered; this behaviour is unchanged

* edit `bytes_from_config` outputs

* use return value of `read_to_end` instead of `len()` for reported file size

* implement suggested changes
- remove now-unused `register_mp3_sample_from_assets` function
- replace implementation of `try_bytes_from_config`
  - missing the `real_path` context

* swap out `context`s for `inspect_err`s with closures to output `real_path`

* clean up `audio.rs`
- remove unused import
- unify capitalisation + quotes in output messages.
2026-01-12 12:42:03 +00:00
Aleksander 37e3ab1bda dash-frontend: Scrollable audio device list (Closes #353), wgui: fix scrollbar rendering 2026-01-11 11:11:01 +01:00
galister ba99dececf disable confusing UI sections 2026-01-10 18:57:09 +09:00
Helooprototo e5f0131730
Merge pull request #349 from Helooprototo/main
Allow controlling of the Watch and Kbd via wayvrctl
2026-01-09 19:05:50 +00:00
galister 9547da21ce X button on dashboard 2026-01-10 03:18:08 +09:00
galister c799ecea93 fix features 2026-01-09 20:27:20 +09:00
galister e6e1764b36 fmt 2026-01-09 11:48:44 +09:00
galister ce558855d4 settings implementation 2026-01-07 02:23:39 +09:00
Aleksander 51dbb6f14d checkbox sounds, app launch sounds 2026-01-06 17:09:39 +01:00
Aleksander a196dd9b3a wgui: windowing: `close_if_clicked_outside` support, context menus 2026-01-06 00:06:06 +01:00
galister 164e9764eb fmt 2026-01-05 20:52:34 +09:00
galister b56aa1a8de bar app icons & tooltips 2026-01-05 15:45:19 +09:00
Aleksander 553dd02fc4 do not keep startup sound in memory 2026-01-04 12:51:12 +01:00
Aleksander feba52c28f dash and wgui sounds 2026-01-03 15:00:47 +01:00
galister 9425db9ae4
generics + DashInterface impl (#334) 2025-12-28 18:44:58 +00:00
galister f4545241df background app entry finder 2025-12-27 20:15:42 +09:00
galister d90d71a32d glob-based icon discovery but very slow 2025-12-27 18:48:33 +09:00
Aleksander 1364a5cb2e fix animations, fix SlotMap dirty widget panic, set gui scale, set dash to 1080p
[skip ci]
2025-12-26 15:02:08 +01:00
Aleksander 4f7204ccf7 remove RcFrontend & RcLayout
[skip ci]
2025-12-26 12:43:14 +01:00
galister f29de34de2 [skip ci] refactor dash? 2025-12-26 19:28:13 +09:00
Aleksander bfad91bf72 HTTP client, game cover art fetcher, game list image display, use `smol::LocalExecutor` for async runtime 2025-12-25 21:51:38 +01:00
Aleksander ccf72b16c5 move `add_display::View` -> `add_window::View` & `display_options::View` -> `window_options::VIew`, remove displays logic and replace it with window ones
[skip ci]
2025-12-25 14:57:10 +01:00
Aleksander 2d40b8ac00 App launcher
[skip ci]
2025-12-23 19:17:51 +01:00
Aleksander 1b4c2a9006 tooltip wrap, clippy
[skip ci]
2025-12-23 17:14:46 +01:00
Aleksander 848674c143 `process_list::View` done 2025-12-21 16:00:54 +01:00
Aleksander 5462e84995 `display_options::View` done 2025-12-21 13:59:17 +01:00
Aleksander 9aea733452 `display_list`, `add_display` views (wip)
[skip ci]
2025-12-21 13:59:17 +01:00
Aleksander 7118cea810 DashInterface, DashInterfaceEmulated 2025-12-21 13:59:17 +01:00
galister 8b4e60e221 format 2025-12-12 20:44:06 +09:00
galister 1724d39697 FileOrBuiltIn asset paths, theming support 2025-12-11 01:09:49 +09:00
Aleksander b0985e33af dash-frontend: toast messages, 📦📎 2025-12-08 22:42:05 +01:00
Aleksander bc5075a732 Fully functional audio settings, add `sprite_src` for `<Button>` 2025-12-06 12:08:25 +01:00
Aleksander 1d60bed361 Audio settings: Sinks and sources control fully implemented (cards wip), port `pactl_wrapper` 2025-12-05 21:30:17 +01:00
Aleksander 9767940923 Audio settings pop-up 2025-12-04 21:04:52 +01:00
Aleksander 6b4039a764 App launcher view 2025-11-30 15:28:05 +01:00
Aleksander 7d581c1561 dash-frontend: popup manager 2025-11-27 23:28:10 +01:00
Aleksander 6136a5aa43 clippy 2025-11-12 17:06:53 +01:00
Aleksander 6f41ffe59c `SettingsIO` trait, save/load settings to/from file 2025-11-08 11:16:19 +01:00
Aleksander 71898056f3 add `WguiFontSystem`, remove `FONT_SYSTEM` singleton, custom fonts, add `Light` font weight
there are a few gzip-compressed ttf as for now, looks like variable fonts aren't parsed properly by cosmic_text. Not sure why. Also, we probably need to have a fallback for CJK characters in the future, or just fallback to the built-in ones in the OS.
2025-11-07 22:21:57 +01:00
Aleksander d2c23ac6a9 add settings: am/pm clock, opaque background, hide username 2025-11-07 19:40:38 +01:00
Aleksander 433b7f53b5 remember checked settings in memory 2025-11-06 21:12:26 +01:00
Aleksander e087eb3743 settings gui PoC 2025-11-05 22:37:07 +01:00
Aleksander 33955498cc move stuff to frontend.rs 2025-11-05 21:12:01 +01:00