This commit is contained in:
ant 2024-03-31 07:54:18 +02:00
parent 7b9199c542
commit 0aac48f782
6 changed files with 101 additions and 79 deletions

View file

@ -3,10 +3,9 @@
enable = true;
xwayland.enable = true;
# plugins = [
# flakes-pkgs.hyprfocus
# ];
# plugins = [
# "${flakes-pkgs.hyprfocus}/lib/libhyprfocus.so"
# ];
systemd.enable = true;
systemd.variables = [
"GDK_BACKEND=wayland,x11"
@ -27,7 +26,7 @@
kb_layout = "fr";
kb_variant = "";
kb_model = "pc105";
kb_options = "";
kb_options = "caps:super";
kb_rules = "";
touchpad = {
@ -73,7 +72,7 @@
pseudotile = true;
preserve_split = true;
force_split = 2;
no_gaps_when_only = true;
# no_gaps_when_only = true;
};
master = {
@ -115,6 +114,7 @@
"$mod SHIFT, Return, exec, kitty --working-directory \"$(window_dir)\""
"$mod, w, exec, firefox"
"$mod SHIFT, w, exec, firefox --private-window"
"$mod SHIFT, s, exec, firefox \"https://search.nixos.org/packages?channel=unstable&query=$(rofi -dmenu -p \"nix search\")\""
"$mod, m, exec, kitty --class floating -e pulsemixer"
"$mod, d, exec, ~/.bin/runmenu"
"$mod, x, exec, keepmenu"
@ -209,7 +209,7 @@
];
# plugin:hyprfocus {
# enabled = yes
# enabled = no;
#
# keyboard_focus_animation = shrink
# mouse_focus_animation = flash
@ -238,20 +238,35 @@
# }
# }
"plugin:hyprfocus" = {
enabled = true;
# "plugin:hyprfocus" = {
# enabled = true;
keyboard_focus_animation = "flash";
mouse_focus_animation = "nothing";
# keyboard_focus_animation = "flash";
# mouse_focus_animation = "nothing";
# bezier = "bezIn, 0.5,0.0,1.0,0.5";
# bezier = "bezOut, 0.0,0.5,0.5,1.0";
# bezier = "bezIn, 0.5,0.0,1.0,0.5";
# # bezier = "bezOut, 0.0,0.5,0.5,1.0";
flash = {
flash_opacity = 0.6;
in_speed = 0.3;
};
};
# flash = {
# shrink_percentage = 0.8;
# in_bezier = "bezIn";
# in_speed = 0.5;
# out_bezier = "bezIn";
# out_speed = 3;
# };
# shrink = {
# shrink_percentage = 0.8;
# in_bezier = "bezIn";
# in_speed = 0.5;
# out_bezier = "bezIn";
# out_speed = 3;
# };
# };
};