Viktar Lukashonak
b4a28042d8
GTK4: Migration bluetooth
...
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
2024-03-15 16:33:06 +03:00
Viktar Lukashonak
293f34e07f
GTK4: Migration custom module
...
add tooltip-format to custom module man page
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
2024-03-15 15:42:00 +03:00
Viktar Lukashonak
bf9325d724
Gtk4: Migration temperature
...
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
2024-03-12 09:07:58 +03:00
Viktar Lukashonak
0b56c55d8d
Gtk4: Migration. Disk
...
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
2024-03-10 12:19:03 +03:00
Viktar Lukashonak
f66e5284dd
Gtk4: Migration memory
...
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
2024-03-08 06:02:05 +03:00
Viktar Lukashonak
f9b6f665c1
GTK4: Migration CPU
...
Add documentation for justify option
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
2024-03-06 18:10:09 +03:00
Viktar Lukashonak
7802cab40d
Gtk4: battery migration
...
build: drop std::filesystem checks
The `<experimental/filesystem>` and `-lc++experimental` aren't needed
since LLVM 9.0. And since we now require C++20, checking for the
`<filesystem>` support shouldn't be necessary either.
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
2024-03-05 18:04:59 +03:00
Viktar Lukashonak
69648ab8f4
GTK4. Migration. backlight, slider, backend_common
...
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
2024-02-27 23:17:50 +03:00
Viktar Lukashonak
0721fd593c
libcava bump 0.10.1 + GTK4 migration
...
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
2024-02-26 22:18:29 +03:00
Viktar Lukashonak
1dcd532749
GTK4. Clock. On_leave event handling
...
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
2024-02-26 21:39:39 +03:00
Viktar Lukashonak
e349b8d90d
Gtk4. Remove debug print
...
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
2024-02-26 20:59:23 +03:00
Viktar Lukashonak
84cdd91e6a
GTK4. AModule, ALabel handle events
...
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
2024-02-26 20:54:52 +03:00
Viktar Lukashonak
c5b726ae5a
GTK4. First success run win clock module
...
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
2024-02-24 20:32:14 +03:00
Viktar Lukashonak
54ef531501
ALabel, factory, clock migration
...
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
2024-02-22 23:24:10 +03:00
Aleksei Bavshin
614b20d073
refactor: move all module includes to factory.cpp
...
None of these includes are required in the header.
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
2024-02-22 21:43:50 +03:00
Viktar Lukashonak
ddacc47709
AModule migration
...
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
2024-02-22 21:06:41 +03:00
Aleksei Bavshin
b32abf9966
refactor: merge BarSurface into Bar
...
With only one implementation left, the abstraction is no longer
necessary.
2024-02-19 23:02:47 +03:00
Aleksei Bavshin
2469851865
fix(bar): use std::string for mode names
...
`string_view` leads to UAF when reading custom mode definitions from the
configuration.
2024-02-19 22:47:25 +03:00
Aleksei Bavshin
a6d33db20f
feat: add `module` class to the root elements of the modules
...
Previously, the only way to select all the module labels was with the
following kind of selector:
```css
.modules-left > widget > label,
.modules-center > widget > label,
.modules-right > widget > label {
/* ... */
}
```
(and a matching block for the `box` containers).
Now, this can be expressed as
```css
label.module, box.module {
/* ... */
}
```
2024-02-19 22:26:05 +03:00
Aleksei Bavshin
5a4a1a5595
refactor(bar): use Gtk enums for position and orientation
...
Ensure that the position and the corresponding CSS class on window are
always set.
2024-02-19 22:24:08 +03:00
Aleksei Bavshin
d6d164a27d
feat!: drop RawSurfaceImpl with direct use of wlr-layer-shell
...
BREAKING CHANGE: gtk-layer-shell is now required and unconditionally
used. The corresponding config option is removed.
As a part of preparation for future versions of GTK, remove an ability
to use wlr-layer-shell directly. The APIs it required were dropped in
GTK4, and with the menus/tooltips positioning issue being practically
unsolvable it doesn't make sense to keep maintaining the code.
2024-02-17 22:00:38 +03:00
Alex
d5bc2f3335
Merge remote-tracking branch 'luka/gtk4' into gtk4
2024-01-12 10:06:47 +01:00
Alexis Rouillard
f744d906be
Merge pull request #2820 from oxalica/feat/systemd-failed-units
...
Add module systemd-failed-units to monitor failed systemd units
2024-01-12 09:45:40 +01:00
Brenno Lemos
9e08512927
feat: strip workspace qualifiers when creating windows
2024-01-10 02:24:51 -03:00
oxalica
eedd1f8e6a
Add module systemd-failed-units
2024-01-09 18:19:30 +08:00
Brenno Lemos
4339030c9d
feat: fetch clients data when moving workspaces accross monitors
2024-01-08 20:11:39 -03:00
Brenno Lemos
bc7acbde5c
fix: rename windows while queued for creation
...
this avoids the window arriving with the wrong icon when its eventually
able to be created
2024-01-08 18:30:53 -03:00
Brenno Lemos
512c6fb127
feat: add orphan windows attribute to workspaces
...
this attribute will keep every window that doesn't have an associated
workspace in the current bar
2024-01-08 18:30:53 -03:00
Viktar Lukashonak
f8eb01def2
Clean code
...
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
2024-01-08 22:48:57 +03:00
Viktar Lukashonak
158767b5b4
Drop break point
...
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
2024-01-08 22:26:13 +03:00
Viktar Lukashonak
aa95c04842
Gtk4. Stylecontext
...
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
2024-01-08 22:20:23 +03:00
Viktar Lukashonak
4a88cb693a
GTK4 base compilation
...
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
2024-01-08 19:03:42 +03:00
yangyingchao
bdd7271da9
Improvements for Hyprland backend
...
1. Fix warnings reported by clang tidy
2. Use unique lock instead of manully lock/unlock on mutex.
The RAII style locking makes sure mutex is unlocked when exceptions are thrown
2024-01-08 09:26:16 +08:00
yangyingchao
a34e3ccc86
Improvements for Hyprland workspace
...
1. Utilize `m_mutex` to safeguard member fields of `hyprland::Workspaces` as they are modified by multiple threads, including the event listener thread and UI thread. This applies to all member fields, not just `m_workspacesToCreate`.
2. Tidy up the create/remove workspace code.
2024-01-08 09:14:36 +08:00
Alexis Rouillard
4b20f522f0
Merge pull request #2789 from DreamMaoMao/master
...
fix:#2769
2024-01-04 15:33:26 +01:00
Emily Ellis
ff09ef6d71
hyprland/workspaces: allow using the original window class/title
...
This turns the values of window rewrite rules in hyprland/workspaces from static strings to format strings with the values {class} and {title} available.
2023-12-30 21:07:40 -05:00
Evan Overman
19bf4d0544
clang format trailing whitespace
2023-12-28 19:38:01 -08:00
Evan Overman
6b860f8690
clang formating
2023-12-28 19:36:21 -08:00
Evan Overman
182272b8b5
fix #2650
2023-12-28 19:30:26 -08:00
DreamMaoMao
e64d66ab24
fix:the workspace data is null in a small probability
...
update
fix clang-format warn
no manual unlock
2023-12-25 21:55:46 +08:00
Alan Vannereau
49caab47a6
Fix wireplumber reverse-scroll option
2023-12-22 11:50:41 +01:00
Jo De Boeck
0ea5143493
Pass WAYBAR_OUTPUT_NAME environment variable to custom exec scripts
...
Signed-off-by: Jo De Boeck <deboeck.jo@gmail.com>
2023-12-19 22:54:12 +02:00
Alexis Rouillard
f5370fcff5
Merge pull request #2573 from CromFr/cabi_plugins
...
C ABI plugin system
2023-12-18 14:10:02 +01:00
Rice8Dyb6
4822f967b2
Sway/workspaces: fix persistent icon
2023-12-11 00:17:35 +07:00
zjeffer
4d5b715dc4
applied clang-tidy suggestions for hyprland workspaces
2023-12-06 21:58:26 +01:00
Alexis Rouillard
5f8ae44233
Merge pull request #2703 from czadowanie/master
...
upower: show-icon config option
2023-12-05 23:34:43 +01:00
Austin Horstman
b1744278d1
chore: lint fix
2023-12-01 22:05:40 -06:00
Alexander Bakker
6be5f7cb29
Disconnect from PipeWire when destroying the WirePlumber module
...
This fixes a crash where PipeWire tries to send events to a destroyed
WirePlumber module.
2023-11-29 22:46:58 +01:00
czadowanie
2334faa7fd
upower: show-icon config option
2023-11-28 19:39:08 +01:00
Jeremy Huang
0162dbd485
add button single click check to hyprland workspaces
2023-11-27 16:20:05 -08:00