Skip to content

Commit 6ca4539

Browse files
authored
Merge pull request #593 from NobbZ/awesom-emoji-picker
awesom emoji picker
2 parents a9bc8ff + 8f9ea12 commit 6ca4539

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

home/modules/misc/awesome/default.nix

+7-3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
}: let
1111
cfg = config.xsession.windowManager.awesome;
1212

13+
flameshot = lib.getExe pkgs.flameshot;
14+
1315
bls = lib.getExe (nixpkgs-bls.legacyPackages.${pkgs.system}.betterlockscreen.override {withDunst = false;});
1416
scrot = lib.getExe pkgs.scrot;
1517

@@ -437,10 +439,12 @@ in {
437439
awful.key({ modkey }, "r", function () awful.screen.focused().mypromptbox:run() end,
438440
{description = "run prompt", group = "launcher"}),
439441
440-
awful.key({ modkey }, "d", function () awful.util.spawn('${cfg.launcher}') end, {description = "open launcher", group = "launcher"}),
442+
awful.key({ modkey }, "d", function () awful.util.spawn('${cfg.launcher}') end, {description = "open launcher", group = "launcher"}),
441443
awful.key({ modkey }, "w", function () awful.util.spawn('${cfg.windowSwitcher}') end, {description = "open window selecter", group = "launcher"}),
442-
awful.key({ modkey }, "e", function () awful.util.spawn('${cfg.emojiPicker}') end, {description = "open emoji picker", group = "launcher"}),
443-
awful.key({ modkey }, "y", function () awful.util.spawn('${cfg.lockCommand}') end, {description = "lock screen", group = "client"}),
444+
awful.key({ modkey, "Shift" }, "e", function () awful.util.spawn('${cfg.emojiPicker}') end, {description = "open emoji picker", group = "launcher"}),
445+
446+
awful.key({ modkey }, "y", function () awful.util.spawn('${cfg.lockCommand}') end, {description = "lock screen", group = "client" }),
447+
awful.key({ modkey }, "b", function () awful.util.spawn('${flameshot} gui') end, {description = "create screenshot", group = "client" }),
444448
445449
awful.key({ modkey }, "x",
446450
function ()

0 commit comments

Comments
 (0)