Compare commits
No commits in common. "0c2f1e67dbf1db6751ea0b4c0f9827bb5022db7a" and "9b61203506c9f8960daeae50184d36170990f8b5" have entirely different histories.
0c2f1e67db
...
9b61203506
|
@ -295,8 +295,6 @@
|
||||||
electron = pkgs.electron_22;
|
electron = pkgs.electron_22;
|
||||||
};
|
};
|
||||||
swayimg = pkgs.callPackage ./packages/swayimg/default.nix { };
|
swayimg = pkgs.callPackage ./packages/swayimg/default.nix { };
|
||||||
hyprland-autoname-workspaces =
|
|
||||||
pkgs.callPackage ./packages/workspace-renamer/default.nix { };
|
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,8 +12,6 @@ in with lib; {
|
||||||
inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.swaynotificationcenter;
|
inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.swaynotificationcenter;
|
||||||
in {
|
in {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
# General
|
|
||||||
killall
|
|
||||||
# Locking and display management
|
# Locking and display management
|
||||||
wdisplays
|
wdisplays
|
||||||
swaylock-package
|
swaylock-package
|
||||||
|
@ -60,8 +58,6 @@ in with lib; {
|
||||||
# Polkit
|
# Polkit
|
||||||
libsForQt5.polkit-kde-agent
|
libsForQt5.polkit-kde-agent
|
||||||
polkit_gnome
|
polkit_gnome
|
||||||
# Auto workspace renaming
|
|
||||||
inputs.self.packages.${pkgs.system}.hyprland-autoname-workspaces
|
|
||||||
];
|
];
|
||||||
#########################
|
#########################
|
||||||
## Hyprland
|
## Hyprland
|
||||||
|
|
|
@ -59,9 +59,6 @@ in with lib; {
|
||||||
hidpi = false;
|
hidpi = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# Make swaylock work
|
|
||||||
# https://github.com/NixOS/nixpkgs/issues/158025
|
|
||||||
security.pam.services.swaylock = { };
|
|
||||||
|
|
||||||
environment.sessionVariables = { MOZ_ENABLE_WAYLAND = "1"; };
|
environment.sessionVariables = { MOZ_ENABLE_WAYLAND = "1"; };
|
||||||
|
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
{ config, lib, pkgs, fetchFromGitHub, rustPlatform, ... }:
|
|
||||||
let
|
|
||||||
vals = builtins.fromJSON (builtins.readFile ../../sources/autoname.json);
|
|
||||||
version = "1.0.0";
|
|
||||||
rev = vals.rev;
|
|
||||||
hash = vals.hash;
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "hyprland-community";
|
|
||||||
repo = "hyprland-autoname-workspaces";
|
|
||||||
inherit rev hash;
|
|
||||||
};
|
|
||||||
in rustPlatform.buildRustPackage {
|
|
||||||
pname = "hyprland-autoname-workspaces";
|
|
||||||
inherit version;
|
|
||||||
inherit src;
|
|
||||||
cargoLock = {
|
|
||||||
lockFile = "${src}/Cargo.lock";
|
|
||||||
outputHashes = {
|
|
||||||
"hyprland-0.3.3" = "sha256-3RhuaVLCjEwvIBQyot2sma5kFLSGVndJ58UUef0bES4=";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
{
|
|
||||||
"rev": "4cbebec3f29c59846c9e2a53bddb1ba6f84ae605",
|
|
||||||
"hash": "sha256-g+in35ucDRghRiowboQugwkVMfmCDxMXDJXT8oNQxek="
|
|
||||||
}
|
|
|
@ -16,18 +16,6 @@ jq --null-input \
|
||||||
> $DIRECTORY/swayimg.json
|
> $DIRECTORY/swayimg.json
|
||||||
echo "swayimg now at $SWAYIMG_VERSION"
|
echo "swayimg now at $SWAYIMG_VERSION"
|
||||||
|
|
||||||
# Update autoname
|
|
||||||
# AUTONAME_BRANCH=$(curl https://api.github.com/repos/hyprland-community/hyprland-autoname-workspaces| jq -r '.default_branch')
|
|
||||||
# AUTONAME_REV=$(curl https://api.github.com/repos/hyprland-community/hyprland-autoname-workspaces/git/refs/heads/$AUTONAME_BRANCH | \
|
|
||||||
# jq -r '.object.sha')
|
|
||||||
# AUTONAME_HASH=$(nix-prefetch fetchFromGitHub --owner hyprland-community --repo hyprland-autoname-workspaces --rev $AUTONAME_REV)
|
|
||||||
# jq --null-input \
|
|
||||||
# --arg rev "$AUTONAME_REV" \
|
|
||||||
# --arg hash "$AUTONAME_HASH" \
|
|
||||||
# '{"rev": $rev, "hash": $hash}' \
|
|
||||||
# > $DIRECTORY/autoname.json
|
|
||||||
# echo "autoname now at $AUTONAME_REV"
|
|
||||||
|
|
||||||
# Update gamescope
|
# Update gamescope
|
||||||
GAMESCOPE_BRANCH=$(curl https://api.github.com/repos/ValveSoftware/gamescope | jq -r '.default_branch')
|
GAMESCOPE_BRANCH=$(curl https://api.github.com/repos/ValveSoftware/gamescope | jq -r '.default_branch')
|
||||||
GAMESCOPE_REV=$(curl https://api.github.com/repos/ValveSoftware/gamescope/git/refs/heads/$GAMESCOPE_BRANCH | \
|
GAMESCOPE_REV=$(curl https://api.github.com/repos/ValveSoftware/gamescope/git/refs/heads/$GAMESCOPE_BRANCH | \
|
||||||
|
@ -39,4 +27,3 @@ jq --null-input \
|
||||||
'{"rev": $rev, "hash": $hash}' \
|
'{"rev": $rev, "hash": $hash}' \
|
||||||
> $DIRECTORY/gamescope.json
|
> $DIRECTORY/gamescope.json
|
||||||
echo "gamescope now at $GAMESCOPE_REV"
|
echo "gamescope now at $GAMESCOPE_REV"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue