fix: enable window drag with mouse (closes #48)

This commit is contained in:
Patrick Großmann 2023-05-27 16:20:19 +09:00
parent e8f504bfd8
commit 24266016e3
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
2 changed files with 24 additions and 22 deletions

View file

@ -56,11 +56,11 @@
"stable": "stable" "stable": "stable"
}, },
"locked": { "locked": {
"lastModified": 1684127527, "lastModified": 1685163780,
"narHash": "sha256-tAzgb2jgmRaX9HETry38h2OvBf9YkHEH1fFvIJQV9A0=", "narHash": "sha256-tMwseHtEFDpO3WKeZKWqrKRAZI6TiEULidxEbzicuFg=",
"owner": "zhaofengli", "owner": "zhaofengli",
"repo": "colmena", "repo": "colmena",
"rev": "caf33af7d854c8d9b88a8f3dae7adb1c24c1407b", "rev": "c61bebae1dc1d57237577080b1ca1e37a3fbcebf",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -194,11 +194,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1684741999, "lastModified": 1685108129,
"narHash": "sha256-KZLKsFZ6cLjCdCNKZoT8bc1y+rYBuFgKatmIB38zqy4=", "narHash": "sha256-6Jv6LxrLfaueHj095oBUKBk++eW4Ya0qfHwhQVQqyoo=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "ba006d7cca2cb871c6a31bdbc130c05cde5ca8e8", "rev": "bec196cd9b5f34213c7dc90ef2a524336df70e30",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -217,11 +217,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1684959562, "lastModified": 1685105343,
"narHash": "sha256-Lmdq2O1JtIu7JPce852a7oChjm/zmkLg/JUAT3Tmh6I=", "narHash": "sha256-ypXKGzTQWJqbHHrPnSHLo4b2vNtfOFyh6sDdNPi7/WQ=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "a2bb95fc60c717c873eff273f5ee035e622565d0", "rev": "5f4659afef5856c509d53957e62b7f6c38d39f41",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -268,11 +268,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1684169666, "lastModified": 1684899633,
"narHash": "sha256-N5jrykeSxLVgvm3Dd3hZ38/XwM/jU+dltqlXgrGlYxk=", "narHash": "sha256-NtwerXX8UFsoNy6k+DukJMriWtEjQtMU/Urbff2O2Dg=",
"owner": "nixos", "owner": "nixos",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "71ce85372a614d418d5e303dd5702a79d1545c04", "rev": "4cc688ee711159b9bcb5a367be44007934e1a49d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -283,11 +283,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1684662198, "lastModified": 1684935479,
"narHash": "sha256-lmGDGuFONWSoGBKDDhU/6fOhhmFoZQ8rPf+kS7/e/Gs=", "narHash": "sha256-6QMMsXMr2nhmOPHdti2j3KRHt+bai2zw+LJfdCl97Mk=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "50a183182d7ae39133555414d48d5d609a28a57d", "rev": "f91ee3065de91a3531329a674a45ddcb3467a650",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -326,11 +326,11 @@
"nixpkgs-stable": "nixpkgs-stable" "nixpkgs-stable": "nixpkgs-stable"
}, },
"locked": { "locked": {
"lastModified": 1684195081, "lastModified": 1684842236,
"narHash": "sha256-IKnQUSBhQTChFERxW2AzuauVpY1HRgeVzAjNMAA4B6I=", "narHash": "sha256-rYWsIXHvNhVQ15RQlBUv67W3YnM+Pd+DuXGMvCBq2IE=",
"owner": "cachix", "owner": "cachix",
"repo": "pre-commit-hooks.nix", "repo": "pre-commit-hooks.nix",
"rev": "96eabec58248ed8f4b0ad59e7ce9398018684fdc", "rev": "61e567d6497bc9556f391faebe5e410e6623217f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -389,11 +389,11 @@
}, },
"templates": { "templates": {
"locked": { "locked": {
"lastModified": 1684755490, "lastModified": 1684766025,
"narHash": "sha256-Hy1IepJaeus2cE3IFruFjQAqjwgfRTF41xNgsZm/fgg=", "narHash": "sha256-KrdJ5w97MdidfxdcP9GX+6h2g64wJUsut19JnslVb6Y=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "54c733b378f5f716286612058368846c838c1175", "rev": "bc43c0120c21d9060e048403f6be28d050423fa2",
"revCount": 2, "revCount": 4,
"type": "git", "type": "git",
"url": "https://git.lel.lol/patrick/nix-templates.git" "url": "https://git.lel.lol/patrick/nix-templates.git"
}, },

View file

@ -50,6 +50,8 @@ MOD: TAGS: pkgs:
bind=${MOD} + SHIFT,up,movewindow,u bind=${MOD} + SHIFT,up,movewindow,u
bind=${MOD} + SHIFT,down,movewindow,d bind=${MOD} + SHIFT,down,movewindow,d
bindm=${MOD},mouse:272,movewindow
bind=${MOD} + SHIFT,n,movewindow,l bind=${MOD} + SHIFT,n,movewindow,l
bind=${MOD} + SHIFT,s,movewindow,r bind=${MOD} + SHIFT,s,movewindow,r
bind=${MOD} + SHIFT,l,movewindow,u bind=${MOD} + SHIFT,l,movewindow,u