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
cc945ece3e
Merge remote-tracking branch 'upstream/gtk4' into gtk4
2024-02-26 21:46:37 +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
Alexis Rouillard
b54e2c16f3
Merge pull request #2927 from LukashonakV/gtk4
...
Gtk4. Pick up PR#2836
2024-02-19 22:42:00 +01: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
Aleksei Bavshin
8e33333c0b
chore: update gtk-layer-shell subproject to 0.8.2
2024-02-17 21:52:03 +03:00
Alex
f1abc186b2
fix: merge 🥲
2024-01-12 10:08:20 +01: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
Alexis Rouillard
fa3ce14b25
Merge pull request #2817 from Syndelis/fix/window-rewrite-multiple-bars-no-overlap
...
Fix/Hyprland/Workspaces: Window Rewrite on multiple non-overlapping bars
2024-01-12 09:44:03 +01:00
Alexis Rouillard
e6097229ce
Merge pull request #2814 from khaneliman/flake-update
...
flake update and direnv fix
2024-01-12 09:43:19 +01:00
Austin Horstman
b239c77d74
fix: temporary catch2_3 override until upstreamed to nixpkgs
2024-01-10 12:17:46 -06: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
c69a6dde67
chore: update Hyprland's featureset in readme
2024-01-08 20:31:15 -03: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
Austin Horstman
b90af74d15
feat: enable direnv and fix flake devshell output
2024-01-08 12:47:32 -06:00
Viktar Lukashonak
4a88cb693a
GTK4 base compilation
...
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
2024-01-08 19:03:42 +03:00
Austin Horstman
d4d5a54e63
chore: flake lock update
2024-01-08 09:37:48 -06:00
Alexis Rouillard
748fc809b5
Merge pull request #2813 from yangyingchao/master
...
Improvements for Hyprland worskspaces & backend
2024-01-08 14:03:23 +01: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
Alexis Rouillard
4636309117
Merge pull request #2803 from LukashonakV/catch_bump
...
Catch2 bump
2024-01-04 15:33:06 +01:00
Viktar Lukashonak
7783c81861
Catch2 bump
...
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
2024-01-04 17:22:27 +03:00
Alexis Rouillard
3e55d0d7f2
Merge pull request #2787 from scgtrp/master
...
hyprland/workspaces: allow using the original window class/title
2023-12-31 12:40:06 +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
Alexis Rouillard
99d26e44ee
Merge pull request #2778 from an-prata/master
...
fix `restart-interval` being ignored while `signal` is defined (#2650 )
2023-12-29 10:59:13 +01: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
Alexis Rouillard
41ebdc3cb6
Merge pull request #2768 from zjeffer/feat/zjeffer/freebsd-bump
2023-12-25 08:31:03 +01:00
Alexis Rouillard
8ccb959992
Merge pull request #2767 from zjeffer/master
2023-12-25 00:28:32 +01:00
zjeffer
13e904c20d
Bump cross-platform-action to attempt fixing freebsd runner
2023-12-25 00:26:39 +01:00