Skip to content

Commit

Permalink
desktop: patch rofi to produce {app_id} for systemd-run names
Browse files Browse the repository at this point in the history
  • Loading branch information
Atemu committed Nov 11, 2024
1 parent 52f29a9 commit bd819ef
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion modules/desktop/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,15 @@ in

environment.systemPackages = (with pkgs; [
brightnessctl
rofi-wayland
(rofi-wayland.override {
rofi-unwrapped = pkgs.rofi-wayland-unwrapped.overrideAttrs (old: {
patches = old.patches or [ ] ++ [
# Makes {app_id} available in -run-command.
# https://github.com/davatorium/rofi/pull/2048#issuecomment-2466841262
./rofi-desktop-app-id.patch
];
});
})
wev
])
++ lib.optionals this.tablet (with pkgs; [
Expand Down

0 comments on commit bd819ef

Please sign in to comment.