Commit Graph
420 Commits
Author SHA1 Message Date
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
outfoxxed 0e9e593078 dbus/properties: allow removing to/from wire transforms
Useful when properties are only read/written in one direction.
2024-11-21 19:14:06 -08:00
outfoxxed ac50767873 service/tray!: refactor qml bindings to StatusNotifierItem
Breaking: Dropped SystemTrayMenuWatcher.
2024-11-21 05:10:54 -08:00
outfoxxed f53e6fb515 dbus/dbusmenu: use bindable dbus properties 2024-11-21 04:06:24 -08:00
outfoxxed ff55ac874b service/upower: adopt bindable properties 2024-11-21 03:40:53 -08:00
outfoxxed d4deb11216 dbus/properties: support data transformation/validation before store 2024-11-21 03:28:33 -08:00
outfoxxed a13c9d91b5 service/notifications: adopt bindable properties 2024-11-20 22:26:51 -08:00
outfoxxed abb900b7ff service/mpris!: do not provide fallback track information
See the [!TIP] messages for more information.
2024-11-20 19:58:57 -08:00
outfoxxed e2ef7b7982 service/mpris: add isPlaying 2024-11-20 19:52:11 -08:00
outfoxxed db9e633197 service/mpris: adopt bindable properties 2024-11-20 19:31:40 -08:00
outfoxxed 1955deee74 dbus/properties: add QObjectBindableProperty based dbus property
Many times more lightweight than the original QObject-based one.
2024-11-20 19:22:23 -08:00
outfoxxed 4163713bc4 dbus/properties: decouple properties from AbstractDBusProperty
Importantly, this decouples properties from having to be QObjects,
allowing future property types to be much lighter.
2024-11-20 03:28:48 -08:00
outfoxxed dca75b7d6a service/mpris: clarify trackinfo emit order and use QBindings 2024-11-20 00:52:47 -08:00
outfoxxed 8450543e09 service/mpris!: convert trackArtists from list<string> to string
Most people treat it as a string already, which breaks in Qt 6.8,
and I have not seen a meaningful multi-artist response.
2024-11-19 18:28:19 -08:00
outfoxxed dbaaf55eb6 core/popupwindow: remove parentWindow deprecation message
Was being falsely triggered by lints.
2024-11-19 17:20:53 -08:00
outfoxxed eb5a5b8b67 debug: run lints after window expose
Ensures items are at their final sizes before checking them,
fixing some false positives.
2024-11-19 15:58:55 -08:00
outfoxxed 6ceee06884 debug: add lint for zero sized items 2024-11-19 15:25:42 -08:00
outfoxxed 66b494d760 build: add qs_add_link_dependencies
Further inspection as to what libraries actually require which others
will be required before this can be used as a hint for shared builds.
2024-11-19 13:58:34 -08:00
outfoxxed f4066cb4ed core/popupanchor: add anchoring signal for last second repositioning 2024-11-19 03:29:31 -08:00
outfoxxed ee93306312 widgets/wrapper: fix margin wrapper reactvity and margins
Fixed reactivity of the paren't actual size not working before child
had been assigned.

Fixed incorrect margins when actual size is less than implicit size.
2024-11-19 02:57:04 -08:00
outfoxxed 033e810871 widgets: add ClippingWrapperRectangle 2024-11-19 02:52:49 -08:00
outfoxxed 401ee4cec6 widgets: add wrapper components and managers 2024-11-19 02:02:55 -08:00
outfoxxed 79fca3cab8 docs: mention spirv-tools in BUILD.md 2024-11-17 21:38:56 -08:00
outfoxxed 36174854ad services/tray: fix const lint in item 2024-11-17 19:28:07 -08:00
outfoxxed fdc13023b7 widgets: add ClippingRectangle 2024-11-17 19:27:59 -08:00
outfoxxed 68ba5005ce core/icon: ability to specify a fallback or check if an icon exists 2024-11-17 14:46:34 -08:00
outfoxxed d2667369e1 core/qmlglobal: add shellRoot property 2024-11-17 01:49:27 -08:00
outfoxxed 7db3772641 core/generation: short circuit findObjectGeneration if only one exists 2024-11-17 01:46:49 -08:00
outfoxxed 29d31f5d3b docs: add note that private qt headers are required for some libs 2024-11-17 01:36:25 -08:00
outfoxxed 36d1dbeb69 service/tray: report misbehaving tray hosts
I've debugged broken tray items that just end up being a bad host far
too many times.
2024-11-17 01:30:54 -08:00
outfoxxed 0445eee33a io/process: support commands at file:// and root:// paths. 2024-11-17 00:47:22 -08:00
outfoxxed 60dfa67ec7 io/fileview: support zero-sized files (/proc) 2024-11-14 17:54:16 -08:00
outfoxxed 0dd19d4a18 core/proxywindow: remove blank frame when destroying window
Removes the blank frame caused by removing the content item from the
window. Fixes an issue with hyprland's window exit animations.
2024-11-12 04:35:42 -08:00