Skip to content

Commit

Permalink
Add jgmenu shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigmanificient committed Aug 25, 2023
1 parent e290801 commit e25ffed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
black
isort
qtile
];
] ++ [ pkgs.kitty pkgs.jgmenu ];
};

formatter = pkgs.nixpkgs-fmt;
Expand Down
4 changes: 4 additions & 0 deletions src/core/mouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,9 @@
lazy.window.set_size_floating(),
start=lazy.window.get_size(),
),
Click(
[mod], "Button3",
lazy.spawn("jgmenu_run"),
),
Click([mod], "Button2", lazy.window.bring_to_front()),
]

0 comments on commit e25ffed

Please sign in to comment.