mirror of
https://github.com/tuxdotrs/nixos-config.git
synced 2025-07-06 09:46:34 +05:30
feat: add and enable hyprexpo plugin
This commit is contained in:
31
flake.lock
generated
31
flake.lock
generated
@ -571,6 +571,36 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"hyprland-plugins": {
|
||||||
|
"inputs": {
|
||||||
|
"hyprland": [
|
||||||
|
"hyprland"
|
||||||
|
],
|
||||||
|
"nixpkgs": [
|
||||||
|
"hyprland-plugins",
|
||||||
|
"hyprland",
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"systems": [
|
||||||
|
"hyprland-plugins",
|
||||||
|
"hyprland",
|
||||||
|
"systems"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1750503578,
|
||||||
|
"narHash": "sha256-/qnR7/GvGP1cGtOOm4OGJRtkVejn75/jsvJpiqE1ZDk=",
|
||||||
|
"owner": "hyprwm",
|
||||||
|
"repo": "hyprland-plugins",
|
||||||
|
"rev": "8b4405ab46cafc471d5b09ff7258676dc9aaca59",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "hyprwm",
|
||||||
|
"repo": "hyprland-plugins",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"hyprland-protocols": {
|
"hyprland-protocols": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@ -1363,6 +1393,7 @@
|
|||||||
"ghostty": "ghostty",
|
"ghostty": "ghostty",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"hyprland": "hyprland",
|
"hyprland": "hyprland",
|
||||||
|
"hyprland-plugins": "hyprland-plugins",
|
||||||
"impermanence": "impermanence",
|
"impermanence": "impermanence",
|
||||||
"nix-index-database": "nix-index-database",
|
"nix-index-database": "nix-index-database",
|
||||||
"nix-on-droid": "nix-on-droid",
|
"nix-on-droid": "nix-on-droid",
|
||||||
|
@ -153,6 +153,11 @@
|
|||||||
url = "github:nix-community/nix-index-database";
|
url = "github:nix-community/nix-index-database";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
hyprland.url = "github:hyprwm/Hyprland";
|
||||||
|
hyprland-plugins = {
|
||||||
|
url = "github:hyprwm/hyprland-plugins";
|
||||||
|
inputs.hyprland.follows = "hyprland";
|
||||||
|
};
|
||||||
ghostty.url = "github:ghostty-org/ghostty";
|
ghostty.url = "github:ghostty-org/ghostty";
|
||||||
nixos-hardware.url = "github:nixos/nixos-hardware";
|
nixos-hardware.url = "github:nixos/nixos-hardware";
|
||||||
nixpkgs-f2k.url = "github:moni-dz/nixpkgs-f2k";
|
nixpkgs-f2k.url = "github:moni-dz/nixpkgs-f2k";
|
||||||
@ -160,7 +165,6 @@
|
|||||||
sops-nix.url = "github:Mic92/sops-nix";
|
sops-nix.url = "github:Mic92/sops-nix";
|
||||||
impermanence.url = "github:nix-community/impermanence";
|
impermanence.url = "github:nix-community/impermanence";
|
||||||
deploy-rs.url = "github:serokell/deploy-rs";
|
deploy-rs.url = "github:serokell/deploy-rs";
|
||||||
hyprland.url = "github:hyprwm/Hyprland";
|
|
||||||
nixcord.url = "github:kaylorben/nixcord";
|
nixcord.url = "github:kaylorben/nixcord";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -8,6 +8,10 @@
|
|||||||
xwayland.enable = true;
|
xwayland.enable = true;
|
||||||
systemd.variables = ["--all"];
|
systemd.variables = ["--all"];
|
||||||
|
|
||||||
|
plugins = with pkgs.hyprland-plugins; [
|
||||||
|
hyprexpo
|
||||||
|
];
|
||||||
|
|
||||||
settings = let
|
settings = let
|
||||||
# Hyprland
|
# Hyprland
|
||||||
border_size = 0;
|
border_size = 0;
|
||||||
@ -126,6 +130,20 @@
|
|||||||
"workspace 5 silent, class:(discord|Spotify|org.telegram.desktop)"
|
"workspace 5 silent, class:(discord|Spotify|org.telegram.desktop)"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
plugin = {
|
||||||
|
hyprexpo = {
|
||||||
|
columns = 3;
|
||||||
|
gap_size = 5;
|
||||||
|
bg_col = "rgb(111111)";
|
||||||
|
workspace_method = "center current";
|
||||||
|
|
||||||
|
enable_gesture = true;
|
||||||
|
gesture_fingers = 3;
|
||||||
|
gesture_distance = 300;
|
||||||
|
gesture_positive = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
bind = [
|
bind = [
|
||||||
# apps
|
# apps
|
||||||
"SUPER, Return, exec, ${terminal}"
|
"SUPER, Return, exec, ${terminal}"
|
||||||
@ -147,6 +165,7 @@
|
|||||||
|
|
||||||
# hyprland
|
# hyprland
|
||||||
"SUPER, Q, killactive"
|
"SUPER, Q, killactive"
|
||||||
|
"SUPER, grave, hyprexpo:expo, toggle"
|
||||||
"SUPER_SHIFT, Q, forcekillactive"
|
"SUPER_SHIFT, Q, forcekillactive"
|
||||||
"SUPER_SHIFT, F, fullscreen, 0"
|
"SUPER_SHIFT, F, fullscreen, 0"
|
||||||
"SUPER_SHIFT, Space, togglefloating"
|
"SUPER_SHIFT, Space, togglefloating"
|
||||||
@ -211,6 +230,9 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
"exec-once" = [
|
"exec-once" = [
|
||||||
|
# load hyprland plugins
|
||||||
|
"hyprctl plugin load '$HYPR_PLUGIN_DIR/lib/libhyprexpo.so'"
|
||||||
|
|
||||||
"${pkgs.swaybg}/bin/swaybg -i ~/Wallpapers/island-night.png"
|
"${pkgs.swaybg}/bin/swaybg -i ~/Wallpapers/island-night.png"
|
||||||
"${pkgs.tpanel}/bin/tpanel"
|
"${pkgs.tpanel}/bin/tpanel"
|
||||||
"copyq"
|
"copyq"
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
trok = inputs.trok.packages.${prev.system}.default;
|
trok = inputs.trok.packages.${prev.system}.default;
|
||||||
cyber-tux = inputs.cyber-tux.packages.${prev.system}.default;
|
cyber-tux = inputs.cyber-tux.packages.${prev.system}.default;
|
||||||
hyprland-git = inputs.hyprland.packages.${prev.system};
|
hyprland-git = inputs.hyprland.packages.${prev.system};
|
||||||
|
hyprland-plugins = inputs.hyprland-plugins.packages.${prev.system};
|
||||||
};
|
};
|
||||||
|
|
||||||
# When applied, the stable nixpkgs set (declared in the flake inputs) will
|
# When applied, the stable nixpkgs set (declared in the flake inputs) will
|
||||||
|
Reference in New Issue
Block a user