Commit Graph
511 Commits
Author SHA1 Message Date
outfoxxed e0cff677a5 wayland/layershell: refactor layer shell surface integration
In addition to the much needed cleanup:

- The bridge/extension type is now directly tied to the QWindow
instead of the WlrLayershell object, and is much smaller.
- Layer requests are now comitted via polish instead of for each
change individually.
2025-05-13 14:56:49 -07:00
outfoxxed 6a8284dae3 core/window: add implicit size properties to window types 2025-05-12 19:42:46 -07:00
outfoxxed ead9141aca widgets/wrapper: add distinct top/bottom/left/right margins 2025-05-12 13:53:07 -07:00
outfoxxed ca26210cc4 core/desktopentry: check XDG_DATA_HOME according to base dirs spec
Closes #34
2025-05-11 18:30:31 -07:00
outfoxxed 8863bf55ff core/window: fix null QObject::connect in ProxyWindowBase::setScreen 2025-05-05 22:52:47 -07:00
outfoxxed 67524f9d8e wayland/lock: fix protocol errors with Qt 6.9.0
QWaylandWindow::initWindow now forces a null surface commit which is
illegal. This change swaps the surface out for a dummy during
initWindow.
2025-04-26 16:19:07 -07:00
outfoxxed ed528268e0 core/scriptmodel: detatch mValues when accessed during update
Fixes iterator invalidation caused by the QML engine.
2025-04-06 01:40:55 -07:00
Andrew Wong 3a97da0029 guix: add wrap-program phase
This lets quickshell find QML modules outside of 'guix shell'.
2025-03-30 00:18:06 -07:00
outfoxxed 4ea77a8eb6 wayland: update QWaylandShellSurface impls to use updateExposure()
For Qt 6.9.0
2025-03-27 15:57:57 -07:00
outfoxxed 14aa1793df i3/ipc: fix workspace and monitor focus being unset on launch 2025-03-27 15:56:53 -07:00
outfoxxed 2028766e61 i3/ipc: provide default sorting for workspaces 2025-03-27 14:52:58 -07:00
outfoxxed d6a4ebc742 hyprland/ipc: provide default sorting for workspaces 2025-03-27 14:39:27 -07:00
outfoxxed fa74449139 service/tray: add "Communications" category
Closes #28
2025-03-27 14:01:41 -07:00
outfoxxed 69430e3873 service/tray: provide default sorting for SystemTray.items
Items are first sorted by category, and then by name.
2025-03-27 13:51:43 -07:00
outfoxxed 392f56c40e hyprland/ipc: further cleanup + add Hyprland.focusedWorkspace 2025-03-27 00:25:21 -07:00
outfoxxed 67b2682604 i3/ipc: general cleanup + add active property
Brings the I3 ipc interface inline with the Hyprland one.
2025-03-27 00:05:05 -07:00
outfoxxed 8f11d60999 hyprland/ipc: make monitor bindable + fix property errors 2025-03-26 22:14:35 -07:00
outfoxxed 62ccab5d30 hyprland/ipc: expose active and focused properties + activate() 2025-03-26 03:11:36 -07:00
Andrew Wong 207e6114a3 guix: add guix package definition
This allows the repository to be used as a channel. It can also be used to
enter a development/trial shell.
2025-03-24 22:04:18 -07:00
outfoxxed 1a20c39fba i3/ipc: convert to bindable properties 2025-03-21 02:46:47 -07:00
outfoxxed 3b2d84caf0 hyprland/ipc: convert to bindable properties 2025-03-21 02:46:09 -07:00
outfoxxed eabf79ebb6 core/command: allow qs log to retrieve logs of dead instances
If no live instances are found matching the current config, the
youngest dead instance will be used instead.
2025-03-19 15:35:10 -07:00
outfoxxed 0662c37d67 io/process!: replace manageLifetime with startDetached
In most cases this is what was desired for usages of
manageLifetime. Starting the process in a detached state also makes
sure the process hierarchy will not result in the child being killed when
Quickshell is killed.
2025-03-12 01:37:38 -07:00
burein-ita c5bea858a0 io/process: hack around moc parse error
MOC default include paths contain macros that cause name collisions
2025-03-03 16:08:49 -06:00
burein-ita 9534778a78 wayland/screencopy: Add missing include needed for musl
Musl stdlib does not include sys/types.h resulting in undefined dev_t.
2025-02-28 19:37:19 -06:00
outfoxxed d1a172751d service/mpris: hack around more non-compliant players
Mpris is currently winning the competition for least compliant clients.
2025-02-21 02:38:12 -08:00
outfoxxed 1eabf5b3c3 io/fileview: ensure directory is watched for file creation 2025-02-19 21:58:05 -08:00
outfoxxed aeb347ba91 wayland/toplevel: add pending state for outputs entered before qscreen init
Fixes a crash in sway, and potentially other compositors, when a
toplevel enters an output before Qt has created a QScreen for it.
2025-01-31 23:54:11 -08:00
outfoxxed c3ed3b0ee2 hyprland/ipc: fix nullptr workspace read in log line 2025-01-31 23:28:49 -08:00
outfoxxed 50026f0934 i3/ipc: ensure workspace does not exist at init before model add 2025-01-31 23:28:14 -08:00
outfoxxed fb326e0e9c i3/ipc: fix wrong event handler being called for GetWorkspaces
Prevented the workspace list from being initialized correctly.
2025-01-29 17:21:30 -08:00
kossLAN d58b7b5dcb core/colorquant: add ColorQuantizer 2025-01-28 13:59:44 -05:00
outfoxxed fb343ab639 hyprland/ipc: prefer ID based workspace lookups to name based ones
Should (hopefully) reduce race condition issues.
2025-01-27 22:19:28 -08:00
outfoxxed d3b1a65911 hyprland/ipc: reduce impact of racing workspace queries 2025-01-27 21:13:53 -08:00
outfoxxed 9506c1bb62 docs: update CONTRIBUTING style guide 2025-01-26 18:37:53 -08:00
outfoxxed 4f2610dece io/ipchandler: add prop get 2025-01-26 03:57:07 -08:00
outfoxxed 9417d6fa57 core/command: deprecate qs msg 2025-01-25 01:00:42 -08:00
outfoxxed 420529362f core/clock: expose date as a QDateTime 2025-01-24 23:53:31 -08:00
outfoxxed 325be8857c core/command: add option to select newest matching instance 2025-01-24 16:30:32 -08:00
outfoxxed b289bfa504 hyprland/surface: add visibleMask 2025-01-23 14:00:16 -08:00
outfoxxed cdaff2967f core/icon: stop reusing image ids (dbusmenu, notifications)
Fixes issues caused by the QML engine caching old pixmaps using the
same IDs as new ones, notably dbusmenu icons.
2025-01-22 23:10:49 -08:00
outfoxxed c6791cf1f2 core/window: fix screen assignments being completely broken 2025-01-22 20:13:29 -08:00
outfoxxed b73eff0e47 core/screen: add model and serial number properties 2025-01-22 19:38:18 -08:00
Richard Bainesly 6a017d63d6 fix single quote parsing 2025-01-22 19:25:45 -08:00
outfoxxed 3c7dfcb220 hyprland/ipc: handle renameworkspace 2025-01-22 04:16:08 -08:00
outfoxxed b336129c34 core/window: add QsWindow.devicePixelRatio 2025-01-22 03:33:46 -08:00
outfoxxed bc73d35d03 wayland/screencopy: fix ScreencopyContext leak in ScreencopyView
Also caused an FD leak.
2025-01-20 15:53:04 -08:00
outfoxxed 6464ead0f1 core/window: move input mask handling + commit scheduling to polish 2025-01-20 01:14:28 -08:00
outfoxxed d6b58521e9 core!: fix typo in ShellScreen.primaryOrientation 2025-01-19 01:00:03 -08:00
outfoxxed d195ca7680 wayland/screencopy: fix UAF in dmabuf modifier collection
The QList optimization the code was for no longer exists.
2025-01-15 03:24:19 -08:00