6417782af6
chore: lint
2024-09-13 08:55:14 +02:00
13bc497abd
style: clang-format
2024-08-24 15:21:04 +10:00
8254bd72b7
style: applied clang-format on windowcount.cpp
2024-08-24 13:36:00 +10:00
a5e322ee66
fix: remove rewrite
2024-08-24 12:59:57 +10:00
6aa8aa3b22
fix: remove focused_
2024-08-24 12:57:10 +10:00
f7e1d34251
feat: added empty and fullscreen style classes
2024-08-24 01:33:15 +10:00
38ffb24c52
feat: format-fullscreen and format-windowed override added
2024-08-24 01:25:50 +10:00
1b282e67a7
fix: remove unused attributes
2024-08-24 01:06:00 +10:00
1806edcb06
fix: remove unused variable
2024-08-24 01:04:58 +10:00
e40bc27257
fix: default separate-outputs to true
2024-08-24 00:40:41 +10:00
58e4f89a82
fix: allow custom format
2024-08-24 00:40:22 +10:00
d64c80e234
temp: working implementation
2024-08-24 00:14:30 +10:00
5c859bf520
temp: changed window -> windowcount
2024-08-24 00:06:24 +10:00
1f23b30b56
hyprland/backend: drop unnecessary getaddrinfo call
...
Hyprland hasn't been using TCP sockets for IPC since the first release,
so this getaddrinfo call and its result was never needed.
Additionally, it leaks the `aiRes`, causing test failure under ASan.
2024-08-17 22:32:17 -07:00
4295faa7c4
hyprland/backend: throw runtime_error instead of log
...
Allows us to disable modules entirely when socket connection isn't
working. This is similar to how sway handles their socket connections
disabling modules. This supports a single waybar config for multiple
IPCs.
2024-07-16 18:40:47 -05:00
b41fcdedff
hyprland/window: fix crash when no return from socket
...
Gracefully handle lack of response from the IPC. If socket isn't
available, we already log the IPC isn't running. We dont need to crash
program just because we couldn't get responses. We can just return an
empty object.
2024-07-15 09:02:27 -05:00
702e10649e
modules/hyprland/workspace: ignore empty window-rewrite
...
I'd like to ignore some windows from having icons or empty space taken
on the bar. By filtering out empty repr we can supply rewrite rules that
will ignore them from being processed and showing an empty space or
default icon.
2024-07-03 00:21:49 -05:00
ff0f408ab8
Merge pull request #3380 from alerque/debug-keyboard-layout
...
Add keyboard debug info to hyprland language module
2024-07-01 09:22:08 +02:00
c08660d837
modules/hyprland/backend: handle empty json responses
...
Fixes https://github.com/Alexays/Waybar/issues/3388
2024-06-28 13:18:44 -05:00
f6482c36dc
hyprland: clangd cleanup
2024-06-28 13:06:14 -05:00
4126502fe8
Add debug information for keyboard layout selection
2024-06-23 00:02:48 +03:00
f9e693b2a2
modules/hyprland/backend: remove testing log warn
2024-06-15 18:37:25 -05:00
bac4d03813
modules/hyprland/workspaces: remove deprecated property
2024-06-15 18:34:45 -05:00
0bc43c1aa7
fix: lint
2024-06-12 23:08:27 +02:00
959422f143
modules/hyprland/backend: protect against crash when XDG_RUNTIME_DIR not set
2024-06-09 10:18:20 -05:00
fa2e21dfd5
modules/hyprland/backend: move getSocketFolder to class
2024-06-09 10:18:20 -05:00
0055ee6910
modules/hyprland/workspaces: remove unneccesary visibleWorkspaces variable
2024-06-07 13:56:49 -05:00
9332697ec1
Merge pull request #3064 from alttabber/master
...
Hyprland/Workspaces: Added option to hide non-visible special workspaces
2024-05-29 10:23:26 +02:00
24e8766aaa
hyprland/backend: use /tmp
...
Was hardcoded to /tmp in previous versions
2024-05-28 11:00:20 -05:00
29e3d8c371
Hide non-visible special workspaces
2024-05-28 17:45:01 +02:00
f5bb086460
hyprland/workspaces: sort methods
2024-05-24 14:41:59 -05:00
9ba9d57c8c
hyprland/windowcreationpayload: sort methods
2024-05-24 14:30:31 -05:00
82ae474002
hyprland/workspace: sort methods
2024-05-24 14:29:03 -05:00
56319a4705
hyprland/workspaces: break up implementations
2024-05-24 14:21:31 -05:00
d73051e980
hyprland/workspaces: break up doUpdate
2024-05-24 14:21:31 -05:00
9fe51af6b0
hyprland/workspaces: break up parseConfig
2024-05-24 14:21:31 -05:00
b8e68b0e63
(hyprland) fix crash when failed to parse IPC message
...
IPC messages are parsed in a dedicated thread, and the thread terminates when
an exception is not caught, which causes the waybar process to crash with
SIGABORT.
While this issue might be related to Hyprland, it is really annoying to see
waybar crash. It would be better to catch those exceptions and report errors
instead of crashing.
2024-05-22 12:52:01 +08:00
29917fb073
Fix hyprland/language events not working with keyboard names with commas in them ( #3224 )
2024-05-07 08:26:05 +02:00
f41458ea24
Fix Hyprland socketpath changed to XDG_RUNTIME_DIR ( #3183 )
2024-04-29 19:46:28 +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
32e241dc47
Merge pull request #2917 from alttabber/master
...
Add always on option for hyprland/submap
2024-03-22 23:21:17 +01:00
e30ddda23a
Merge pull request #2987 from tomben13/master
...
[hyprland/workspaces] New options to change on click behaviour and active workspace status
2024-03-22 23:16:57 +01:00
736309ef1f
Fixed segfault
2024-03-17 23:00:48 +01:00
ca17bdb214
Merge pull request #2968 from jramrath/hyprland_workspaces_monitor_class
...
Hyprland workspaces `hosting-monitor` css class
2024-03-17 13:06:50 +01:00
f014a7d2e5
man docs & different css class name
2024-03-16 21:22:01 +01:00
68889494d0
Removed option active-per-monitor
2024-03-05 11:12:46 +01:00
df7f1fffcf
feat(hyprland/workspaces): added options move-to-monitor
and active-per-monitor
2024-03-04 13:17:52 +01:00
d9abc080e1
Fix merge conflict with #2930
2024-02-28 22:52:08 +01:00
04f73e7303
Merge pull request #2973 from Azazel-Woodwind/feature/hyprland-window-improvements
...
Improved hyprland/window by fixing icon search and implementing configurable spacing
2024-02-28 09:29:54 +01:00