diff --git a/README.md b/README.md index 4d0b8d65..50284800 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ You can join our [discord server](https://discord.gg/5Xh2W87egW) for commits, ch - JumpToStart by Samwich - KeyboardSounds by HypedDomi - KeywordNotify by camila314 & x3rt -- - LastActive by Crxa +- LastActive by Crxa - LimitMiddleClickPaste by no dev listed - LoginWithQR by nexpid - MediaPlaybackSpeed by D3SOX @@ -177,6 +177,7 @@ You can join our [discord server](https://discord.gg/5Xh2W87egW) for commits, ch - ViewRawVariant by Kyuuhachi - VoiceChatUtilities by D3SOX - VoiceJoinMessages by Sqaaakoi & maintained by thororen +- WallpaperFree by Joona - WebpackTarball by Kyuuhachi - WhitelistedEmojis by Creations - WhosWatching by fres diff --git a/src/equicordplugins/wallpaperFree/components/ctxmenu.tsx b/src/equicordplugins/wallpaperFree/components/ctxmenu.tsx new file mode 100644 index 00000000..a2fe4e8a --- /dev/null +++ b/src/equicordplugins/wallpaperFree/components/ctxmenu.tsx @@ -0,0 +1,67 @@ +/* + * Vencord, a Discord client mod + * Copyright (c) 2025 Vendicated and contributors + * SPDX-License-Identifier: GPL-3.0-or-later + */ + +import { NavContextMenuPatchCallback } from "@api/ContextMenu"; +import { openModal } from "@utils/modal"; +import { ChannelStore, FluxDispatcher, Menu } from "@webpack/common"; + +import { SetCustomWallpaperModal, SetDiscordWallpaperModal } from "./modal"; +import { ChatWallpaperStore, fetchWallpapers } from "./util"; + + +const addWallpaperMenu = (channelId?: string, guildId?: string) => { + const setWallpaper = (url?: string) => { + FluxDispatcher.dispatch({ + // @ts-ignore + type: "VC_WALLPAPER_FREE_CHANGE", + channelId, + guildId, + url, + }); + }; + return ( +