diff --git a/modules/profiles/desktop/default.nix b/modules/profiles/desktop/default.nix index a795dfd..f4f4a3d 100644 --- a/modules/profiles/desktop/default.nix +++ b/modules/profiles/desktop/default.nix @@ -153,6 +153,7 @@ in xclip pdftk putty + scrot tracy x11vnc yt-dlp diff --git a/modules/profiles/desktop/rc.lua b/modules/profiles/desktop/rc.lua index 00b2d85..b0c659f 100644 --- a/modules/profiles/desktop/rc.lua +++ b/modules/profiles/desktop/rc.lua @@ -231,8 +231,11 @@ root.buttons(gears.table.join( -- {{{ Key bindings globalkeys = gears.table.join( - awful.key({ modkey, }, "s", hotkeys_popup.show_help, - {description="show help", group="awesome"}), + --awful.key({ modkey, }, "s", hotkeys_popup.show_help, + -- {description="show help", group="awesome"}), + awful.key({ modkey }, "s", function() + awful.spawn.with_shell("scrot --select --file '%F_%T_$wx$h.png' --exec 'zopflipng -y $f $f && xclip -selection clipboard -target image/png -i $f'") + end), awful.key({ modkey, }, "Left", awful.tag.viewprev, {description = "view previous", group = "tag"}), awful.key({ modkey, }, "Right", awful.tag.viewnext,