meta: Drop hycov for now

hycov is being updated again, which is cool, but I couldn't make the
latest version work with the hyprland overlay I'm currently using, and
I'd rather not have to worry about all the additional inputs from the
hyprland flake.

Overall I recall using it a lot at first, but then rarely if ever as
time went on. Once 0.39.1 gets merged into nixos-unstable, it will be
interesting to see how hyprexpo compares to hycov.
This commit is contained in:
Donovan Glover 2024-04-17 11:33:09 -04:00
parent f422b9e6ed
commit 6348c26aae
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
4 changed files with 1 additions and 68 deletions

View File

@ -18,7 +18,7 @@ in
};
environment.systemPackages = attrValues {
inherit (nix-config.packages.x86_64-linux) fluent-icons hycov osu-backgrounds;
inherit (nix-config.packages.x86_64-linux) fluent-icons osu-backgrounds;
inherit (pkgs) ruby php;
};

View File

@ -6,7 +6,6 @@ let
opacity = "0.95";
super = "SUPER";
hycov = callPackage ../packages/hycov.nix { };
osu-backgrounds = callPackage ../packages/osu-backgrounds.nix { };
raiseVolumeScript = "hypr/raise-volume.fish";
@ -45,10 +44,6 @@ in
wayland.windowManager.hyprland = {
enable = true;
plugins = [
hycov
];
settings = {
env = [
"XCURSOR_SIZE,24"
@ -169,13 +164,6 @@ in
allow_workspace_cycles = true;
};
plugin = {
hycov = {
hotarea_size = 0;
enable_gesture = 1;
};
};
layerrule = [
"blur,ironbar"
"blur,rofi"
@ -255,12 +243,6 @@ in
"${super}_SHIFT, 1, exec, hyprnome --previous --move"
"${super}_SHIFT, 2, exec, hyprnome --move"
"${super}, Tab, hycov:toggleoverview"
"${super}, Left, hycov:movefocus,l"
"${super}, Right, hycov:movefocus,r"
"${super}, Up, hycov:movefocus,u"
"${super}, Down, hycov:movefocus,d"
"${super}, mouse_down, workspace, e+1"
"${super}, mouse_up, workspace, e-1"
];

View File

@ -62,12 +62,6 @@ in
type = "clock";
format = "%x%a%R";
}
{
name = "overview";
type = "label";
label = "";
on_mouse_enter = "hyprctl dispatch hycov:toggleoverview";
}
];
};
@ -157,11 +151,6 @@ in
padding-left: 1em;
padding-right: 0.5em;
}
#overview {
padding-left: 0.5em;
padding-right: 1em;
}
'';
xdg.configFile.${mullvadNotification} = {

View File

@ -1,38 +0,0 @@
{ lib
, stdenv
, hyprland
, fetchFromGitHub
, fetchpatch
}:
stdenv.mkDerivation (finalAttrs: {
pname = "hycov";
version = "0.36.0.1";
src = fetchFromGitHub {
owner = "DreamMaoMao";
repo = "hycov";
rev = finalAttrs.version;
hash = "sha256-GHrgunfo+UARnf3OgNhdXoNFALRAmQEGhlZ8x5TBvkQ=";
};
patches = [
# Update method signatures for Hyprland 0.37.0+
(fetchpatch {
url = "https://github.com/Ayuei/hycov/commit/db6ea8a24f0a58fa69f86db49d7c853754b1b8e1.patch";
hash = "sha256-2FMHLmxuuBrui57d6kw6sfJJmtAV0vNF8sjFdaeIgf0=";
})
];
inherit (hyprland) nativeBuildInputs;
buildInputs = [ hyprland ] ++ hyprland.buildInputs;
meta = with lib; {
description = "Clients overview for hyprland plugin";
homepage = "https://github.com/Ayuei/hycov";
license = licenses.mit;
maintainers = with maintainers; [ donovanglover ];
platforms = platforms.linux;
};
})