mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
derive the other gnome extensions I use for now
This commit is contained in:
parent
3858cfc206
commit
a16f280a4c
@ -29,10 +29,11 @@ in {
|
|||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
gnome.dconf-editor # Graphical tool for editing settings stored in the dconf database of GNOME.
|
gnome.dconf-editor # Graphical tool for editing settings stored in the dconf database of GNOME.
|
||||||
gnome.gnome-tweaks # Utility for customizing various aspects of the GNOME desktop environment.
|
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.
|
evolution # Personal information management application that provides email, calendar, and contact management features.
|
||||||
|
gnomeExtensions.focus-changer # GNOME Shell extension for changing window focus behavior.
|
||||||
|
gnome-fullscreen-to-empty-workspace
|
||||||
gnome-set-panel-monitor
|
gnome-set-panel-monitor
|
||||||
#gnomeExtensions.fullscreen-avoider # TODO: Add back when fixed upstream
|
gnome-maximize-lonely-window
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.gnome.excludePackages = with pkgs.gnome; [
|
environment.gnome.excludePackages = with pkgs.gnome; [
|
||||||
|
@ -10,4 +10,6 @@ final: prev: {
|
|||||||
yuzu-archive = final.libsForQt5.callPackage ../pkgs/yuzu-archive.nix {};
|
yuzu-archive = final.libsForQt5.callPackage ../pkgs/yuzu-archive.nix {};
|
||||||
citra-archive = final.qt6Packages.callPackage ../pkgs/citra-archive.nix {};
|
citra-archive = final.qt6Packages.callPackage ../pkgs/citra-archive.nix {};
|
||||||
gnome-set-panel-monitor = final.callPackage ../pkgs/gnome-set-panel-monitor.nix {};
|
gnome-set-panel-monitor = final.callPackage ../pkgs/gnome-set-panel-monitor.nix {};
|
||||||
|
gnome-maximize-lonely-window = final.callPackage ../pkgs/gnome-maximize-lonely-window.nix {};
|
||||||
|
gnome-fullscreen-to-empty-workspace = final.callPackage ../pkgs/gnome-fullscreen-to-empty-workspace.nix {};
|
||||||
}
|
}
|
||||||
|
31
provision/pkgs/gnome-fullscreen-to-empty-workspace.nix
Normal file
31
provision/pkgs/gnome-fullscreen-to-empty-workspace.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ lib, stdenv, fetchFromGitHub, glib }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "gnome-fullscreen-to-new-workspace";
|
||||||
|
version = "git-2023-08-19";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "onsah";
|
||||||
|
repo = "fullscreen-to-new-workspace";
|
||||||
|
rev = "8237de39f420307c0c08b72a0d9af042c03440ed";
|
||||||
|
hash = "sha256-pdRReQDHDu3nWvMGhPryU6++pT7ohB8KPvxFwDSsFaw=";
|
||||||
|
};
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
mkdir -p "$out/share/gnome-shell/extensions/fullscreen-to-empty-workspace@aiono.dev"
|
||||||
|
cp -r src/* "$out/share/gnome-shell/extensions/fullscreen-to-empty-workspace@aiono.dev"
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
extensionUuid = "fullscreen-to-empty-workspace@aiono.dev";
|
||||||
|
extensionPortalSlug = "fullscreen-to-empty-workspace";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "New, maximized and fullscreen windows will be moved to empty workspaces.";
|
||||||
|
maintainers = with maintainers; [ onsah starr-dusT ];
|
||||||
|
homepage = "https://github.com/onsah/fullscreen-to-new-workspace";
|
||||||
|
};
|
||||||
|
}
|
31
provision/pkgs/gnome-maximize-lonely-window.nix
Normal file
31
provision/pkgs/gnome-maximize-lonely-window.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ lib, stdenv, fetchFromGitHub, glib }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "gnome-maximize-lonely-window";
|
||||||
|
version = "git-2023-10-31";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "MrShuster";
|
||||||
|
repo = "maximize_lonely_window";
|
||||||
|
rev = "c12dacd32754d9ee07373420e8f8797792ec68d7";
|
||||||
|
hash = "sha256-qWhmphbn4BRgCFr2p/0X+E0ECPqI21DmJip8icPQwgk=";
|
||||||
|
};
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
mkdir -p "$out/share/gnome-shell/extensions/maximize-lonely-window@MrShuster"
|
||||||
|
cp -r * "$out/share/gnome-shell/extensions/maximize-lonely-window@MrShuster"
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
extensionUuid = "maximize-lonely-window@MrShuster";
|
||||||
|
extensionPortalSlug = "maximize-lonely-window";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "New and maximized windows will be moved to empty workspaces.";
|
||||||
|
maintainers = with maintainers; [ MrShuster starr-dusT ];
|
||||||
|
homepage = "https://github.com/MrShuster/maximize_lonely_window";
|
||||||
|
};
|
||||||
|
}
|
@ -11,16 +11,6 @@ stdenv.mkDerivation {
|
|||||||
hash = "sha256-iHLd4TYgpTxwrPnfx80H+JGV8SpP1wrGgRPPnMyaUaA=";
|
hash = "sha256-iHLd4TYgpTxwrPnfx80H+JGV8SpP1wrGgRPPnMyaUaA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
|
||||||
glib
|
|
||||||
];
|
|
||||||
|
|
||||||
buildPhase = ''
|
|
||||||
runHook preBuild
|
|
||||||
make schemas
|
|
||||||
runHook postBuild
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
mkdir -p "$out/share/gnome-shell/extensions/gnome-set-panel-monitor@tstarr.us"
|
mkdir -p "$out/share/gnome-shell/extensions/gnome-set-panel-monitor@tstarr.us"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user