mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 06:18:03 +03:00
1 parent
c4e027e63c
commit
0b0cd74ee3
4 files changed
+69
-23
No files matched your search
@@ -12,6 +12,10 @@
|
|||||||
url = "github:hyprwm/hyprland-plugins";
|
url = "github:hyprwm/hyprland-plugins";
|
||||||
inputs.hyprland.follows = "hyprland";
|
inputs.hyprland.follows = "hyprland";
|
||||||
};
|
};
|
||||||
|
hyprspace = {
|
||||||
|
url = "github:KZDKM/Hyprspace";
|
||||||
|
inputs.hyprland.follows = "hyprland";
|
||||||
|
};
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager";
|
url = "github:nix-community/home-manager";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|||||||
@@ -7,5 +7,6 @@
|
|||||||
./hyprland/general.nix
|
./hyprland/general.nix
|
||||||
./hyprland/rules.nix
|
./hyprland/rules.nix
|
||||||
./hyprland/keybinds.nix
|
./hyprland/keybinds.nix
|
||||||
|
./hyprland/plugins.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
@@ -8,8 +8,8 @@
|
|||||||
gaps_in = 4;
|
gaps_in = 4;
|
||||||
gaps_out = 5;
|
gaps_out = 5;
|
||||||
border_size = 2;
|
border_size = 2;
|
||||||
"col.active_border" = "rgba(ff6b6bff) rgba(4ecdc4ff) 90deg";
|
"col.active_border" = "rgba(ffffffff)";
|
||||||
"col.inactive_border" = "rgba(31313622)";
|
"col.inactive_border" = "rgba(ffffff66)";
|
||||||
resize_on_border = true;
|
resize_on_border = true;
|
||||||
allow_tearing = true;
|
allow_tearing = true;
|
||||||
layout = "scrolling";
|
layout = "scrolling";
|
||||||
@@ -74,32 +74,28 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
bezier = [
|
bezier = [
|
||||||
"expressiveDefaultSpatial, 0.38, 1.21, 0.22, 1.00"
|
"omniDecel, 0.05, 0.9, 0.1, 1"
|
||||||
"emphasizedDecel, 0.05, 0.7, 0.1, 1"
|
"omniAccel, 0.3, 0, 0.8, 0.15"
|
||||||
"emphasizedAccel, 0.3, 0, 0.8, 0.15"
|
"omniSmooth, 0.25, 0.1, 0.25, 1"
|
||||||
"standardDecel, 0, 0, 0, 1"
|
"omniOvershoot, 0.16, 1, 0.3, 1"
|
||||||
"menu_decel, 0.1, 1, 0, 1"
|
"menu_decel, 0.1, 1, 0, 1"
|
||||||
"menu_accel, 0.52, 0.03, 0.72, 0.08"
|
"menu_accel, 0.52, 0.03, 0.72, 0.08"
|
||||||
"stall, 1, -0.1, 0.7, 0.85"
|
|
||||||
"smoothIn, 0.25, 0.46, 0.45, 0.94"
|
|
||||||
"smoothOut, 0.42, 0, 0.58, 1"
|
|
||||||
"smoothInOut, 0.42, 0, 0.58, 1"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
animation = [
|
animation = [
|
||||||
"windowsIn, 1, 4, smoothOut, popin 75%"
|
"windowsIn, 1, 5, omniOvershoot, popin 82%"
|
||||||
"windowsOut, 1, 3, smoothIn, popin 85%"
|
"windowsOut, 1, 4, omniAccel, popin 90%"
|
||||||
"windowsMove, 1, 4, smoothOut, slide"
|
"windowsMove, 1, 5, omniDecel, slide"
|
||||||
"fadeIn, 1, 3, smoothOut"
|
"fadeIn, 1, 4, omniDecel"
|
||||||
"fadeOut, 1, 2.5, smoothIn"
|
"fadeOut, 1, 3, omniAccel"
|
||||||
"border, 1, 8, smoothOut"
|
"border, 1, 8, omniSmooth"
|
||||||
"layersIn, 1, 3, smoothOut, popin 90%"
|
"layersIn, 1, 4, omniDecel, popin 90%"
|
||||||
"layersOut, 1, 2, smoothIn, popin 92%"
|
"layersOut, 1, 3, omniAccel, popin 93%"
|
||||||
"fadeLayersIn, 1, 1, smoothOut"
|
"fadeLayersIn, 1, 2, omniDecel"
|
||||||
"fadeLayersOut, 1, 2, smoothIn"
|
"fadeLayersOut, 1, 2, omniAccel"
|
||||||
"workspaces, 1, 6, smoothOut, slide"
|
"workspaces, 1, 7, omniDecel, slide"
|
||||||
"specialWorkspaceIn, 1, 3, smoothOut, slidevert"
|
"specialWorkspaceIn, 1, 4, omniDecel, slidevert"
|
||||||
"specialWorkspaceOut, 1, 2, smoothIn, slidevert"
|
"specialWorkspaceOut, 1, 3, omniAccel, slidevert"
|
||||||
];
|
];
|
||||||
|
|
||||||
device = [
|
device = [
|
||||||
|
|||||||
@@ -0,0 +1,45 @@
|
|||||||
|
{ inputs, pkgs, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
hyprspace = inputs.hyprspace.packages.${pkgs.system}.Hyprspace.overrideAttrs (old: {
|
||||||
|
postPatch = (old.postPatch or "") + ''
|
||||||
|
substituteInPlace src/main.cpp \
|
||||||
|
--replace-fail 'g_pHyprOpenGL->' 'Render::GL::g_pHyprOpenGL->' \
|
||||||
|
--replace-fail 'RENDER_PASS_MAIN' 'Render::RENDER_PASS_MAIN'
|
||||||
|
|
||||||
|
substituteInPlace src/Render.cpp \
|
||||||
|
--replace-fail 'g_pHyprOpenGL->' 'Render::GL::g_pHyprOpenGL->' \
|
||||||
|
--replace-fail 'RENDER_PASS_ALL' 'Render::RENDER_PASS_ALL'
|
||||||
|
'';
|
||||||
|
});
|
||||||
|
in
|
||||||
|
{
|
||||||
|
wayland.windowManager.hyprland = {
|
||||||
|
plugins = [ hyprspace ];
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
bind = [
|
||||||
|
"$mainMod, TAB, overview:toggle"
|
||||||
|
];
|
||||||
|
|
||||||
|
plugin = {
|
||||||
|
overview = {
|
||||||
|
workspaceActiveBorder = "rgba(ffffffff)";
|
||||||
|
workspaceInactiveBorder = "rgba(ffffff66)";
|
||||||
|
workspaceBorderSize = 2;
|
||||||
|
workspaceActiveBackground = "rgba(ffffff18)";
|
||||||
|
workspaceInactiveBackground = "rgba(00000066)";
|
||||||
|
panelBorderColor = "rgba(ffffffff)";
|
||||||
|
panelBorderWidth = 2;
|
||||||
|
panelHeight = 240;
|
||||||
|
workspaceMargin = 14;
|
||||||
|
overrideAnimSpeed = 0.9;
|
||||||
|
autoDrag = true;
|
||||||
|
autoScroll = true;
|
||||||
|
centerAligned = true;
|
||||||
|
exitOnClick = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in new issue
Block a user