Commit Graph

1925 Commits

Author SHA1 Message Date
d2a719d67c Redo to minimize code duplication. 2024-05-16 12:37:53 +02:00
28ef5b7db2 Fix formatting 2024-05-14 10:21:24 +02:00
6413f25b8d Add config option to select UPower device based on device model. 2024-05-14 10:13:22 +02:00
3c075bcc53 Fixed formatting 2024-05-14 08:26:44 +02:00
ba8a88acfb Do not try to compare a string that may be a null-pointer 2024-05-14 08:16:10 +02:00
e27488b48c clang-tidy improvements in privacy module 2024-05-11 16:19:46 +02:00
5fe99ea0e1 Upower. Fix segmentation fault
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
2024-05-10 00:00:47 +03:00
e298bf922f temperature: allow hwmon-path-abs as array 2024-05-08 23:55:51 +08:00
2ead1bbf84 Upower refactoring (#3220)
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
2024-05-07 10:29:52 +02:00
29917fb073 Fix hyprland/language events not working with keyboard names with commas in them (#3224) 2024-05-07 08:26:05 +02:00
df1a9c5509 Remove listener when window is destroyed (#3215) 2024-05-06 10:51:14 +02:00
a453ea3c70 fix(#3210): tooltip-format on custom modules not working in some cases (#3213) 2024-05-06 10:47:52 +02:00
8e8ce0c6bc feat(#3182): style tray icon on hover (#3203) 2024-05-06 10:47:25 +02:00
f41458ea24 Fix Hyprland socketpath changed to XDG_RUNTIME_DIR (#3183) 2024-04-29 19:46:28 +02:00
a2c5a8215b style(battery): Capitalize float 'F' suffix 2024-04-24 15:07:26 +02:00
57197b8e01 feat(battery): Also support energy_full (instead of charge_full) 2024-04-24 14:57:11 +02:00
5c4e368819 style(battery): Indent level
It's now *inconsistent* in the file, but clang-tidy should be happy, sooo...
2024-04-24 09:05:11 +00:00
8d962430dd fix(battery): Remove duplicate line
This is what happens when you copy-paste from GitHub actions
2024-04-24 09:02:03 +00:00
54a85ea15f style: Apply clang-format change
At least I hope I copy-pased it correctly
2024-04-24 08:56:24 +00:00
efa7dc7ba4 fix(battery): Register health replacement for main format 2024-04-24 10:34:35 +02:00
2123995b03 fix: update clock tooltip without placeholders scenario 2024-04-21 18:02:26 +02:00
937bf2ba5d fix: lint 2024-04-19 06:21:10 +02:00
77df0c3e3b Merge pull request #3147 from joesri/joesri-patch-1-custom
Escape tooltip in custom module
2024-04-19 06:20:45 +02:00
f75b2ae91f sway/workspaces: Fix scroll on unfocused monitor 2024-04-18 22:56:49 +02:00
2673a5a4f1 Escape tooltip in custom module 2024-04-18 14:17:30 +00:00
8ef4ddd7ef fix: lint 2024-04-18 08:34:02 +02:00
f26efae569 Merge pull request #3130 from kiriDevs/kiridevs/battery-cycles
battery: Add {cycles}, {health} format replacements
2024-04-18 08:33:17 +02:00
67bf98a93e style: Change more var names to camelCase 2024-04-17 14:46:35 +02:00
dd092a5fc1 Merge pull request #3143 from tomben13/fix_workspaces
Fixes for hyprland/workspaces
2024-04-17 08:28:00 +02:00
3efebc2822 Merge pull request #3142 from janpeterd/master
calendar: add shift_reset action
2024-04-15 22:18:17 +02:00
fb88c06d78 calendar: add shift_reset action 2024-04-15 21:59:35 +02:00
133dfc2e85 Remove unused variable in Workspaces::updateWindows 2024-04-15 13:50:41 +02:00
3d54a6002d style: Remove superfluous 'const' on getInfo()
was here before, but is an easy fix for a clang-tidy warning
2024-04-13 13:19:54 +02:00
da47c94480 fix: Also use camelCase for usages of new vars 2024-04-13 13:18:50 +02:00
986b348bc7 style: Change new variables to camelCase 2024-04-13 13:11:14 +02:00
421ba6e31a fix: Add dummy information for battery cycles,health on FreeBSD 2024-04-12 18:48:54 +02:00
084b561d5b [hyprland/workspaces] Update window count and sort workspaces AFTER their creation 2024-04-12 11:40:05 +02:00
cd3d588abd [hyprland/workspaces] Fix active workspace not getting updated on multi monitor setups 2024-04-12 11:33:29 +02:00
24690248db fix: Calculate battery health the right way around
I even did this originally, then got confused when my battery in particular showed 102% and, instead of checking the values I calculate with, just decided to do the stupid thing and do maths the wrong around
2024-04-11 02:40:04 +02:00
805faa47e6 style: Remove debug output
Oops
2024-04-10 18:48:03 +02:00
a59593fde1 feat(battery): Add {health} format replacement 2024-04-10 18:19:55 +02:00
7f1e623f77 style: Refactor battery cycle count choosing 2024-04-10 17:30:47 +02:00
43511992d9 feat(battery): Add {cycles} format replacement 2024-04-10 17:00:50 +02:00
a9088c7e7d fix: lint 2024-04-10 10:20:21 +02:00
f68ac9119a Use $TZ for local time if it is set
libstdc++ doesn't.
2024-04-09 23:27:36 +03:00
245043f9e7 taskbar: search user directories first for desktop files 2024-04-01 14:30:31 -04:00
9b4fc6d16b fix(sway/workspaces): floating_nodes and focused icon
Floating nodes are not taken into account for visible and empty workspaces

And fix focused icon (#3095)
2024-03-31 21:53:56 +07:00
fe15530f34 refactor(privacy): clean up the module 2024-03-25 20:16:47 +01:00
b652b4296d Merge pull request #3066 from MauroGuida/master
fix(sway/workspaces): Visible class doesn't work on visible and empty workspaces
2024-03-25 19:03:06 +01:00
abd7ca2a1e Fix clock on-scroll value not being used for calendar, which was broken by 86a3898 2024-03-24 10:37:31 -05:00