From b6eaeffcf6d059309a7f73a31dab52939c92e770 Mon Sep 17 00:00:00 2001 From: vaxerski Date: Mon, 19 Sep 2022 19:06:22 +0100 Subject: [PATCH] introduce new mouse binds in default and example cfgs --- example/hyprland.conf | 6 ++++-- src/config/defaultConfig.hpp | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/example/hyprland.conf b/example/hyprland.conf index 75049c5c..8a268f70 100644 --- a/example/hyprland.conf +++ b/example/hyprland.conf @@ -29,8 +29,6 @@ input { } general { - main_mod=SUPER - gaps_in=5 gaps_out=20 border_size=2 @@ -75,6 +73,10 @@ gestures { #windowrule=pseudo,abc #windowrule=monitor 0,xyz +# some nice mouse binds +bindm=SUPER,mouse:272,movewindow +bindm=SUPER,mouse:273,resizewindow + # example binds bind=SUPER,Q,exec,kitty bind=SUPER,C,killactive, diff --git a/src/config/defaultConfig.hpp b/src/config/defaultConfig.hpp index 39db2898..48bd6be1 100644 --- a/src/config/defaultConfig.hpp +++ b/src/config/defaultConfig.hpp @@ -83,6 +83,10 @@ gestures { #windowrule=pseudo,abc #windowrule=monitor 0,xyz +# some nice mouse binds +bindm=SUPER,mouse:272,movewindow +bindm=SUPER,mouse:273,resizewindow + # example binds bind=SUPER,Q,exec,kitty bind=SUPER,RETURN,exec,alacritty