Commit Graph

218 Commits

Author SHA1 Message Date
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 b8a7c2f77d fix(settings): resolve barIsVertical property assignment conflict
CustomButtonSettings now calculates barIsVertical from Settings directly
instead of receiving it from parent, avoiding Loader.setSource() conflict.
2026-04-06 10:35:59 +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 55c7f344b3 fix(ui): improve CustomButton settings visibility logic
- Show icon toggle depends on textCommand input
- Add fallback for valueShowIcon (default true) and valueEnableColorization (default false)
- Reorder settings: Show Icon, Icon, iconPosition, enableColorization, colorizeSystemIcon
2026-04-06 10:35:48 +08:00
loner b6a85d88e7 fix(ui): adapt icon position labels based on bar orientation
- Add barIsVertical property to BarWidgetSettingsDialog
- Pass barIsVertical from NSectionEditor to dialog
- Show Top/Bottom for vertical bar, Left/Right for horizontal bar
- Keep fallback to oppositeDirection when iconPosition not set
- Fix BarPillVertical iconPosition mapping (left=top, right=bottom)
2026-04-06 10:35:45 +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
Corey Woodworth 900e1f1286 chore: run qmlfmt.sh 2026-03-31 03:36:26 -04:00
Corey Woodworth 0c9d3b83be chore: add modified files again because they were not staged (I don't get git sometimes) 2026-03-31 03:18:49 -04:00
Corey Woodworth 95dfb2ade2 chore(i18n): Add englisht strings for the text toggle 2026-03-31 03:12:22 -04:00
Lemmy 0065d9b53f chore(autofmt): lysec cloned again 2026-03-18 19:16:44 -04:00
Lysec 9f8bf988f0 fix(ntextinput): use onTextChanged for autosave, onEditingFinished instead of onAccepted
- Switch most settings from onEditingFinished to onTextChanged so
changes save on every keystroke
- Replace onAccepted with onEditingFinished (Enter + blur) for search,
pager, wifi, bluetooth
- Keep onEditingFinished for pager, wallhaven, path inputs, and
validation fields
2026-03-18 17:50:46 +01:00
Thibault Martin a2443c6f89 Show workspace applications on hover 2026-03-11 13:34:51 +01:00
Mark Vincze af76e6a442 Introduce setting to configure the font weight in the Workspaces widget 2026-03-07 00:48:33 +01:00
Lemmy 7742f09d4b sysstat: dont make showCpuCore disabled when showCpuUsage is off - as it's also used in the tooltips. 2026-03-03 19:34:53 -05:00
Lemmy 3bc4b0fc48 Merge pull request #1962 from tmarti2/per-core-cpu-stats
"Per core" cpu stats in SystemMonitor
2026-03-03 19:22:10 -05:00
Thibault Martin 9e7329ec24 Add a setting to display cpu cores instead 2026-02-28 10:56:36 +01:00
Thibault Martin 4f106a7627 Populate default settings in widgets 2026-02-28 10:55:56 +01:00
Lemmy 3044a09dad Merge pull request #1963 from tmarti2/use-ncolorchoice-in-workspace-settings
Use NColorCoice for workspace widget settings
2026-02-25 08:47:06 -05:00
Lysec b2ab1c45ce Volume/MicrophoneSettings: adjust i18n key 2026-02-25 14:23:23 +01:00
Thibault Martin 6589fa237e Show reset button on pill size setting 2026-02-25 13:28:57 +01:00
Lemmy 2704ef2d1d bar-launcher: added icon customization (similar to control-center) fix #1897 2026-02-24 19:13:37 -05:00
Thibault Martin ad5dd56728 Use NColorCoice for workspace widget settings 2026-02-25 00:21:06 +01:00
Thibault Martin fcd1de3981 Add a Settings widget 2026-02-21 00:24:49 +01:00
Thibault Martin d92dad5819 Use Color.resolveColorKey when possible 2026-02-21 00:04:06 +01:00
Lysec b5c791253d Brightess: adjust settings access 2026-02-18 01:32:45 +01:00
Lemmy 64109296dd brightness cleanup 2026-02-17 19:15:42 -05:00
Lysec 7b536c74cf BrightnessWidget: add global brightness toggle (#1865) 2026-02-17 15:56:41 +01:00
loner 451e844944 feat(bar-cb): add custom tooltip option to CustomButton widget 2026-02-17 17:21:59 +08:00
loner 6b1e965775 fix I18n 2026-02-17 03:21:36 +08:00
loner 065d4cbd92 fix tr 2026-02-17 03:16:25 +08:00
loner b78de5c932 feat: add separate tooltips toggles for custom button widget 2026-02-17 03:03:47 +08:00
Lysec 085e9557ef Merge pull request #1676 from Fireye04/feature/reverse-scroll
Add reverse scroll toggle to Volume and Brightness
2026-02-15 15:59:51 +01:00
Lemmy 65a7c3189b NColorChoice: fix ActiveWindow and default props 2026-02-14 11:42:04 -05:00
Thibault Martin 188a537704 Use NColorChoice when possible 2026-02-14 15:01:50 +01:00
Thibault Martin bf860df8ea Change NColorChoice default label and description 2026-02-14 14:30:34 +01:00
Thibault Martin 2f6bf06270 Make "none" defaultValue of NColorChoice 2026-02-14 14:18:45 +01:00
Thibault Martin e31077ade3 Use NColorChoice for bluetooth widget 2026-02-14 13:01:31 +01:00
Fireye aeca5d1544 Add global reverse scroll toggle
Move reverse scroll to general settings

Replace workspace reverse scroll with global
2026-02-13 16:39:12 -07:00
Lemmy 322d3875fe sysmon-settings: cleanup, reordering. do not save usePadding when switching bar orientation 2026-02-12 23:15:47 -05:00
Lemmy c330b670d8 bar-widgets-settings: added screen property + simplified settings save 2026-02-12 23:04:07 -05:00
Alice ✨🌙 Luna 3a6f42e79a SystemMonitor: Add option to pad the text
This option is only shown if compact mode is off and a monospace font is enabled.
If the bar is vertical the setting will be ignored.
Everything should not shift and the width is calculated from the maximum value (which can be system dependent).
2026-02-13 01:51:28 +01:00
Lemmy 0e9f27f8e1 settings: Defer ListModel population to prevent QV4 re-entrancy crash 2026-02-12 12:18:24 -05:00
Lemmy 84e394e0f3 activewindow-mediamini: support for colored text 2026-02-06 11:53:51 -05:00
Lemmy 081ac08e67 tray-bar: added setting to colorize the chevron 2026-02-06 11:18:56 -05:00
notiant e1fd103479 update ControlCenter widget properties 2026-02-06 13:38:40 +01:00
notiant 76a41b1583 add desktop clock colorization & fix control center widget hover color 2026-02-06 13:26:00 +01:00
Lemmy c2237baab3 battery-widget: better tooltip, reworked logic and improved display 2026-02-05 22:51:36 -05:00
Lemmy effc04b588 battery-settings: reordering 2026-02-05 21:45:49 -05:00
Lemmy 4ec02be171 bar: reworked most widgets to support custom icon and text color 2026-02-05 20:03:42 -05:00