Skip to content

Commit

Permalink
home-manager/hyprland: use hyprtabs from upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada committed Dec 17, 2024
1 parent 35e9170 commit 6ea7d8a
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 108 deletions.
21 changes: 21 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@
flake = false;
};

# hyprland
hyprland-go = {
url = "github:thiagokokada/hyprland-go";
inputs.nixpkgs.follows = "nixpkgs";
};

# yazi
yazi-flavors = {
url = "github:yazi-rs/flavors";
Expand Down
7 changes: 6 additions & 1 deletion home-manager/desktop/wayland/hyprland/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,22 @@
config,
lib,
pkgs,
flake,
...
}:

let
inherit (config.wayland.windowManager.hyprland) finalPackage;
inherit (flake.inputs.hyprland-go.packages.${pkgs.system}) hyprland-go;

cfg = config.home-manager.desktop.wayland.hyprland;
hyprctl = lib.getExe' finalPackage "hyprctl";
hyprtabs = lib.getExe (pkgs.callPackage ./hyprtabs { });
hyprtabs = lib.getExe' hyprland-go "hyprtabs";

# Mouse
leftButton = "272";
rightButton = "273";

# Modifiers
alt = "ALT";
ctrl = "CONTROL";
Expand Down
1 change: 0 additions & 1 deletion home-manager/desktop/wayland/hyprland/hyprtabs/.gitignore

This file was deleted.

20 changes: 0 additions & 20 deletions home-manager/desktop/wayland/hyprland/hyprtabs/default.nix

This file was deleted.

5 changes: 0 additions & 5 deletions home-manager/desktop/wayland/hyprland/hyprtabs/go.mod

This file was deleted.

2 changes: 0 additions & 2 deletions home-manager/desktop/wayland/hyprland/hyprtabs/go.sum

This file was deleted.

79 changes: 0 additions & 79 deletions home-manager/desktop/wayland/hyprland/hyprtabs/hyprtabs.go

This file was deleted.

0 comments on commit 6ea7d8a

Please sign in to comment.