loner
cfc96dd3e7
feat(bar): add context menu for CustomButton right-click
...
- Show context menu instead of directly opening settings when no command is set
- Context menu includes widget-settings option
- Matches behavior of other bar widgets
2026-04-06 10:36:03 +08:00
loner
5c3b3a2185
refactor(bar): remove enableColorization toggle from CustomButton
...
Colorization now activates automatically when icon or text color is set,
simplifying the UX by removing an extra toggle step.
2026-04-06 10:35:55 +08:00
loner
f21e8fb82a
feat(ui): add separate icon and text colorization for CustomButton
...
- Add colorizeSystemText setting for text color (icon only was already supported)
- JSON parse supports iconColor and textColor fields separately
- Legacy "color" field still works for both icon and text
- Enable colorization no longer depends on show icon setting
- Refactor resolveColor helper to eliminate duplicate code
2026-04-06 10:35:52 +08:00
loner
9cc8b36804
feat(bar): add explicit iconPosition control for CustomButton widget
...
Replace auto-calculated icon position (based on widget bar section) with
user-controlled iconPosition setting ("left" or "right", default "left").
2026-04-06 10:35:20 +08:00
Lemmy
021f0026da
fix(bar): guard bar widget metadata lookup
2026-03-25 19:12:30 -04:00
Thibault Martin
2ab37df713
Only display setting action when it is enabled in click functions
2026-03-02 11:44:06 +01:00
Thibault Martin
892851cec0
Fix custombutton right/middle click always opening settings
2026-03-02 11:38:41 +01:00
Lemmy
2f4922f9b7
autofmt
2026-03-01 15:02:51 -05:00
Thibault Martin
6c9c802f8a
Add default setting action on CustomButton
2026-02-28 10:56:21 +01:00
notiant
c347563a34
CustomButton: prevent long delay for tooltip
2026-02-22 16:18:13 +01:00
notiant
9c1b0e4af9
fix missing I18n function
2026-02-18 18:00:07 +01:00
notiant
d4b64ac343
CustomButton: add translation for tooltips
2026-02-18 09:25:03 +01:00
loner
451e844944
feat(bar-cb): add custom tooltip option to CustomButton widget
2026-02-17 17:21:59 +08:00
loner
f92d2398ee
fix: adjust tooltip logic and add i18n for default tooltip
2026-02-17 03:03:51 +08:00
loner
b78de5c932
feat: add separate tooltips toggles for custom button widget
2026-02-17 03:03:47 +08:00
Lemmy
0f0b533c33
custom-button: fix registration with IPC
2026-02-12 09:17:13 -05:00
Lemmy
b8de6b1599
custom-button: using a proper singleton for the CustomButtonIPCService instead of and object registered in Qt.application. The singleton directly check the settings for IPC calls definition instead of the Bar widgets, this allow us to unload the bar widgets when the bar is hidden while keeping IPC call functional.
2026-02-11 15:22:05 -05:00
Lysec
82e0dfca11
SessionMenu: adjust keybind detection & layout
2026-02-06 13:19:22 +01:00
loner
5b6e361f00
feat(cc): add icon color field parsing to JSON
...
Parse icon color with priority: dynamic > static > default
2026-02-06 15:08:59 +08:00
Lysec
3e876e88bb
Hooks/CustomButton: switch back to sh -lc
2026-02-03 20:02:28 +01:00
Lysec
8aa32c7a6d
Switch sh -lc to sh -c in the whole codebase
2026-02-03 19:55:08 +01:00
Lemmy
795b77b8cd
custom-button: make it compatible with bar's hot corners by renaming onClicked to clicked
2026-01-27 21:27:31 -05:00
Lemmy
ff8790221a
settings: added helpers function to open settings and focus a subtab
2026-01-27 17:09:13 -05:00
Lemmy
6410836ec6
custom-button: open widget settings if no left click actions
2026-01-27 16:57:59 -05:00
Lemmy
4467aa95d7
bar: improve widget settings refresh for overriden bar per monitor. also fix workspace widget not showing app icons on overriden monitor
2026-01-26 11:29:37 -05:00
Lemmy
180e0155ac
settings-bar-monitors: proper loading and saving settings of widgets per bar.
2026-01-23 16:36:17 -05:00
Lemmy
b340529b10
Bar: custom setup per screen (position, density, widgets)
2026-01-18 20:12:46 -05:00
Lemmy
ae741df961
autofmt
2026-01-13 20:33:56 -05:00
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