Commit Graph

854 Commits

Author SHA1 Message Date
retrozinndev ca187a26ed chore(scripts/utils, scripts/style-handler): add filter() method, change stylesheet target directory
the `filter()` function can both filter a common array and at the same time, it can also filter an Accessor Array(Accessor<Array<T>> and return an Accessor when provided Array is an Accessor Array. Stylesheet directory changed to colorshell's cache dir, making sense, since it's a temporary file generated by the shell
2025-07-30 17:28:55 -03:00
retrozinndev 8e0bc424fd perf(runner): code improvements 2025-07-30 17:17:51 -03:00
retrozinndev 3492cb33f5 💥 fix(runner/plugins/shell): description defined as boolean instead of string in condition check 2025-07-30 17:16:07 -03:00
retrozinndev 2c0871602a 💄 chore(i18n/intl): better errors and logs 2025-07-30 17:12:26 -03:00
retrozinndev d95273657c 🔧 chore(tsconfig): use recommended config 2025-07-30 16:17:20 -03:00
retrozinndev 30109b00a8 💥 chore(app): correcly use appScope and dispose 2025-07-30 16:16:23 -03:00
retrozinndev 89851d4642 💄 chore(style): update styles 2025-07-30 16:15:23 -03:00
retrozinndev 29ddc393a9 chore(popup-window): improvements on scope management + outside-click checks 2025-07-30 16:14:40 -03:00
retrozinndev 2276acc97f chore: use floating numbers instead of integers on levelbar, simplify widget structure on apps-window 2025-07-30 16:13:49 -03:00
retrozinndev ba5694271d 💥 fix(media, big-media): only show button to copy media link if it's provided by the player
makes use of a connection to notify::metadata to get when the link is updated, instead of binding directly to AstalMpris.Player::metadata and getting the 'xesam:url' property, since JS does not support the hashmap thing
2025-07-29 14:18:58 -03:00
retrozinndev a67da99839 💥 fix(runner): result selection not working, scrolledwindow not scrolling automatically with focused row 2025-07-27 17:51:10 -03:00
retrozinndev d3df0f0aec 🔧 chore(bar/apps, bar/focused-client): use onClicked prop instead of connecting to signal, fix str being null sometimes 2025-07-27 12:07:32 -03:00
retrozinndev 3d64b7e144 🔧 chore(app, windows): create app scope disposed on app ::shutdown, delete WindowInstance object from WindowData instead of defining as undefined 2025-07-26 16:02:33 -03:00
retrozinndev e25c2339ab 🔧 chore(arg-handler): more organized and supporting more arguments 2025-07-26 11:06:08 -03:00
retrozinndev 0efd1f4829 💥 fix(logout-menu): window status not changing after being closed with Escape 2025-07-26 10:05:40 -03:00
retrozinndev 5dad5de468 💥 fix(logout-menu): not showing closed state on window management 2025-07-25 23:31:44 -03:00
retrozinndev e2b4af1787 💥 fix(custom-dialog): close popup if closeOnClick is enabled on option 2025-07-25 23:30:35 -03:00
retrozinndev 03b1b64c5c 💥 fix(scripts/utils): getChildren() method not working, add pickObjectKeys() methods
the old code that didn't work was really bad, and `pickObjectKeys()` is the inverse of `omitObjectKeys()`, that returns an object with the keys listed inside the array parameter
2025-07-25 22:06:12 -03:00
retrozinndev 627ed101e0 ♻️ refactor(bar/media): move icon-getting method to a function in utils.ts 2025-07-25 19:09:56 -03:00
retrozinndev 3b59243cdc feat(center-window/big-media): add player select button 2025-07-25 19:08:03 -03:00
retrozinndev d4c1fcf327 chore: use util methods, improvements 2025-07-23 22:22:18 -03:00
retrozinndev 7b158b8c89 💥 fix(control-center/notif-history): clean all button not doing anything on ::on-clicked 2025-07-23 22:20:45 -03:00
retrozinndev f0b86a10d2 💥 fix(control-center/tile): use ::onclicked signal for tile button instead of adding an unnecessary gesture controller 2025-07-23 22:18:50 -03:00
retrozinndev 0ec7957ab8 💥 fix(center-window/big-media): gtkpicture not showing with album art
just got back to the good old gtkbox with a background-image 😜
2025-07-23 21:59:26 -03:00
retrozinndev 55de36c354 chore: make tray item activate on primary button click and open menu on secondary click 2025-07-23 21:57:21 -03:00
retrozinndev d721ea30db chore: make apps-window and floating notifications work better on gtk4 2025-07-23 21:53:43 -03:00
retrozinndev 7f39eb4b46 ♻️ refactor(pages): rename onClose function/property to actionClose 2025-07-23 21:48:05 -03:00
retrozinndev 5254be2b79 💥 fix(bar/workspaces): last application icon showing also on focused workspace 2025-07-23 21:44:22 -03:00
retrozinndev 3708c6a7bf feat(bar/status): add support for dynamic network status icon 2025-07-23 21:39:08 -03:00
retrozinndev 35e88217a8 💥 fix(bar/media): unexistent player keeps selected instead of jumping to the next available player 2025-07-23 21:37:38 -03:00
retrozinndev 612dcc693f feat(notifications): retrieve history from astal's notifd file in XDG_STATE_HOME 2025-07-23 20:51:02 -03:00
retrozinndev 8074221489 feat: add escapeUnintendedMarkup(), getChildren() and pathToURI() utility functions
gtk4 doesn't have a `get_children()` method anymore 😭
2025-07-23 20:49:04 -03:00
retrozinndev 2a8749c85b 🔧 chore(app): update Windows.isOpen() function's name
it was named `Windows.isVisible()` before the change in the window management system
2025-07-23 20:46:25 -03:00
retrozinndev 467de2235a chore(runner): try a new approach to show results, make plugins return properties instead of the actual widget
returning the results as objects seems to be a better approach, also, the new way of showing results doesn't work for some reason(i didn't discover it yet lol)
2025-07-23 20:41:23 -03:00
retrozinndev 69b098b6bd 💄 chore(style): also fix some global styles 2025-07-23 20:37:23 -03:00
retrozinndev 9a7857e89c 💄 chore(style): fix some styles, update others to work on gtk4
the inset box-shadow on hover technique doesn't work anymore 😭
2025-07-23 20:36:30 -03:00
retrozinndev 6b667f5d5b chore: better window management
now, everything is inside a single object! much better
2025-07-23 20:34:28 -03:00
retrozinndev b0ec47d4a5 💥 fix(popup-window): now it works as intended 2025-07-23 20:32:57 -03:00
retrozinndev 5465f09f62 🔧 chore(scripts/utils): support common arrays on variableToBoolean(), fix omitObjectKeys() changing the provided object instead of creating a new one 2025-07-19 16:05:33 -03:00
retrozinndev a06fb5f9e7 feat: play system bell on volume change
it can be disabled within the colorshell's configuration file, under the `misc` section: misc:play_bell_on_volume_change: (true|false)
2025-07-18 12:32:30 -03:00
retrozinndev 07d30747bf 💄 chore(style, widget): update styles for gtk4 and fix some issues on existing widgets
focused-client widget now updates when your open a new window in a clean workspace
2025-07-18 09:55:16 -03:00
retrozinndev 26778e91ab 💥 fix(bar/media): play/pause not working when clicked 2025-07-18 00:03:27 -03:00
retrozinndev 6de48dc1c3 ♻️ refactor(icons): organize icons according to freedesktop specs 2025-07-18 00:02:03 -03:00
retrozinndev 2fb3b68204 💥 fix: correctly use centerbox with gtkbuilder types, fix styles
also re-added some windows to the windows list(they were causing issues before)
2025-07-07 21:58:34 -03:00
retrozinndev 246698c642 chore: migrate shell to ags v3 and gtk4 2025-07-06 19:57:28 -03:00
retrozinndev b90a799a89 chore: migrate widgets to ags v3 and gtk4 2025-07-06 19:56:44 -03:00
retrozinndev 9db1d6fc12 chore: control-center and center-window widgets to gtk4 and ags v3 2025-07-06 19:56:09 -03:00
retrozinndev 7b758bd298 chore: migrate bar widgets to ags v3 and gtk4 2025-07-06 19:55:27 -03:00
retrozinndev 3b03c434b5 chore: migrate runner and plugins to ags v3 and gtk4 2025-07-06 19:54:58 -03:00
retrozinndev 2df219ec80 🔧 chore: add pnpm-workspace for dependency linking 2025-07-06 19:54:28 -03:00