feat(hypr): add official overview plugin
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
0ee3f248b8
commit
2226b33bc8
4 changed files with 62 additions and 0 deletions
26
flake.lock
26
flake.lock
|
@ -447,6 +447,31 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"hypr-official-plugins": {
|
||||
"inputs": {
|
||||
"hyprland": [
|
||||
"hyprland"
|
||||
],
|
||||
"systems": [
|
||||
"hypr-official-plugins",
|
||||
"hyprland",
|
||||
"systems"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1712281995,
|
||||
"narHash": "sha256-NoRAAqed5t3b3/Ebt5SW9BWh8dyKRmw9i9KjLcMdLsE=",
|
||||
"owner": "hyprwm",
|
||||
"repo": "hyprland-plugins",
|
||||
"rev": "a7145f019254a7d953d56945c168d1bc698c35e4",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hyprwm",
|
||||
"repo": "hyprland-plugins",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"hyprcursor": {
|
||||
"inputs": {
|
||||
"hyprlang": "hyprlang_2",
|
||||
|
@ -1487,6 +1512,7 @@
|
|||
"gtk-theme-src": "gtk-theme-src",
|
||||
"headscale": "headscale",
|
||||
"home-manager": "home-manager",
|
||||
"hypr-official-plugins": "hypr-official-plugins",
|
||||
"hyprgrass": "hyprgrass",
|
||||
"hypridle": "hypridle",
|
||||
"hyprland": "hyprland",
|
||||
|
|
|
@ -250,6 +250,13 @@
|
|||
|
||||
inputs.hyprland.follows = "hyprland";
|
||||
};
|
||||
hypr-official-plugins = {
|
||||
type = "github";
|
||||
owner = "hyprwm";
|
||||
repo = "hyprland-plugins";
|
||||
|
||||
inputs.hyprland.follows = "hyprland";
|
||||
};
|
||||
|
||||
ags = {
|
||||
type = "github";
|
||||
|
|
|
@ -54,6 +54,7 @@ in {
|
|||
# HOME-MANAGER CONFIG
|
||||
home-manager.users.${mainUser} = {
|
||||
imports = [
|
||||
./hyprexpo.nix
|
||||
./hyprgrass.nix
|
||||
./inputs.nix
|
||||
./style.nix
|
||||
|
|
28
modules/hyprland/hyprexpo.nix
Normal file
28
modules/hyprland/hyprexpo.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
hypr-official-plugins,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
wayland.windowManager.hyprland = {
|
||||
plugins = [hypr-official-plugins.packages.${pkgs.system}.hyprexpo];
|
||||
|
||||
settings = {
|
||||
plugin = {
|
||||
hyprexpo = {
|
||||
columns = 3;
|
||||
gap_size = 5;
|
||||
bg_col = "rgb(111111)";
|
||||
workspace_method = "center current"; # [center/first] [workspace] e.g. first 1 or center m+1
|
||||
|
||||
enable_gesture = true; # laptop touchpad, 4 fingers
|
||||
gesture_distance = 300; # how far is the "max"
|
||||
gesture_positive = true; # positive = swipe down. Negative = swipe up.
|
||||
};
|
||||
};
|
||||
|
||||
bind = [
|
||||
"ALT, tab, hyprexpo:expo, toggle" # can be: toggle, off/disable or on/enable
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue