mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-18 10:47:31 -08:00
first derivation of gnome plugin. Very happy!
This commit is contained in:
parent
b646d0e429
commit
3858cfc206
@ -31,6 +31,7 @@ in {
|
||||
gnome.gnome-tweaks # Utility for customizing various aspects of the GNOME desktop environment.
|
||||
gnomeExtensions.focus-changer # GNOME Shell extension for changing window focus behavior.
|
||||
evolution # Personal information management application that provides email, calendar, and contact management features.
|
||||
gnome-set-panel-monitor
|
||||
#gnomeExtensions.fullscreen-avoider # TODO: Add back when fixed upstream
|
||||
];
|
||||
|
||||
|
@ -9,4 +9,5 @@ final: prev: {
|
||||
nx_tzdb = final.callPackage ../pkgs/nx_tzdb.nix {};
|
||||
yuzu-archive = final.libsForQt5.callPackage ../pkgs/yuzu-archive.nix {};
|
||||
citra-archive = final.qt6Packages.callPackage ../pkgs/citra-archive.nix {};
|
||||
gnome-set-panel-monitor = final.callPackage ../pkgs/gnome-set-panel-monitor.nix {};
|
||||
}
|
||||
|
41
provision/pkgs/gnome-set-panel-monitor.nix
Normal file
41
provision/pkgs/gnome-set-panel-monitor.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ lib, stdenv, fetchFromGitHub, glib }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "gnome-set-panel-monitor";
|
||||
version = "git-2024-04-11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "starr-dusT";
|
||||
repo = "gnome-set-panel-monitor";
|
||||
rev = "b1dadb63c153cb9e1c546eb1d151b169d4c05e39";
|
||||
hash = "sha256-iHLd4TYgpTxwrPnfx80H+JGV8SpP1wrGgRPPnMyaUaA=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
make schemas
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p "$out/share/gnome-shell/extensions/gnome-set-panel-monitor@tstarr.us"
|
||||
cp -r * "$out/share/gnome-shell/extensions/gnome-set-panel-monitor@tstarr.us"
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
extensionUuid = "gnome-set-panel-monitor@tstarr.us";
|
||||
extensionPortalSlug = "gnome-set-panel-monitor";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Set monitor for panel to appear on.";
|
||||
maintainers = with maintainers; [ starr-dusT ];
|
||||
homepage = "https://github.com/starr-dusT/gnome-set-panel-monitor";
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user