switch to hyprland lua
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
"GuildIcon": "155570",
|
||||
"GuildItem": "266062",
|
||||
"GuildsListItem": "547732",
|
||||
"GuildsListItemTooltip": "621035",
|
||||
"GuildsWrapper": "803921",
|
||||
"Input": "482188",
|
||||
"ItemLayerContainer": "56553",
|
||||
@@ -27,8 +28,6 @@
|
||||
"Member": "28371",
|
||||
"Menu": "32271",
|
||||
"Message": "701628",
|
||||
"MessageBody": "334211",
|
||||
"MessageToolbarExtras": "568580",
|
||||
"MessageToolbarItems": "874280",
|
||||
"MessagesPopoutTabBar": "716030",
|
||||
"Modal": "889277",
|
||||
@@ -40,11 +39,9 @@
|
||||
"PeoplesNowPlayingMember": "564450",
|
||||
"PictureInPicture": "201181",
|
||||
"Scroller": "45596",
|
||||
"Select": "384267",
|
||||
"SettingsItems": "714304",
|
||||
"Slider": "160671",
|
||||
"Switch": "180846",
|
||||
"Text": "920531",
|
||||
"Tooltip": "418519",
|
||||
"TooltipGuild": "621035",
|
||||
"UserBadges": "992028",
|
||||
@@ -60,12 +57,7 @@
|
||||
"Embed": "175671",
|
||||
"EmojiPickerListRow": "267889",
|
||||
"Menu": "980707",
|
||||
"MessageButtons": "501440",
|
||||
"MessageContent": "291812",
|
||||
"MessageReply": "501440",
|
||||
"MessageUsername": "635071",
|
||||
"Messages": "501440",
|
||||
"UnreadDMs": "253363",
|
||||
"UnreadDMs": "254472",
|
||||
"UserProfile": "939496"
|
||||
},
|
||||
"changeLogs": {
|
||||
@@ -92,8 +84,8 @@
|
||||
"useChromium": false
|
||||
},
|
||||
"hashes": {
|
||||
"0BDFDB.data.json": "25f04b9cfbea2ce9343c7e23f50f421721c9747a",
|
||||
"0BDFDB.raw.css": "6915e7a88a3a835d769ce5a4568c0a195dc43df1"
|
||||
"0BDFDB.data.json": "c8b3be9d284601d0f03d841a3c3d41217a8b9e32",
|
||||
"0BDFDB.raw.css": "85b1d2469d341d569f77f84d1c32dc09d6d0c042"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -142,7 +142,7 @@
|
||||
"AppUtils": {"props": ["clipboard", "os"]},
|
||||
"ArrayUtils": {"props": ["isArrayLike", "zipObject"]},
|
||||
"AvatarUtils": {"strings": ["avatarPlaceholderSrc:", "default.getUser"], "exported": false, "value": "exports", "map": {
|
||||
"getAvatarProps": ["avatarPlaceholderSrc:", "default.getUser"]
|
||||
"getAvatarProps": ["avatarPlaceholderSrc", "default.getUser"]
|
||||
}},
|
||||
"CategoryCollapseUtils": {"strings": [".dispatch({type:\"CATEGORY_EXPAND\"", ".dispatch({type:\"CATEGORY_COLLAPSE\""], "exported": false, "value": "exports", "map": {
|
||||
"categoryCollapse": [".dispatch({type:\"CATEGORY_COLLAPSE\""],
|
||||
@@ -300,7 +300,7 @@
|
||||
"Slider": {"strings": [".stickToMarkers", "sortedMarkers"]},
|
||||
"TabBar": {"props": ["Item", "Header", "Panel"]},
|
||||
"Table": {"props": ["SortDirection", "defaultProps"]},
|
||||
"TextArea": {"strings": ["onKeyDown", "defaultDirty"]},
|
||||
"TextArea": {"strings": ["autosize", "defaultDirty"]},
|
||||
"TextInput": {"strings": ["onFocus", "defaultValue", "editable", "errorMessage"]},
|
||||
"TooltipContainer": {"strings": ["Tooltip cannot find DOM node", "shouldShowTooltip", "clickable"]}
|
||||
},
|
||||
@@ -492,7 +492,7 @@
|
||||
"ImageModal": {"strings": ["MODAL_CAROUSEL_NEXT", "shouldHideMediaOptions"], "noSearch": true},
|
||||
"ImageModalBar": {"strings": ["sourceMetadata", "hideMediaOptions", "onClose"]},
|
||||
"ImageModalButtons": {"strings": ["hideMediaOptions", "\"IMAGE\"", "FOCUS_SENSITIVE"]},
|
||||
"InboxHeader": {"strings": ["RecentsPopout", "RecentsHeader", "badgeForYou"]},
|
||||
"InboxHeader": {"strings": ["RecentsPopout", "getOverdueMessageReminderCount", "badgeForYou"], "noSearch": true},
|
||||
"IncomingCallModal": {"strings": ["mainChannelInfo", "previewCamera", "RingingType.INCOMING"]},
|
||||
"InviteGuildName": {"strings": ["{guild:",".guildName",".guildNameWrapper", ".name", "jsx)(\"span\","], "noSearch": true},
|
||||
"KeybindRecorder": {"strings": [".RECORDING", ".DEFAULT", "toggleRecordMode"], "noSearch": true},
|
||||
@@ -623,6 +623,7 @@
|
||||
"UserThemeContainer": {"strings": ["profileUi", "\"VIEW\"", ".Provider"], "noSearch": true},
|
||||
"VideoBackground": {"strings": ["backgroundSrc:", "pulseSpeakingIndicator:", ".avatarWrapper"]},
|
||||
"VoiceUser": {"strings": ["speaking", "collapsed", "userNameClassName"]},
|
||||
"VoiceUserButtons": {"strings": ["localVideoDisabled", "user", "ICON_FEEDBACK_CRITICAL"], "noSearch": true},
|
||||
"VoiceUsers": {"strings": ["hidePreview", "previewIsOpen", ".MOVE_MEMBERS"]}
|
||||
},
|
||||
"ModuleUtilsConfig": {
|
||||
@@ -1492,7 +1493,8 @@
|
||||
"GuildSeparator": {"props": ["guildSeparator"], "length": 6, "smaller": true},
|
||||
"GuildsError": {"props": ["guildsError"]},
|
||||
"GuildServer": {"props": ["blobContainer", "selected"]},
|
||||
"GuildsListItem": {"props": ["listItemWrapper", "listItemTooltipContent"], "length": 4, "smaller": true},
|
||||
"GuildsListItem": {"props": ["listItemWrapper", "selected"], "length": 4, "smaller": true},
|
||||
"GuildsListItemTooltip": {"props": ["guildTooltipWrapper", "rowGuildName"]},
|
||||
"GuildsWrapper": {"props": ["scroller", "unreadMentionsBar", "wrapper"]},
|
||||
"HeaderBar": {"props": ["container", "children", "toolbar"]},
|
||||
"HeaderBarDiscovery": {"props": ["headerBar", "icon", "backdrop"]},
|
||||
@@ -2323,7 +2325,7 @@
|
||||
"guildiconwrapper": ["GuildIcon", "wrapper"],
|
||||
"guildinner": ["Guild", "wrapper"],
|
||||
"guildlistitem": ["GuildsListItem", "listItemWrapper"],
|
||||
"guildlistitemtooltip": ["GuildsListItem", "listItemTooltipContent"],
|
||||
"guildlistitemtooltip": ["GuildsListItemTooltip", "guildTooltipWrapper"],
|
||||
"guildlowerbadge": ["Guild", "lowerBadge"],
|
||||
"guildlowerleftbadge": ["BDFDB", "guildBadgeLowerLeft"],
|
||||
"guildouter": ["GuildItem", "listItem"],
|
||||
|
||||
@@ -627,17 +627,17 @@ img:not([src]), img[src=""], img[src="null"] {
|
||||
}
|
||||
[REPLACE_CLASS_settingstableheader] {
|
||||
margin-bottom: 8px;
|
||||
color: var(--text-subtle)
|
||||
color: var(--text-subtle);
|
||||
}
|
||||
[REPLACE_CLASS_settingstableheadername] {
|
||||
margin-left: 8px;
|
||||
flex: 1 1 auto
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
[REPLACE_CLASS_settingstableheaderoption] {
|
||||
cursor: default;
|
||||
text-align: center;
|
||||
width: 75px;
|
||||
flex: 0 0 auto
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
[REPLACE_CLASS_settingstablelist] [REPLACE_CLASS_settingstableheader] {
|
||||
min-height: 10px;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"currentVersionInfo": {
|
||||
"version": "1.2.3",
|
||||
"version": "1.2.4",
|
||||
"hasShownChangelog": true
|
||||
}
|
||||
}
|
||||
@@ -3,18 +3,19 @@
|
||||
* @author arg0NNY
|
||||
* @authorId 633223783204782090
|
||||
* @invite M8DBtcZjXD
|
||||
* @version 1.2.3
|
||||
* @version 1.2.4
|
||||
* @description Displays an online and total member count in the guild tooltip.
|
||||
* @website https://github.com/arg0NNY/DiscordPlugins/tree/master/BetterGuildTooltip
|
||||
* @source https://raw.githubusercontent.com/arg0NNY/DiscordPlugins/master/BetterGuildTooltip/BetterGuildTooltip.plugin.js
|
||||
* @updateUrl https://raw.githubusercontent.com/arg0NNY/DiscordPlugins/master/BetterGuildTooltip/BetterGuildTooltip.plugin.js
|
||||
* @runAt idle
|
||||
*/
|
||||
|
||||
/* ### CONFIG START ### */
|
||||
const config = {
|
||||
info: {
|
||||
name: 'BetterGuildTooltip',
|
||||
version: '1.2.3',
|
||||
version: '1.2.4',
|
||||
description: 'Displays an online and total member count in the guild tooltip.'
|
||||
},
|
||||
changelog: [
|
||||
@@ -60,7 +61,7 @@ const Selectors = {
|
||||
|
||||
const GuildStore = Webpack.getStore('GuildStore')
|
||||
const GuildActions = Webpack.getByKeys('preload', 'closePrivateChannel')
|
||||
const GuildTooltip = [...Webpack.getWithKey(Filters.byStrings('position'), { target: Webpack.getBySource('GuildTooltip') })]
|
||||
const GuildTooltip = [...Webpack.getWithKey(Filters.byStrings('guild', '__unsupportedReactNodeAsText'), { target: Webpack.getBySource('GuildTooltip', { raw: true })?.declarations })]
|
||||
|
||||
const memberCounts = new Map()
|
||||
const onlineMemberCounts = new Map()
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"currentVersionInfo": {
|
||||
"version": "1.2.2",
|
||||
"version": "1.2.3",
|
||||
"hasShownChangelog": true
|
||||
}
|
||||
}
|
||||
@@ -4,18 +4,19 @@
|
||||
* @authorLink https://github.com/arg0NNY/DiscordPlugins
|
||||
* @invite M8DBtcZjXD
|
||||
* @donate https://donationalerts.com/r/arg0nny
|
||||
* @version 1.2.2
|
||||
* @version 1.2.3
|
||||
* @description Shows if a person in the text chat is also in a voice chat you're in.
|
||||
* @website https://github.com/arg0NNY/DiscordPlugins/tree/master/InMyVoice
|
||||
* @source https://github.com/arg0NNY/DiscordPlugins/blob/master/InMyVoice/InMyVoice.plugin.js
|
||||
* @updateUrl https://raw.githubusercontent.com/arg0NNY/DiscordPlugins/master/InMyVoice/InMyVoice.plugin.js
|
||||
* @runAt idle
|
||||
*/
|
||||
|
||||
/* ### CONFIG START ### */
|
||||
const config = {
|
||||
info: {
|
||||
name: 'InMyVoice',
|
||||
version: '1.2.2',
|
||||
version: '1.2.3',
|
||||
description: 'Shows if a person in the text chat is also in a voice chat you\'re in.'
|
||||
},
|
||||
changelog: [
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"lastVersion": "2.0.10"
|
||||
"lastVersion": "2.0.15"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -2,7 +2,7 @@
|
||||
* @runAt idle
|
||||
* @name ViewProfilePicture
|
||||
* @description Adds a button to the user popout and profile that allows you to view the Avatar and banner.
|
||||
* @version 1.3.12
|
||||
* @version 1.3.13
|
||||
* @author Skamt
|
||||
* @website https://github.com/Skamt/BDAddons/tree/main/ViewProfilePicture
|
||||
* @source https://raw.githubusercontent.com/Skamt/BDAddons/main/ViewProfilePicture/ViewProfilePicture.plugin.js
|
||||
@@ -12,7 +12,7 @@
|
||||
var Config_default = {
|
||||
"info": {
|
||||
"name": "ViewProfilePicture",
|
||||
"version": "1.3.12",
|
||||
"version": "1.3.13",
|
||||
"description": "Adds a button to the user popout and profile that allows you to view the Avatar and banner.",
|
||||
"source": "https://raw.githubusercontent.com/Skamt/BDAddons/main/ViewProfilePicture/ViewProfilePicture.plugin.js",
|
||||
"github": "https://github.com/Skamt/BDAddons/tree/main/ViewProfilePicture",
|
||||
@@ -262,8 +262,8 @@ var ErrorIcon_default = (props) => /* @__PURE__ */ React.createElement("div", {
|
||||
// common/Webpack.js
|
||||
var getModule = /* @__PURE__ */ (() => Webpack.getModule)();
|
||||
var Filters = /* @__PURE__ */ (() => Webpack.Filters)();
|
||||
var waitForModule = /* @__PURE__ */ (() => Webpack.waitForModule)();
|
||||
var getMangled = /* @__PURE__ */ (() => Webpack.getMangled)();
|
||||
var getById = /* @__PURE__ */ (() => Webpack.getById)();
|
||||
|
||||
// common/DiscordModules/zustand.js
|
||||
var { zustand } = getMangled(Filters.bySource("useSyncExternalStoreWithSelector", "useDebugValue", "subscribe"), {
|
||||
@@ -395,7 +395,10 @@ var VPPButton_default = ({ className, user, displayProfile }) => {
|
||||
|
||||
// src/ViewProfilePicture/patches/patchVPPButton.jsx
|
||||
var UserProfileModalforwardRef = getModule(Filters.byKeys("Overlay", "render"));
|
||||
var wrapper = getById(587168)?.A;
|
||||
var wrapper;
|
||||
waitForModule((a, _, id) => id === 587168).then((match) => {
|
||||
wrapper = match.A;
|
||||
});
|
||||
var UserProfileBanner = getMangled(Filters.bySource("avatarOffsetX", "foreignObject"), {
|
||||
Banner: Filters.byStrings("canUsePremiumProfileCustomization")
|
||||
});
|
||||
@@ -424,7 +427,7 @@ Plugin_default.on(Events.START, () => {
|
||||
});
|
||||
Patcher.after(UserProfileModalforwardRef, "render", (_, [props], ret) => {
|
||||
ret.props.className = `${ret.props.className} VPP-container`;
|
||||
const target = findInTree(ret, (a) => a?.type === wrapper, { walkable: ["props", "children"] });
|
||||
const target = findInTree(ret, (a) => wrapper && wrapper === a?.type, { walkable: ["props", "children"] });
|
||||
if (!target) return;
|
||||
const children = Array.isArray(target.props.children) ? target.props.children : [target.props.children];
|
||||
children.unshift(
|
||||
|
||||
Reference in New Issue
Block a user