rofi: patch so that i can use -run-command "my-launcher {app_id}.desktop"
this plus xdg-desktop-portal's DynamicLauncher should provide a way to sandbox everything
This commit is contained in:
parent
6fd1ce1f61
commit
16f0424631
|
@ -27,7 +27,27 @@
|
|||
sane.programs.rofi = {
|
||||
# 2024/02/26: wayland is only supported by the fork: <https://github.com/lbonn/rofi>.
|
||||
# it's actively maintained though, and more of an overlay than a true fork.
|
||||
packageUnwrapped = pkgs.rofi-wayland;
|
||||
packageUnwrapped = pkgs.rofi-wayland.override {
|
||||
rofi-unwrapped = pkgs.rofi-wayland-unwrapped.overrideAttrs (upstream: {
|
||||
# my patches made for tip don't cleanly apply to stable, so advance the entire src
|
||||
src = pkgs.fetchFromGitea {
|
||||
domain = "git.uninsane.org";
|
||||
owner = "colin";
|
||||
repo = "rofi";
|
||||
fetchSubmodules = true;
|
||||
# rev = "dev-sane"; #< fetchFromGitea doesn't support tags (?)
|
||||
rev = "1edfceaeefa2cae971ae90dc55811f3b7592a1b4";
|
||||
hash = "sha256-oIWLwec1LRsss12S92ebBWQk14FBJWc6QcYxzOU3eFI=";
|
||||
};
|
||||
# patches = (upstream.patches or []) ++ [
|
||||
# (pkgs.fetchpatch {
|
||||
# url = "https://git.uninsane.org/colin/rofi/commit/d8bb0b9944ec1f3bf7479c9f127ec09d4198e87f.patch";
|
||||
# name = "run-{shell-,}command: expand `{app_id}` inside the template string";
|
||||
# hash = "sha256-XiZRvr+BARU7h3OPU0NUUEem3isnUVER69zucSqvNNk=";
|
||||
# })
|
||||
# ];
|
||||
});
|
||||
};
|
||||
|
||||
fs.".config/rofi/config.rasi".symlink.target = ./config.rasi;
|
||||
# redirect its default drun cache location
|
||||
|
|
Loading…
Reference in New Issue
Block a user