Browse Source

Start page, git aliases

main
Yiğit Çolakoğlu 4 years ago
parent
commit
649fafd226
8 changed files with 9055 additions and 357 deletions
  1. +2
    -2
      browser/startpage/src/index.pug
  2. +9009
    -0
      misc/BetterDiscord/plugins/0PluginLibrary.plugin.js
  3. +0
    -350
      misc/BetterDiscord/plugins/APlatformIndicators.plugin.js
  4. +38
    -0
      misc/BetterDiscord/plugins/BetterCodeblocks.config.json
  5. +2
    -2
      misc/dunst/dunstrc
  6. +1
    -1
      scripts/dmenu-mconnect
  7. +2
    -1
      xorg/xinitrc
  8. +1
    -1
      zsh/aliases

+ 2
- 2
browser/startpage/src/index.pug View File

@ -18,7 +18,7 @@ grid
include search/search
pomme
+myrtille('paperless.yigitcolakoglu.com/', '-150 0 1000 1000', 'M730.71,0C616.3,266.24,66.21,299.25,242.24,728.31c2.2,5.5-40.71,63.81-69.31,112.22-6.6-24.21-14.3-50.61-13.2-52.81C302.75,618.29,57.41,522.58,44.21,384-17.4,494-39.4,686.5,146.53,797.62c1.1,0,9.9,41.81,14.3,62.71-4.4,8.8-8.8,17.6-11,24.2-4.4,11,28.6,9.91,28.6,12.11,3.3-1.1,81.41-138.63,83.61-139.73C704.31,655.7,782.42,257.44,730.71,0ZM105.82,544.58C145.43,580.89,211.44,692,155.33,756.91,168.53,727.21,172.93,660.1,105.82,544.58ZM269.74,670C200.43,506.08,404,325.65,505.18,280.54,298.35,465.37,263.14,602.89,269.74,670Z')
+myrtille('reddit.com/', '0 0 24 24', 'M14.238 15.348a.215.215 0 010 .306c-.465.462-1.194.687-2.231.687l-.008-.002-.008.002c-1.036 0-1.766-.225-2.231-.688a.214.214 0 010-.305.219.219 0 01.307 0c.379.377 1.008.561 1.924.561l.008.002.008-.002c.915 0 1.544-.184 1.924-.561a.219.219 0 01.307 0zm-3.44-2.418a.922.922 0 00-1.845 0c0 .506.414.918.923.918a.92.92 0 00.922-.918zM24 12c0 6.627-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0s12 5.373 12 12zm-5-.129a1.548 1.548 0 00-2.624-1.108c-1.056-.695-2.485-1.137-4.066-1.194l.865-2.724 2.343.549-.003.034c0 .696.569 1.262 1.268 1.262.699 0 1.267-.566 1.267-1.262a1.266 1.266 0 00-2.446-.458l-2.525-.592a.216.216 0 00-.257.145l-.965 3.038c-1.656.02-3.155.466-4.258 1.181A1.546 1.546 0 005 11.871c0 .566.311 1.056.768 1.325-.03.164-.05.331-.05.5 0 2.281 2.805 4.137 6.253 4.137s6.253-1.856 6.253-4.137c0-.16-.017-.317-.044-.472.486-.261.82-.766.82-1.353zm-4.872.141a.921.921 0 00-.922.919.921.921 0 001.844 0 .921.921 0 00-.922-.919z')
@ -42,7 +42,7 @@ grid
+myrtille('twitter.com/', '0 0 64 64', "M6 9c-2.5 6.1-2.8 11.8 3 17-2.049.038-3.5-.409-5-1 .1 6.1 3.2 10.2 10 12-2.069.767-4.067.743-6 0 2.5 5.7 6.2 9.3 12 9-5.1 4.1-11.1 5.95-18 6 17.1 9.7 34.4 4.9 43-4 7.8-8.2 14.74-21.2 12-29 .9.246 6.305-5.8 6-6a57.81 57.81 0 01-7 2c2.5-1.9 4.1-4.3 5-7a30.6 30.6 0 01-8 3c-3.5-4-8.6-4.4-14-3-7.5 2-7.9 14.1-7 14 .0 2.8-27.9-6.3-26-13z")
pomme
+myrtille('calibre.yigitcolakoglu.com/', '-60 -30 400 400', 'M45.432,35.049c-0.008,0-0.017,0-0.025,0c-2.809,0-5.451,1.095-7.446,3.085c-2.017,2.012-3.128,4.691-3.128,7.543 v159.365c0,5.844,4.773,10.61,10.641,10.625c24.738,0.059,66.184,5.215,94.776,35.136V84.023c0-1.981-0.506-3.842-1.461-5.382 C115.322,40.849,70.226,35.107,45.432,35.049z M262.167,205.042V45.676c0-2.852-1.111-5.531-3.128-7.543c-1.995-1.99-4.639-3.085-7.445-3.085c-0.009,0-0.018,0-0.026,0 c-24.793,0.059-69.889,5.801-93.357,43.593c-0.955,1.54-1.46,3.401-1.46,5.382v166.779 c28.592-29.921,70.038-35.077,94.776-35.136C257.394,215.651,262.167,210.885,262.167,205.042z M286.373,71.801h-7.706v133.241c0,14.921-12.157,27.088-27.101,27.125c-20.983,0.05-55.581,4.153-80.084,27.344 c42.378-10.376,87.052-3.631,112.512,2.171c3.179,0.724,6.464-0.024,9.011-2.054c2.538-2.025,3.994-5.052,3.994-8.301V82.427 C297,76.568,292.232,71.801,286.373,71.801z M18.332,205.042V71.801h-7.706C4.768,71.801,0,76.568,0,82.427v168.897c0,3.25,1.456,6.276,3.994,8.301 c2.545,2.029,5.827,2.78,9.011,2.054c25.46-5.803,70.135-12.547,112.511-2.171c-24.502-23.19-59.1-27.292-80.083-27.342 C30.49,232.13,18.332,219.963,18.332,205.042z')
+myrtille('drive.yigitcolakoglu.com/', '0 0 64 64', "m32.028095 17.446884c-6.630378 0-12.249342 4.49517-13.99122 10.563651-1.517121-3.258998-4.77612-5.506585-8.597016-5.506585-5.169446 0-9.439859 4.270413-9.439859 9.496049 0 5.225637 4.270413 9.49605 9.496049 9.49605 3.764706 0 7.079895-2.247586 8.597015-5.506585 1.685689 6.068481 7.304653 10.563652 13.935031 10.563652 6.574188 0 12.193152-4.438981 13.99122-10.451272 1.517121 3.146619 4.77612 5.338015 8.484636 5.338015 5.225637 0 9.496049-4.270412 9.496049-9.496049s-4.270412-9.43986-9.496049-9.43986c-3.708516 0-6.967515 2.191396-8.484636 5.338016-1.798068-5.956101-7.360843-10.395082-13.99122-10.395082zm0 5.562773c5.000878 0 8.990343 3.989465 8.990343 8.990342 0 5.000879-3.989465 8.990343-8.990343 8.990343s-8.990343-3.989464-8.990343-8.990343c0-5.000875 3.989465-8.99034 8.990343-8.990342zm-22.532046 5.057067c2.191397 0 3.933275 1.74188 3.933275 3.933275 0 2.191396-1.741878 3.933276-3.933275 3.933276-2.191396 0-3.933275-1.74188-3.933275-3.933276 0-2.191395 1.741879-3.933275 3.933275-3.933275zm45.007902 0c2.191396 0 3.933275 1.74188 3.933275 3.933275 0 2.191396-1.741879 3.933276-3.933275 3.933276s-3.933275-1.74188-3.933275-3.933276c.05619-2.191395 1.741879-3.933275 3.933275-3.933275z")


+ 9009
- 0
misc/BetterDiscord/plugins/0PluginLibrary.plugin.js
File diff suppressed because it is too large
View File


+ 0
- 350
misc/BetterDiscord/plugins/APlatformIndicators.plugin.js View File

@ -1,350 +0,0 @@
/**
* @name PlatformIndicators
* @displayName PlatformIndicators
* @authorId 415849376598982656
* @invite gvA2ree
*/
/*@cc_on
@if (@_jscript)
// Offer to self-install for clueless users that try to run this directly.
var shell = WScript.CreateObject("WScript.Shell");
var fs = new ActiveXObject("Scripting.FileSystemObject");
var pathPlugins = shell.ExpandEnvironmentStrings("%APPDATA%\BetterDiscord\plugins");
var pathSelf = WScript.ScriptFullName;
// Put the user at ease by addressing them in the first person
shell.Popup("It looks like you've mistakenly tried to run me directly. \n(Don't do that!)", 0, "I'm a plugin for BetterDiscord", 0x30);
if (fs.GetParentFolderName(pathSelf) === fs.GetAbsolutePathName(pathPlugins)) {
shell.Popup("I'm in the correct folder already.", 0, "I'm already installed", 0x40);
} else if (!fs.FolderExists(pathPlugins)) {
shell.Popup("I can't find the BetterDiscord plugins folder.\nAre you sure it's even installed?", 0, "Can't install myself", 0x10);
} else if (shell.Popup("Should I copy myself to BetterDiscord's plugins folder for you?", 0, "Do you need some help?", 0x34) === 6) {
fs.CopyFile(pathSelf, fs.BuildPath(pathPlugins, fs.GetFileName(pathSelf)), true);
// Show the user where to put plugins in the future
shell.Exec("explorer " + pathPlugins);
shell.Popup("I'm installed!", 0, "Successfully installed", 0x40);
}
WScript.Quit();
@else@*/
module.exports = (() => {
const config = {
info: {
name: "PlatformIndicators",
authors: [
{
name: "Strencher",
discord_id: "415849376598982656",
github_username: "Strencher",
twitter_username: "Strencher3"
}
],
version: "0.0.5",
description: "Adds indicators for every platform that the user is using. Source code availble on the repo in the 'src' folder.",
github: "https://github.com/Strencher/BetterDiscordStuff/blob/master/PlatformIndicators/APlatformIndicators.plugin.js",
github_raw: "https://raw.githubusercontent.com/Strencher/BetterDiscordStuff/master/PlatformIndicators/APlatformIndicators.plugin.js"
},
changelog: [
{
title: "v0.0.5",
type: "fixed",
items: [
"Thanks to @qwert#1441 for fixing the padding issue in chat messages!",
"I still need ideas where to show all of them at one position that is not next to the username... join my Support server => https://discord.gg/gvA2ree to send me ideas!"
]
},
{
title: "v0.0.4",
type: "added",
items: [
"2 Attempt to fix conflicts with BetterRoleColors.",
"It'll probably require you to update 2 times because the filename has changed.",
"Bug fixes... styling fixes..."
]
}
],
defaultConfig: [
{
type: "switch",
name: "Show in MemberList",
note: "Shows the platform indicators in the memberlist",
id: "showInMemberList",
value: true
},
{
type: "switch",
name: "Show next to username",
note: "Shows the platform indicators next the username in messages.",
id: "showOnMessages",
value: true
},
{
type: "switch",
name: "Show in Dmd List",
note: "Shows the platform indicators in the dm list.",
id: "showInDmsList",
value: true
},
{
type: "switch",
name: "Show next to discord tags",
note: "Shows the platform indicators right next to the discord tag.",
id: "showOnTags",
value: true
},
{
type: "switch",
name: "Ignore Bots",
note: "Ignores the status of bots which is always web anyways.",
id: "ignoreBots",
value: true
},
{
type: "category",
name: "icons",
id: "icons",
settings: [
{
type: "switch",
name: "Web Icon",
note: "Show the Web icon.",
id: "web",
value: true
},
{
type: "switch",
name: "Desktop Icon",
note: "Show the Desktop icon.",
id: "desktop",
value: true
},
{
type: "switch",
name: "Mobile Icon",
note: "Show the Mobile icon.",
id: "mobile",
value: true
}
]
}
]
};
//@ts-ignore
const BdApi = window.BdApi;
// @ts-ignore
return !global.ZeresPluginLibrary ? class {
constructor() {
this._config = config;
}
getName() { return config.info.name; }
getAuthor() { return config.info.authors.map(a => a.name).join(", "); }
getDescription() { return config.info.description; }
getVersion() { return config.info.version; }
load() {
BdApi.showConfirmationModal("Library plugin is needed", [`The library plugin needed for ${config.info.name} is missing. Please click Download Now to install it.`], {
confirmText: "Download",
cancelText: "Cancel",
onConfirm: () => {
require("request").get("https://rauenzi.github.io/BDPluginLibrary/release/0PluginLibrary.plugin.js", async (error, response, body) => {
if (error)
return require("electron").shell.openExternal("https://betterdiscord.net/ghdl?url=https://raw.githubusercontent.com/rauenzi/BDPluginLibrary/master/release/0PluginLibrary.plugin.js");
await new Promise(r => require("fs").writeFile(require("path").join(BdApi.Plugins.folder, "0PluginLibrary.plugin.js"), body, r));
});
}
});
}
start() { }
stop() { }
} : (([Plugin, Api]) => {
const plugin = (Plugin, Api) => {
const { Utilities, WebpackModules, PluginUtilities, ReactTools, Patcher, Logger, DiscordModules: { React, UserStatusStore, Dispatcher, DiscordConstants: { ActionTypes } } } = Api;
const Utils = Object.assign(Utilities, {
joinClassNames: (...classNames) => classNames.filter(Boolean).join(" "),
capFirst(text) {
return text[0].toUpperCase() + text.slice(1);
}
});
const DesktopIcon = React.memo(props => (React.createElement("svg", Object.assign({ className: "PI-icon_desktop", width: "24", height: "24" }, props, { viewBox: "0 0 24 24" }),
React.createElement("path", { fill: "currentColor", d: "M4 2.5C2.897 2.5 2 3.397 2 4.5V15.5C2 16.604 2.897 17.5 4 17.5H11V19.5H7V21.5H17V19.5H13V17.5H20C21.103 17.5 22 16.604 22 15.5V4.5C22 3.397 21.103 2.5 20 2.5H4ZM20 4.5V13.5H4V4.5H20Z" }))));
const WebIcon = React.memo(props => (React.createElement("svg", Object.assign({ className: "PI-icon_web", width: "24", height: "24" }, props, { viewBox: "0 0 24 24" }),
React.createElement("path", { fill: "currentColor", d: "M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM11 19.93C7.05 19.44 4 16.08 4 12C4 11.38 4.08 10.79 4.21 10.21L9 15V16C9 17.1 9.9 18 11 18V19.93ZM17.9 17.39C17.64 16.58 16.9 16 16 16H15V13C15 12.45 14.55 12 14 12H8V10H10C10.55 10 11 9.55 11 9V7H13C14.1 7 15 6.1 15 5V4.59C17.93 5.78 20 8.65 20 12C20 14.08 19.2 15.97 17.9 17.39Z" }))));
const MobileIcon = React.memo(props => (React.createElement("svg", Object.assign({ className: "PI-icon_mobile", width: "24", height: "24" }, props, { viewBox: "0 0 24 24" }),
React.createElement("g", { fill: "none" },
React.createElement("path", { fill: "currentColor", d: "M15.5 1h-8C6.12 1 5 2.12 5 3.5v17C5 21.88 6.12 23 7.5 23h8c1.38 0 2.5-1.12 2.5-2.5v-17C18 2.12 16.88 1 15.5 1zm-4 21c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm4.5-4H7V4h9v14z" })))));
const Icons = {
mobile: MobileIcon,
web: WebIcon,
desktop: DesktopIcon
};
const getClass = (props = [], items = props, exclude = [], selector = false) => {
const module = WebpackModules.getModule(m => m && props.every(prop => m[prop] !== undefined) && exclude.every(e => m[e] == undefined));
if (!module)
return '';
return (selector ? '.' : '') + items.map(item => module[item]).join(selector ? '.' : ' ');
};
const { TooltipContainer: Tooltip } = WebpackModules.getByProps("TooltipContainer");
const StatusModule = WebpackModules.getByProps("Status", "getStatusMask");
const Flux = WebpackModules.getByProps("connectStores");
const MessageTimestamp = WebpackModules.getByProps("MessageTimestamp");
const { Messages } = WebpackModules.getByProps("Messages", "setLocale");
const AuthStore = WebpackModules.getByProps("getId", "getEmail");
let plugin, currentClientStatus;
const StatusIndicators = function StatusIndicators(props) {
if (!props)
return null;
return (React.createElement("div", { className: Utils.joinClassNames("PI-indicatorContainer", "PI-type_" + props.type) }, Object.keys(props).filter(e => plugin.settings.icons[e]).map(e => {
const color = StatusModule.getStatusColor(props[e]);
const Icon = Icons[e];
return React.createElement(Tooltip, { text: Utils.capFirst(e) + ": " + Messages[`STATUS_${(props[e] == "mobile" ? "mobile_online" : props[e]).toUpperCase()}`], position: "top" },
React.createElement(Icon, { style: { color }, width: "18", height: "18" }));
})));
};
return class PlatformIndicators extends Plugin {
constructor() {
super(...arguments);
this.css = `
.PI-indicatorContainer {
display: inline-flex;
}
.PI-indicatorContainer svg {
margin-left: 2px;
}
.header-23xsNx {
display: flex !important;
flex-direction: row !important;
}
.PI-container {
display: flex;
}
`;
this.getSettingsPanel = () => {
return this.buildSettingsPanel().getElement();
};
this.ON_PRESENCE_UPDATE = ({ user, clientStatus }) => {
if (user.id != AuthStore.getId())
return;
currentClientStatus = clientStatus;
UserStatusStore.emitChange();
};
}
getClients(userId) {
const isSelf = userId == AuthStore.getId();
const status = isSelf ? currentClientStatus : UserStatusStore.getState().clientStatuses[userId];
return status !== null && status !== void 0 ? status : {};
}
onStart() {
plugin = this;
PluginUtilities.addStyle(config.info.name, this.css);
Utils.suppressErrors(this.patchMessageHeader.bind(this))();
Utils.suppressErrors(this.patchMemberListItem.bind(this))();
Utils.suppressErrors(this.patchDmList.bind(this))();
Utils.suppressErrors(this.patchDiscordTag.bind(this))();
Dispatcher.subscribe(ActionTypes.PRESENCE_UPDATE, this.ON_PRESENCE_UPDATE);
}
async patchMemberListItem() {
const MemberListItem = WebpackModules.getByDisplayName("MemberListItem");
Patcher.after(MemberListItem.prototype, "renderDecorators", ({ props }, _, returnValue) => {
var _a;
if (!this.settings.showInMemberList)
return;
try {
const tree = (_a = returnValue === null || returnValue === void 0 ? void 0 : returnValue.props) === null || _a === void 0 ? void 0 : _a.children;
if (!Array.isArray(tree) || (this.settings.ignoreBots && props.user.bot))
return;
const FluxWrapper = Flux.connectStores([UserStatusStore], () => this.getClients(props.user.id))(clients => React.createElement(StatusIndicators, Object.assign({}, clients, { type: "memberList" })));
tree.unshift(React.createElement(FluxWrapper, null));
}
catch (error) {
Logger.error("Error while patching MemberListItem:", error);
}
});
this.forceUpdate(getClass(["member"], ["member"], [], true));
}
patchMessageHeader() {
Patcher.after(MessageTimestamp, "default", (_, [props], returnValue) => {
if (!this.settings.showOnMessages)
return;
try {
const tree = Utils.getNestedProp(returnValue, "props.children.1.props.children");
if (!Array.isArray(tree) || (this.settings.ignoreBots && props.message.author.bot))
return;
const FluxWrapper = Flux.connectStores([UserStatusStore], () => this.getClients(props.message.author.id))(clients => React.createElement(StatusIndicators, Object.assign({}, clients, { type: "chat" })));
tree.splice(2, 0, React.createElement(FluxWrapper, null));
}
catch (error) {
Logger.error("Error while patching MessageTimestammp:", error);
}
});
}
patchDmList() {
var _a;
const { default: PrivateChannel } = (_a = WebpackModules.getModule(m => { var _a; return ((_a = m === null || m === void 0 ? void 0 : m.default) === null || _a === void 0 ? void 0 : _a.displayName) === "PrivateChannel"; })) !== null && _a !== void 0 ? _a : {};
Patcher.after(PrivateChannel.prototype, "render", (_this, _, ret) => {
const unpatch = Patcher.after(ret.type, "render", (_, __, ret) => {
var _a, _b;
unpatch();
if (!this.settings.showInDmsList)
return;
const tree = Utils.findInReactTree(ret, m => { var _a; return ((_a = m === null || m === void 0 ? void 0 : m.className) === null || _a === void 0 ? void 0 : _a.indexOf("nameAndDecorators")) > -1; });
if (!tree)
return;
if (!Array.isArray(tree === null || tree === void 0 ? void 0 : tree.children) || (this.settings.ignoreBots && ((_b = (_a = _this.props) === null || _a === void 0 ? void 0 : _a.user) === null || _b === void 0 ? void 0 : _b.bot)))
return;
const FluxWrapper = Flux.connectStores([UserStatusStore], () => { var _a, _b; return this.getClients((_b = (_a = _this.props) === null || _a === void 0 ? void 0 : _a.user) === null || _b === void 0 ? void 0 : _b.id); })(clients => React.createElement(StatusIndicators, Object.assign({}, clients, { type: "dmList" })));
tree.children = [
tree.children,
React.createElement(FluxWrapper, null)
];
});
});
this.forceUpdate(getClass(["privateChannels"], ["privateChannels"], [], true));
}
forceUpdate(selector) {
const nodes = document.querySelectorAll(selector);
if (!nodes.length)
return;
for (const node of nodes) {
const instance = ReactTools.getOwnerInstance(node);
if (!instance)
return;
instance.forceUpdate();
}
}
patchDiscordTag() {
const DiscordTag = WebpackModules.getModule(m => { var _a; return ((_a = m === null || m === void 0 ? void 0 : m.default) === null || _a === void 0 ? void 0 : _a.displayName) === "DiscordTag"; });
const NameTag = WebpackModules.getModule(m => { var _a; return ((_a = m === null || m === void 0 ? void 0 : m.default) === null || _a === void 0 ? void 0 : _a.displayName) === "NameTag"; });
Patcher.after(DiscordTag, "default", (_, [{ user }], ret) => {
ret.props.user = user;
});
Patcher.after(NameTag, "default", (_, [args], ret) => {
if (!this.settings.showOnTags)
return;
const tree = ret === null || ret === void 0 ? void 0 : ret.props;
var { user } = args;
if (!Array.isArray(tree === null || tree === void 0 ? void 0 : tree.children) || (this.settings.ignoreBots && (user === null || user === void 0 ? void 0 : user.bot)))
return;
const FluxWrapper = Flux.connectStores([UserStatusStore], () => this.getClients(user === null || user === void 0 ? void 0 : user.id))(clients => React.createElement(StatusIndicators, Object.assign({}, clients, { type: "discordTag" })));
try {
tree.children.push(React.createElement(FluxWrapper, null));
}
catch (error) {
Logger.error("Failed to inject into NameTag:\n", error);
}
return ret;
});
}
onStop() {
Patcher.unpatchAll();
PluginUtilities.removeStyle(config.info.name);
Dispatcher.unsubscribe(ActionTypes.PRESENCE_UPDATE, this.ON_PRESENCE_UPDATE);
}
};
};
return plugin(Plugin, Api);
//@ts-ignore
})(global.ZeresPluginLibrary.buildPlugin(config));
})();
/*@end@*/

+ 38
- 0
misc/BetterDiscord/plugins/BetterCodeblocks.config.json View File

@ -2,5 +2,43 @@
"currentVersionInfo": {
"version": "1.0.0",
"hasShownChangelog": true
},
"settings": {
"addition": "#98c379",
"attr_1": "#d19a66",
"attr_2": "#d19a66",
"attribute": "#98c379",
"background": "#282c34",
"built_in": "#e6c07b",
"bullet": "#61aeee",
"code": "#abb2bf",
"comment": "#5c6370",
"deletion": "#e06c75",
"doctag": "#c678dd",
"keyword": "#c678dd",
"literal": "#56b6c2",
"meta_string": "#98c379",
"meta": "#61aeee",
"name": "#e06c75",
"nomarkup": "#98c379",
"number": "#d19a66",
"params": "#abb2bf",
"quote": "#5c6370",
"regexp": "#98c379",
"section": "#e06c75",
"selector_attr": "#d19a66",
"selector_class": "#d19a66",
"selector_id": "#61aeee",
"selector_pseudo": "#d19a66",
"selector_tag": "#e06c75",
"string": "#98c379",
"subst": "#e06c75",
"symbol": "#61aeee",
"tag": "#e06c75",
"template_variable": "#d19a66",
"text": "#abb2bf",
"title": "#61aeee",
"type": "#d19a66",
"variable": "#d19a66"
}
}

+ 2
- 2
misc/dunst/dunstrc View File

@ -158,7 +158,7 @@
dmenu = /usr/bin/dmenu -p dunst:
# Browser for opening urls in context menu.
browser = brave-start
browser = firefox-developer-edition
# Align icons left/right/off
icon_position = left
@ -189,7 +189,7 @@
history = shift+mod4+h
# Context menu.
context = shift+mod4+space
context = shift+mod1+space
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.


+ 1
- 1
scripts/dmenu-mconnect View File

@ -114,7 +114,7 @@ show_menu () {
fi
mconnectctl share-url "$2" "$message";;
*'Send Text' )
message=$(echo 'Clipboard' | dmenu -i -p "Enter Url:")
message=$(echo 'Clipboard' | dmenu -i -p "Enter Text:")
if [ "$message" = "Clipboard" ]; then
message=$(sselp)
fi


+ 2
- 1
xorg/xinitrc View File

@ -1,6 +1,7 @@
#! /bin/sh
pkill -f clipmenud
pkill -f dunst
pkill -f "bash /sbin/clipmenud"
pkill -f "/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh"
pkill -f "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1"
@ -15,6 +16,7 @@ clipmenud > /tmp/clipmenud.out 2> /tmp/clipmenud.err &
rm -f ~/.surf/tabbed-surf.xid
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
~/.scripts/daily-update
~/.keyboard > /tmp/keyboard.out 2> /tmp/keyboard.err
xrdb ~/.Xresources &
~/.scripts/mailsync &
if [ "$NEXTCLOUD" = true ] ; then
@ -48,7 +50,6 @@ pactl upload-sample /usr/share/sounds/freedesktop/stereo/bell.oga x11-bell
pactl load-module module-x11-bell sample=x11-bell display=$DISPLAY
xset b 100
xset dpms 600 600 600
~/.keyboard > /tmp/keyboard.out 2> /tmp/keyboard.err
dunst &


+ 1
- 1
zsh/aliases View File

@ -29,5 +29,5 @@ alias ga="git add"
alias gc="git commit"
alias gcm="git commit -m"
alias gp="git push"
alias gpall="git remote | xargs -L1 -I R git push R"
alias gpall="git remote | xargs -I R git push R"
alias gpl="git pull"

Loading…
Cancel
Save