diff --git a/config.def.h b/config.def.h index 3114b61..3f37959 100644 --- a/config.def.h +++ b/config.def.h @@ -95,7 +95,7 @@ static const Key keys[] = { { MODKEY, XK_t, spawn, {.v = sudocmd } }, { MODKEY, XK_d, spawn, {.v = discordcmd } }, { MODKEY, XK_m, spawn, {.v = minecraftcmd } }, - { MODKEY|ShiftMask, XK_s, spawn, SHCMD("scrot -s ~/latest.png && xclip -sel c -t image/png -i ~/latest.png")}, + { MODKEY|ShiftMask, XK_s, spawn, SHCMD("scrot -s -f -o /dev/stdout | xclip -selection clipboard -t image/png")}, { 0, XF86XK_AudioMute, spawn, SHCMD("wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle; kill -44") }, { 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("wpctl set-volume @DEFAULT_AUDIO_SINK@ 0%- && wpctl set-volume @DEFAULT_AUDIO_SINK@ 3%+; kill -44") },