This commit is contained in:
Hadi
2024-08-30 14:16:30 +02:00
parent b3f20e6aef
commit f0e9294982
6 changed files with 57 additions and 53 deletions

View File

@@ -31,7 +31,7 @@
enable = true;
xwayland.enable = true;
package = inputs.hyprland.packages."${pkgs.system}".hyprland;
plugins = [ inputs.hyprland-plugins.packages.${pkgs.system}.hyprexpo ];
# plugins = [ inputs.hyprland-plugins.packages.${pkgs.system}.hyprexpo ]; TODO: broken
settings = {
"$mod" = "SUPER";
@@ -46,20 +46,20 @@
monitor = [ "eDP-2,highres,0x0,1" ",prefered,auto,1" ];
plugin = {
hyprexpo = {
columns = 2;
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
gesture_fingers = 3; # 3 or 4
gesture_distance = 300; # how far is the "max"
gesture_positive = true; # positive = swipe down. Negative = swipe up.
};
};
# plugin = {
# hyprexpo = {
# columns = 2;
# 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
# gesture_fingers = 3; # 3 or 4
# gesture_distance = 300; # how far is the "max"
# gesture_positive = true; # positive = swipe down. Negative = swipe up.
# };
# };
bind = [
"$mod, RETURN, exec, ${pkgs.kitty}/bin/kitty" # Kitty
@@ -69,7 +69,7 @@
"$mod, L, exec, ${pkgs.hyprlock}/bin/hyprlock" # Lock
"$mod, X, exec, powermenu" # Powermenu
"$mod, SPACE, exec, menu" # Launcher
"$shiftMod, SPACE, hyprexpo:expo, toggle" # HyprExpo
# "$shiftMod, SPACE, hyprexpo:expo, toggle" # HyprExpo
"$mod, Q, killactive," # Close window
"$mod, T, togglefloating," # Toggle Floating