Commit graph

502 commits

Author SHA1 Message Date
outfoxxed
af86d5fd19
hyprland/surface: remove debug print 2025-01-05 23:53:03 -08:00
outfoxxed
761d99d644
service/mpris: reset position timestamps on seek
Moving the onPositionUpdated callback to a bpPosition binding caused
it not to fire when Position was changed to the same value, which can
happen when quickly changing tracks before the player has sent a new
position.

This reverts the above change while still updating position on seek.
2025-01-05 01:55:33 -08:00
outfoxxed
fca058e66c
service/upower: add device model property 2025-01-04 04:38:03 -08:00
outfoxxed
eaf854935b
service/upower: correctly deserialize UPowerDeviceState::Discharging
???
2025-01-04 03:37:53 -08:00
outfoxxed
f3b7171b25
core/window: allow explicit surface format selection 2025-01-04 03:04:41 -08:00
outfoxxed
dc3a79600d
core/command: avoid running when cli11 forces returning 0
Fixes running when --help is passed.
2025-01-03 02:42:32 -08:00
outfoxxed
47bcf8ee61
service/upower: add power-profiles support 2025-01-02 21:54:36 -08:00
outfoxxed
66b9917e70
service/mpris: trigger onPositionUpdated when seeking 2025-01-01 19:56:51 -08:00
outfoxxed
3a40174ed6
hyprland/surface: add hyprland surface opacity support 2025-01-01 17:45:23 -08:00
outfoxxed
08836ca1f3
core/scriptmodel: add expression model for unique lists 2024-12-27 04:16:12 -08:00
outfoxxed
2f194b7894
service/upower: track device additions/removals
Also ensures displayDevice is always present.
2024-12-20 15:58:44 -08:00
outfoxxed
611cd76abc
core/proxywindow: connect mScreen's destroy signal in all cases
Fixes edge case crashes when unplugging and replugging monitors.
2024-12-19 03:34:07 -08:00
outfoxxed
27840db7a6
service/mpris: don't send postTrackChanged unless trackChanged sent 2024-12-13 15:04:28 -08:00
outfoxxed
a053373d57
core/qsmenu!: improve menu layout change UX
Exposes QsMenuOpener.children as an ObjectModel instead of a list to
allow smoother layout change handling in custom menu renderers.

Fixes QsMenuAnchor/platform menus closing whenever menu content changes.
2024-12-13 01:30:11 -08:00
outfoxxed
3fc1c914c7
lint: remove reinterpret_cast lint
Unhelpful.
2024-12-06 20:18:38 -08:00
outfoxxed
be5e5fc4a5
lint: remove broken lint selection
The first line ended with a period instead of a comma, but both lints
were additionally unhelpful for quickshell.
2024-12-06 19:43:16 -08:00
outfoxxed
ded3708762
io/fileview: correctly mark signals as signals in docs 2024-12-06 03:19:58 -08:00
outfoxxed
69d13967c9
io/fileview: add support for watching changes 2024-12-06 02:32:19 -08:00
outfoxxed
ccf885081c
build: add progress bar to just lint-changed 2024-12-06 01:20:05 -08:00
outfoxxed
70be74e80d
io/fileview: add write support
FileView is now getting somewhat out of hand. The asynchronous parts
especially need to be redone, but this will work for now.
2024-12-06 01:18:31 -08:00
outfoxxed
2d05c7a89e
core/menu: correctly handle menu destruction while open 2024-12-05 19:46:08 -08:00
outfoxxed
26280b34b4
widgets/cliprect: fix typo in bottomRightRadius 2024-12-03 23:27:50 -08:00
outfoxxed
af14a416c1
widgets/wrapper: update child geometry when implicit size changes
The implicit size update from a child item of a MarginWrapper
component triggers an implicit size update of the wrapper component,
but this does not necessarily result in the actual size of the wrapper
changing (e.g. when it is positioned by a layout).
2024-11-29 02:03:54 -08:00
outfoxxed
cb05e9a327
core/reloader: fix incubator warnings 2024-11-29 01:37:14 -08:00
outfoxxed
8882f7ca50
core/proxywindow: fix ProxiedWindow proxy pointer after reload
Previously was not updated after reload, causing QsWindowAttached to
use the old window pointer after it had been freed.
2024-11-29 00:11:56 -08:00
outfoxxed
59298f6507
i3: fix Q_PROPERTY definitions for use with typegen
The regex currently can't handle line breaks
2024-11-27 23:47:28 -08:00
outfoxxed
fd87be1355
widgets/cliprect: pass user input to contained items 2024-11-27 23:43:03 -08:00
outfoxxed
b6a79fe99c
core/proxywindow: improve QsWindowAttached robustness
Can now track window parent window changes.
Added tests.
2024-11-27 23:30:38 -08:00
outfoxxed
539692bc11
service/tray: re-add Q_INVOKABLE to invokable functions
Was accidentally removed in the last refactor.
2024-11-26 14:48:54 -08:00
outfoxxed
87a57b7a2c
launch: don't try to write daemon exit from monitor process 2024-11-24 13:38:14 -08:00
outfoxxed
e3d003e7ab
core/popupanchor: emit anchoring() before checking anchor props 2024-11-24 13:22:10 -08:00
outfoxxed
6f9993394a
hyprland/ipc: pad event argument list to given count
Fixes crash when assuming more arguments than given will be available,
and trailing ",".
2024-11-24 13:21:09 -08:00
Nydragon
31adcaac76
i3/sway: add support for the I3 and Sway IPC
sway: add urgent and focused dispatchers to workspaces

flake: add sway toggle

WIP sway: add monitor status

sway: handle multiple ipc events in one line

sway: reuse socket connection for dispatches & better command type handling

WIP sway: add associated monitor to a workspace

i3/sway: update to allow for i3 compatibility

i3/sway: manage setting the focused monitors

i3/sway: fix multi monitor crash

i3/sway: fix linting errors

i3/sway: update nix package flag naming to i3

i3/sway: add documentation, fix module.md and impl monitorFor

i3/sway: handle more workspace ipc events

i3/sway: fix review

i3/sway: fix crash due to newline breaking up an IPC message

i3/sway: handle broken messages by forwarding to the next magic sequence

i3/sway: break loop when buffer is empty

i3/sway: fix monitor focus & focused monitor signal not being emitted

i3/sway: use datastreams instead of qbytearrays for socket reading

i3/sway: fix lint issues

i3/sway: drop second socket connection, remove dispatch return value, recreate IPC connection on fatal error

i3/sway: handle run_command responses

i3/sway: remove reconnection on unknown event

i3/sway: fix formatting, lint & avoid writing to socket if connection is not open
2024-11-24 12:50:22 +01:00
Nydragon
84ce47b6d3
build: add justfile entry to lint only changed files 2024-11-24 12:50:10 +01:00
outfoxxed
2571766d3b
all: fix clang 18 lints 2024-11-24 03:36:04 -08:00
outfoxxed
e957e88ccb
ci: run lints and test compile on arch 2024-11-24 02:09:41 -08:00
outfoxxed
9b409c0e38
ci: use qt6.7.2 from cached nixpkgs commit
No point in building qtdeclarative every ci run.
2024-11-23 05:39:27 -08:00
outfoxxed
cb426973d7
ci: test compilation against supported qt version / compiler matrix 2024-11-23 05:20:51 -08:00
outfoxxed
57a5d8e1ed
core/reloader: wrap QQuickItem root nodes in a floating window
Useful for testing
2024-11-22 20:18:04 -08:00
outfoxxed
c21df95087
core/reloader: do not require ShellRoot 2024-11-22 19:40:39 -08:00
outfoxxed
2996e40ff9
core/plugin: rename QuickshellPlugin to QsEnginePlugin
Fixes conflict with the autogenerated qml plugin of the same name.
2024-11-22 18:59:15 -08:00
outfoxxed
afa1b6f88b
wayland/layershell: link to xdg-shell protocol codegen 2024-11-22 18:57:11 -08:00
outfoxxed
a8901fde67
debug/lint: run lints on reload for visible windows 2024-11-22 17:55:45 -08:00
outfoxxed
8d63006bba
widgets/wrapper: fix default child not being assigned initially 2024-11-22 17:35:02 -08:00
outfoxxed
5b01ec032e
debug/linter: remove log messages
Printing qml items here breaks the qml engine in a way that made
transparent rectangles in the scene graph opaque.
2024-11-22 16:15:03 -08:00
outfoxxed
f0aca2030e
core/proxywindow: notify for width/height changes after connect
Previously the content item would resize but w/h wouldn't be updated.
2024-11-22 15:39:39 -08:00
outfoxxed
5301227ec1
service/tray: fix compile on qt versions older than 6.8 2024-11-22 15:35:21 -08:00
outfoxxed
ec143d6119
dbus/properties: remove non bindable based dbus property impl 2024-11-21 19:54:07 -08:00
outfoxxed
324fe9274d
all: remove unused dbus props and warnings for non-required ones 2024-11-21 19:45:45 -08:00
outfoxxed
b43b4a06d0
service/tray: adopt bindable properties 2024-11-21 19:44:51 -08:00