diff --git a/modules/i3/default.nix b/modules/i3/default.nix index 6f53942..e1303fa 100644 --- a/modules/i3/default.nix +++ b/modules/i3/default.nix @@ -9,6 +9,7 @@ in with theme.colors; { playerctl # pactl comes with PulseAudio wmctrl # For rofi power menu xborders # Active window borders + maim xdotool # Active window screenshots ]; # Screenshots @@ -96,6 +97,7 @@ in with theme.colors; { # Screenshots "Print" = "exec flameshot gui"; + "${mod}+Print" = "exec maim -i \"$(xdotool getactivewindow)\" | xclip -selection clipboard -t image/png"; # Remove dmenu "${mod}+d" = null;