eb04659fc2
This was achieved using the following command: sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b') And then manually reverted the following changes: - alias in top-level.nix - function name in wrap-gapps-hook.sh - comment in postFixup of at-spi2-core - comment in gtk4 - comment in preFixup of 1password-gui/linux.nix - comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix - comment in postFixup of telegram-desktop - comment in postFixup of fwupd - buildCommand of mongodb-compass - postFixup of xflux-gui - comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config - description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
50 lines
982 B
Nix
50 lines
982 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, wrapGAppsHook3
|
|
, atk
|
|
, cairo
|
|
, gdk-pixbuf
|
|
, glib
|
|
, gtk3
|
|
, pango
|
|
, gtk-layer-shell
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "sway-easyfocus";
|
|
version = "unstable-2023-11-05";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "edzdez";
|
|
repo = "sway-easyfocus";
|
|
rev = "4c70f6728dbfc859e60505f0a7fd82f5a90ed42c";
|
|
hash = "sha256-WvYXhf13ZCoa+JAF4bYgi5mI22i9pZLtbIhF1odqaTU=";
|
|
};
|
|
|
|
cargoHash = "sha256-9cN0ervcU8JojwG7J250fprbCD2rB9kh9TbRU+wCE/Y=";
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
buildInputs = [
|
|
atk
|
|
cairo
|
|
gdk-pixbuf
|
|
glib
|
|
gtk3
|
|
gtk-layer-shell
|
|
pango
|
|
];
|
|
|
|
meta = {
|
|
description = "A tool to help efficiently focus windows in Sway, inspired by i3-easyfocus";
|
|
homepage = "https://github.com/edzdez/sway-easyfocus";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ eclairevoyant ];
|
|
mainProgram = "sway-easyfocus";
|
|
};
|
|
}
|