Commit Graph

67 Commits

Author SHA1 Message Date
loner db0a2ccb7f feat: Implement automatic IPC registration for CustomButton widgets
- Add automatic registration/unregistration of CustomButton instances to
CustomButtonIPCService
- Enable CustomButton widgets to register themselves with unique
identifiers
- Support external control via IPC commands using 'qs -c noctalia-loner
ipc call cb <action> "[identifier]"' format

Supported actions: left, right, middle, up (separate wheel mode), down
(separate wheel mode),wheel (unified wheel mode), refresh (textCommand)
2026-01-14 07:13:30 +08:00
Lemmy 5251a22d20 Bash vs sh: phase 1 - uniformization to sh. Always use sh, use "-lc" for all user defined commands 2026-01-09 15:01:17 -05:00
Lemmy 3bc9a625b8 Colors: removed Colors.transparent / black and white in favor of their direct shorthands 2026-01-04 13:54:51 -05:00
loner 959cdba70d feat: Add color selection dropdown to CustomButton widget settings 2026-01-03 09:17:28 +08:00
Lemmy 9b92d6752b Bar: better font sizing + workspace fix 2026-01-02 10:39:05 -05:00
ItsLemmy 6e0fe5ec49 SettingsPanel: simplified code flow and fixed potential opening on wrong tab 2025-12-15 00:07:07 -05:00
ItsLemmy 764299e4e7 Settings: added option to open settings in a separate (tiled) window + Fixed migrations/upgrades by parsing the rawJson 2025-12-11 21:03:43 -05:00
ItsLemmy e797a45838 Settings: transitionning gradient on scrollviews 2025-12-06 10:11:27 -05:00
loner 432936f58f feat: add showIcon and hideMode options for CustomButton 2025-12-06 11:42:59 +08:00
ItsLemmy a884f012d8 i18n + autoformat 2025-11-21 13:18:02 -05:00
loner e8a27acb63 fix: Left click behavior should only depend on left click settings 2025-11-21 11:06:51 +08:00
loner 694fefeebd feat: Custom buttons now support wheel actions 2025-11-21 10:58:15 +08:00
loner 516fc47b68 feat: Replace hideTextInVerticalBar with maxTextLength object
- Replace boolean hideTextInVerticalBar with maxTextLength object that has
  separate horizontal and vertical properties for more flexible text length control
- Add NSpinBox controls in settings UI to configure both horizontal and
  vertical max text length independently
- Update CustomButton widget to use new maxTextLength structure and
  implement text scrolling based on direction-specific limits
- Set default values to 10 for both horizontal and vertical (was 20/0)
- Update translations and widget registry metadata accordingly
- When vertical maxTextLength is 0, text is completely hidden (preserving
  original hideTextInVerticalBar: true behavior)

This allows users to set different text length limits for horizontal and
vertical bar orientations, providing more granular control over text display.
2025-11-21 09:07:30 +08:00
loner e549cfcb78 feat: Use maxTextLength to Limit Custom Button Text Length 2025-11-21 08:31:15 +08:00
loner ec92295a98 Enhance custom tooltip parsing 2025-11-21 08:30:46 +08:00
ItsLemmy 8242b0d97d Fix a bunch of hardcoded borders + autofmt 2025-11-18 19:17:25 -05:00
Lemmy af4ec4c694 Merge pull request #794 from lonerOrz/feat/custombutton
feat: Tooltip supports rich text parsing
2025-11-18 18:49:52 -05:00
loner 1a4f151bbc Enhanced rich text parsing for specific plain text content 2025-11-19 05:11:27 +08:00
ItsLemmy f1d714ad9a Cleanup: replaced a bunch of Screen by their proper "screen" 2025-11-17 14:53:47 -05:00
ItsLemmy 3ff5b7639f Switched to qmlformat. 2025-11-16 17:07:03 -05:00
kurrycat 7be6ea57a5 don't open settings when clicking on empty command custom button with update-text enabled 2025-11-12 16:51:37 +01:00
kurrycat b717baf4ba allow update-text toggle without command + disable update-text toggle in
text stream mode
2025-11-12 00:16:35 +01:00
kurrycat fb126cc86c add option to refresh CustomButton text on click 2025-11-11 23:57:40 +01:00
loner 54dad12a70 feat(bar): Add conditional text rotation for BarPillVertical 2025-11-10 18:39:53 +08:00
loner b37f4d4268 feat: Add dynamic tooltip parsing to CustomButton 2025-11-10 18:39:53 +08:00
loner 2f853e3eca feat(bar): Add option to hide CustomButton text in vertical bar 2025-11-10 18:39:53 +08:00
ItsLemmy 355271768c Services in subfolder + cleanup/fixes 2025-11-08 16:38:43 -05:00
ItsLemmy e29c6ee1a6 Refactor: Panels and Bar background are now drawn separately with Shapes. 2025-11-06 10:41:48 -05:00
ItsLemmy 101b27fcc7 New windowing system
Large commit that totally refactor of the way we handle the bar and
panels.

Testing should focus on Panels, Bar, Keyboard Focus, IPC calls.

Changes brief:
- One NFullScreenWindow per screen which handle it's bar and dedicated
panels.
- Added shadows
- Reintroduced dimming
- New panels animations
- Proper Z ordering
- Panels on overlay laywer is not reimplemented, if we do it then the
bar will be on the Overlay too
- Panel dragging was not reimplemented, to be discussed before
reimplementing
- Still a WIP, need to work more on shadows and polishing + debugging.
2025-11-03 00:53:02 -05:00
Ly-sec d443d7dba3 ColorSchemeTab: set walker theme to noctalia on template activation 2025-10-29 16:25:03 +01:00
loner 07a8f8c280 feat(custom-button): Add JSON parsing support 2025-10-29 20:28:59 +08:00
lysec c9d3aedf39 Tray, ActiveWindow: better dark mode colorization 2025-10-24 13:32:52 +02:00
loner 1d5eb91803 feat: Revert regex interpretation to require // delimiters and update en.json placeholder 2025-10-23 00:42:50 +08:00
loner 272bb50770 feat: Implement automatic regex interpretation for custom button collapse condition 2025-10-23 00:35:37 +08:00
loner beefae7350 feat: Add custom button collapse condition 2025-10-23 00:01:31 +08:00
shouya be078e04bd fix text not showing on custom button 2025-10-23 00:18:14 +09:00
ItsLemmy 3eef346319 CustomButton stream: i18n + autofmt 2025-10-22 10:18:28 -04:00
Lemmy 4da0b353dc Merge pull request #533 from shouya/main
Add support for streaming command outputs in CustomButton
2025-10-22 10:16:55 -04:00
ItsLemmy 95faefa8eb Pill: cleanup
- removed duality between disableOpen and forceClose
- renamed rightOpen to oppositeDirection
- wifi+bt: for vertical bar, use tooltip rather than the classic pill
opening as text will most likely never fit.
2025-10-20 21:56:59 -04:00
shouya ea2e0df837 add support for streaming command outputs in CustomButton 2025-10-20 22:45:11 +09:00
lysec 838491ba33 Logger: huge cleanup 2025-10-16 15:07:11 +02:00
ItsLemmy 00509170ef Bar: improved "mini" density look 2025-10-13 20:16:18 -04:00
ItsLemmy 2962c0d9f7 Same behavior for compact and mini 2025-10-12 16:17:45 -04:00
ItsLemmy f4b27380c3 Qt-Scaling: first cleanup pass 2025-10-12 08:23:24 -04:00
ItsLemmy 4d0041abee Quicksettings: polishing, fixed all scaling issues. 2025-10-09 19:57:12 -04:00
ItsLemmy 0989601dbc Fixed a bunch of scaling issue in bar NIconButtons 2025-10-09 17:31:42 -04:00
ItsLemmy 86127660fe Tooltip: different approach to get the current screen. 2025-10-03 23:27:07 -04:00
ItsLemmy 49a0c8449f Tooltips: fixed a bunch of tooltips which where not following the screen's scaling 2025-10-01 16:50:54 -04:00
ItsLemmy b8f4401878 First pass 2025-09-22 19:11:10 -04:00
LemmyCook 761aa62995 Cleanup: more strings cleanup, removing capitalization and minor adjusments. 2025-09-19 17:03:31 -04:00