Skip to content

Commit e8bcb4e

Browse files
committed
feat: restore hypr feature
1 parent 2b90127 commit e8bcb4e

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

docs/HOWTO.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ There are three categories of options:
213213
* `withGnome`, `bool` – whether to enable Gnome support
214214
* `withX11`, `bool` – whether to enable X11 support
215215
* `withKDE`, `bool` – whether to enable KDE wayland support
216+
* `withHypr`, `bool` – whether to enable non-wlroots based Hyprland support
216217

217218
All of them are false by default, which means no application-specific remaps work as xremap does not know which application is being used.
218219

lib/default.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ in
1818
withSway = mkEnableOption "support for Sway (consider switching to wlroots)";
1919
withGnome = mkEnableOption "support for Gnome";
2020
withX11 = mkEnableOption "support for X11";
21-
withHypr = mkEnableOption "support for Hyprland (consider switching to wlroots)";
22-
withWlroots = mkEnableOption "support for wlroots-based compositors (Sway, Hyprland, etc.)";
21+
withHypr = mkEnableOption "support for post-wlroots Hyprland";
22+
withWlroots = mkEnableOption "support for wlroots-based compositors (Sway, old Hyprland, etc.)";
2323
withKDE = mkEnableOption "support KDE-Plasma Wayland";
2424
enable = mkOption {
2525
type = types.bool;
@@ -66,7 +66,7 @@ in
6666
else if cfg.withX11 then
6767
selfPkgs'.xremap-x11
6868
else if cfg.withHypr then
69-
lib.warn "Consider using withWlroots as recommended by upstream" selfPkgs'.xremap-hypr
69+
selfPkgs'.xremap-hypr
7070
else if cfg.withKDE then
7171
selfPkgs'.xremap-kde
7272
else

overlay/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ rec {
5454
xremap-sway = mkUpstreamDeprecatedNote "sway";
5555
xremap-gnome = packageWithFeature "gnome";
5656
xremap-x11 = packageWithFeature "x11";
57-
xremap-hypr = mkUpstreamDeprecatedNote "hypr";
57+
xremap-hypr = packageWithFeature "hypr";
5858
xremap-kde = packageWithFeature "kde";
5959
}

0 commit comments

Comments
 (0)