hyprspace 1

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-04-11 18:22:48 +02:00
parent b070616b6b
commit 259a99eeb7
3 changed files with 108 additions and 6 deletions

View File

@@ -93,8 +93,11 @@ in
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
xwayland.enable = true;
systemd.enable = true;
plugins = let plugins = inputs.hyprland-plugins.packages.${pkgs.system}; in with plugins; [
hyprexpo
plugins = [
inputs.hyprland-plugins.packages.${pkgs.system}.hyprexpo
# inputs.hyprfocus.packages.${pkgs.system}.hyprfocus
# inputs.hycov.packages.${pkgs.system}.hycov
inputs.Hyprspace.packages.${pkgs.system}.Hyprspace
];
settings = {
@@ -217,7 +220,7 @@ in
# bezier = "myBezier, 0.01, 0.9, 0.1, 1.0"; #o
# bezier = "myBezier, 0.83, 0, 0.17, 1"; # io
bezier = "myBezier, 0.33, 1, 0.68, 1";
animation = let direction = if host == "NxXPS" then "slide" else "slidevert"; in [
animation = let direction = if host == "NxXPS" then "slide" else "fade"; in [
"windows, 1, ${animation-speed}, myBezier, slide"
"border, 1, ${animation-speed}, myBezier"
"fade, 1, ${animation-speed}, myBezier"
@@ -353,7 +356,7 @@ in
###########################################################################
## ROW 1:
# "SUPER, ^,"
# "SUPER, ^, "
"SUPER, 1, workspace, 11"
"SUPER SHIFT, 1, movetoworkspace, 11"
"SUPER, 2, workspace, 12"
@@ -383,7 +386,8 @@ in
## ROW 2:
#bind = SUPER, TAB, hycov:toggleoverview
"SUPER, TAB, hyprexpo:expo, toggle"
"SUPER, TAB, overview:toggle"
"SUPER SHIFT, TAB, hyprexpo:expo, toggle"
"ALT, TAB, focuscurrentorlast"
"SUPER, Q, killactive"
"SUPER, W, exec, waybar_mode set '󰈹 '"
@@ -425,7 +429,7 @@ in
###########################################################################
## ROW 4:
# "SUPER, <,"
# "SUPER, <, overview:toggle"
"SUPER, Y, execr, waybar_mode set '󰹑 '"
"SUPER, Y, submap, scrR"
"SUPER, X, exec, pkill wlogout || wlogout --protocol layer-shell -b 3"
@@ -819,6 +823,34 @@ in
gesture_positive = true # positive = swipe down. Negative = swipe up.
}
}
plugin {
overview {
panelColor = rgba(00000088)
workspaceActiveBackground = rgba(00ff00ff)
workspaceInactiveBackground = rgba(0000ffff)
# workspaceActiveBorder =
# workspaceInactiveBorder =
dragAlpha = 0.5
panelHeight = 200
workspaceMargin = 30
workspaceBorderSize = 3
centerAligned = true
overrideGaps = 10
gapsIn = 10
gapsOut = 10
hideBackgroundLayers = false
drawActiveWorkspace = true
autoDrag = true
autoScroll = true
exitOnClick = false
switchOnDrop = false
exitOnSwitch = false
showNewWorkspace = true
showEmptyWorkspace = false
}
}
'';
};