[Misc] switching to new repo for org files
11
docs/.vuepress/client.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { defineClientConfig } from '@vuepress/client';
|
||||
import ImgFigure from './components/ImgFigure.vue';
|
||||
|
||||
export default defineClientConfig({
|
||||
enhance({ app }) {
|
||||
app.component('ImgFigure', ImgFigure);
|
||||
},
|
||||
setup() {},
|
||||
layouts: {},
|
||||
rootComponents: [],
|
||||
});
|
||||
19
docs/.vuepress/components/ImgFigure.vue
Normal file
@@ -0,0 +1,19 @@
|
||||
<template>
|
||||
<img :alt="alt" :src="src" />
|
||||
<figcaption><slot></slot></figcaption>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
const props = defineProps<{
|
||||
src: string;
|
||||
alt?: string;
|
||||
}>();
|
||||
</script>
|
||||
|
||||
<style>
|
||||
figcaption {
|
||||
text-align: center;
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
</style>
|
||||
132
docs/.vuepress/config.ts
Normal file
@@ -0,0 +1,132 @@
|
||||
import { defineUserConfig, defaultTheme } from 'vuepress';
|
||||
import { removeHtmlExtensionPlugin } from 'vuepress-plugin-remove-html-extension';
|
||||
import head from './head';
|
||||
|
||||
export default defineUserConfig({
|
||||
lang: 'en-US',
|
||||
title: "Phundrak's Dotfiles",
|
||||
head: head,
|
||||
description: "Documentation of the GNU/Linux configuration of P'undrak",
|
||||
markdown: {
|
||||
html: false,
|
||||
linkify: true,
|
||||
typographer: true,
|
||||
headers: {
|
||||
level: [1, 2, 3, 4, 5],
|
||||
},
|
||||
},
|
||||
plugins: [removeHtmlExtensionPlugin()],
|
||||
theme: defaultTheme({
|
||||
sidebarDepth: 5,
|
||||
repo: 'https://labs.phundrak.com/phundrak/config.phundrak.com',
|
||||
sidebar: [
|
||||
'/',
|
||||
'/about',
|
||||
{
|
||||
text: 'Emacs',
|
||||
link: '/emacs/',
|
||||
collapsible: true,
|
||||
children: [
|
||||
{
|
||||
text: 'Basic Configuration',
|
||||
link: '/emacs/basic-config',
|
||||
},
|
||||
{
|
||||
text: 'Custom Elisp',
|
||||
link: '/emacs/custom-elisp',
|
||||
},
|
||||
{
|
||||
text: 'Package Manager',
|
||||
link: '/emacs/package-manager',
|
||||
},
|
||||
{
|
||||
text: 'Keybindings Managers',
|
||||
link: '/emacs/keybinding-managers',
|
||||
},
|
||||
{
|
||||
text: 'Packages - Autocompletion',
|
||||
link: '/emacs/packages/autocompletion',
|
||||
},
|
||||
{
|
||||
text: 'Packages - Applications',
|
||||
link: '/emacs/packages/applications',
|
||||
},
|
||||
{
|
||||
text: 'Packages - Editing',
|
||||
link: '/emacs/packages/editing',
|
||||
},
|
||||
{
|
||||
text: 'Packages - Emacs Built-ins',
|
||||
link: '/emacs/packages/emacs-builtin',
|
||||
},
|
||||
{
|
||||
text: 'Packages - Making My Life Easier',
|
||||
link: '/emacs/packages/helpful',
|
||||
},
|
||||
{
|
||||
text: 'Packages - LaTeX',
|
||||
link: '/emacs/packages/latex',
|
||||
},
|
||||
{
|
||||
text: 'Packages - Org Mode',
|
||||
link: '/emacs/packages/org',
|
||||
},
|
||||
{
|
||||
text: 'Packages - Programming',
|
||||
link: '/emacs/packages/programming',
|
||||
},
|
||||
{
|
||||
text: 'Packages - Visual Configuration',
|
||||
link: '/emacs/packages/visual-config',
|
||||
},
|
||||
{
|
||||
text: 'Packages - Misc',
|
||||
link: '/emacs/packages/misc',
|
||||
},
|
||||
{
|
||||
text: 'Keybindings',
|
||||
link: '/emacs/keybindings',
|
||||
},
|
||||
],
|
||||
},
|
||||
'/scripts',
|
||||
'/desktop',
|
||||
// '/fish',
|
||||
// '/git',
|
||||
// '/mpd',
|
||||
'/neofetch',
|
||||
'/picom',
|
||||
'/rustfmt',
|
||||
'/stumpwm',
|
||||
// '/tmux',
|
||||
'/bootstrap',
|
||||
{
|
||||
text: 'Deprecated Configs',
|
||||
link: '/deprecated/',
|
||||
collapsible: true,
|
||||
children: [
|
||||
{
|
||||
text: 'AwesomeWM',
|
||||
link: '/deprecated/awesome',
|
||||
},
|
||||
{
|
||||
text: 'i3',
|
||||
link: '/deprecated/i3',
|
||||
},
|
||||
{
|
||||
text: 'Nano',
|
||||
link: '/deprecated/nano',
|
||||
},
|
||||
{
|
||||
text: 'Polybar',
|
||||
link: '/deprecated/polybar',
|
||||
},
|
||||
{
|
||||
text: 'Spacemacs',
|
||||
link: '/deprecated/spacemacs',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}),
|
||||
});
|
||||
145
docs/.vuepress/head.ts
Normal file
@@ -0,0 +1,145 @@
|
||||
interface SimplifiedHeader {
|
||||
tag: string;
|
||||
content: [any];
|
||||
}
|
||||
|
||||
const matomoTrackingCode = `var _paq = window._paq = window._paq || [];
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
var u="https://matomo.phundrak.com/";
|
||||
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
||||
_paq.push(['setSiteId', '2']);
|
||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
||||
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
|
||||
})();`;
|
||||
|
||||
const simplifiedHead = [
|
||||
{
|
||||
tag: "meta",
|
||||
content: [
|
||||
{
|
||||
name: "author",
|
||||
content: "Lucien Cartier-Tilet",
|
||||
},
|
||||
{
|
||||
property: "og:image",
|
||||
content: "https://cdn.phundrak.com/img/rich_preview.png",
|
||||
},
|
||||
{
|
||||
property: "og:title",
|
||||
content: "P’undrak’s GNU/Linux Config",
|
||||
},
|
||||
{
|
||||
property: "og:description",
|
||||
content: "Documentation of P’undrak’s GNU/Linux configuration files",
|
||||
},
|
||||
{
|
||||
name: "twitter:card",
|
||||
content: "summary",
|
||||
},
|
||||
{
|
||||
name: "twitter:site",
|
||||
content: "@phundrak",
|
||||
},
|
||||
{
|
||||
name: "twitter:creator",
|
||||
content: "@phundrak",
|
||||
},
|
||||
{ name: "msapplication-TileColor", content: "#3b4252" },
|
||||
{ name: "msapplication-TileImage", content: "/ms-icon-144x144.png" },
|
||||
{ name: "theme-color", content: "#3b4252" },
|
||||
],
|
||||
},
|
||||
{
|
||||
tag: "link",
|
||||
content: [
|
||||
{
|
||||
rel: "apple-touch-icon",
|
||||
sizes: "57x57",
|
||||
href: "/apple-icon-57x57.png",
|
||||
},
|
||||
{
|
||||
rel: "apple-touch-icon",
|
||||
sizes: "60x60",
|
||||
href: "/apple-icon-60x60.png",
|
||||
},
|
||||
{
|
||||
rel: "apple-touch-icon",
|
||||
sizes: "72x72",
|
||||
href: "/apple-icon-72x72.png",
|
||||
},
|
||||
{
|
||||
rel: "apple-touch-icon",
|
||||
sizes: "76x76",
|
||||
href: "/apple-icon-76x76.png",
|
||||
},
|
||||
{
|
||||
rel: "apple-touch-icon",
|
||||
sizes: "114x114",
|
||||
href: "/apple-icon-114x114.png",
|
||||
},
|
||||
{
|
||||
rel: "apple-touch-icon",
|
||||
sizes: "120x120",
|
||||
href: "/apple-icon-120x120.png",
|
||||
},
|
||||
{
|
||||
rel: "apple-touch-icon",
|
||||
sizes: "144x144",
|
||||
href: "/apple-icon-144x144.png",
|
||||
},
|
||||
{
|
||||
rel: "apple-touch-icon",
|
||||
sizes: "152x152",
|
||||
href: "/apple-icon-152x152.png",
|
||||
},
|
||||
{
|
||||
rel: "apple-touch-icon",
|
||||
sizes: "180x180",
|
||||
href: "/apple-icon-180x180.png",
|
||||
},
|
||||
{
|
||||
rel: "icon",
|
||||
type: "image/png",
|
||||
sizes: "192x192",
|
||||
href: "/android-icon-192x192.png",
|
||||
},
|
||||
{
|
||||
rel: "icon",
|
||||
type: "image/png",
|
||||
sizes: "32x32",
|
||||
href: "/favicon-32x32.png",
|
||||
},
|
||||
{
|
||||
rel: "icon",
|
||||
type: "image/png",
|
||||
sizes: "96x96",
|
||||
href: "/favicon-96x96.png",
|
||||
},
|
||||
{
|
||||
rel: "icon",
|
||||
type: "image/png",
|
||||
sizes: "16x16",
|
||||
href: "/favicon-16x16.png",
|
||||
},
|
||||
{ rel: "manifest", href: "/manifest.json" },
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
let head = [];
|
||||
simplifiedHead.forEach((tag: SimplifiedHeader) => {
|
||||
let tagName = tag.tag;
|
||||
tag.content.forEach((element) => {
|
||||
head.push([tagName, element]);
|
||||
});
|
||||
});
|
||||
head.push([
|
||||
"a",
|
||||
{ rel: "me", href: "https://mastodon.phundrak.com/@phundrak" },
|
||||
"Mastodon",
|
||||
]);
|
||||
head.push(["script", {}, matomoTrackingCode]);
|
||||
|
||||
export default head;
|
||||
BIN
docs/.vuepress/public/android-icon-144x144.png
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
docs/.vuepress/public/android-icon-192x192.png
Normal file
|
After Width: | Height: | Size: 45 KiB |
BIN
docs/.vuepress/public/android-icon-36x36.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
docs/.vuepress/public/android-icon-48x48.png
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
docs/.vuepress/public/android-icon-72x72.png
Normal file
|
After Width: | Height: | Size: 9.8 KiB |
BIN
docs/.vuepress/public/android-icon-96x96.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
docs/.vuepress/public/apple-icon-114x114.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
docs/.vuepress/public/apple-icon-120x120.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
docs/.vuepress/public/apple-icon-144x144.png
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
docs/.vuepress/public/apple-icon-152x152.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
docs/.vuepress/public/apple-icon-180x180.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
docs/.vuepress/public/apple-icon-57x57.png
Normal file
|
After Width: | Height: | Size: 7.0 KiB |
BIN
docs/.vuepress/public/apple-icon-60x60.png
Normal file
|
After Width: | Height: | Size: 7.5 KiB |
BIN
docs/.vuepress/public/apple-icon-72x72.png
Normal file
|
After Width: | Height: | Size: 9.8 KiB |
BIN
docs/.vuepress/public/apple-icon-76x76.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
docs/.vuepress/public/apple-icon-precomposed.png
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
docs/.vuepress/public/apple-icon.png
Normal file
|
After Width: | Height: | Size: 46 KiB |
2
docs/.vuepress/public/browserconfig.xml
Normal file
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<browserconfig><msapplication><tile><square70x70logo src="/ms-icon-70x70.png"/><square150x150logo src="/ms-icon-150x150.png"/><square310x310logo src="/ms-icon-310x310.png"/><TileColor>#eceff4</TileColor></tile></msapplication></browserconfig>
|
||||
BIN
docs/.vuepress/public/favicon-16x16.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
docs/.vuepress/public/favicon-32x32.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
docs/.vuepress/public/favicon-96x96.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
docs/.vuepress/public/favicon.ico
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
docs/.vuepress/public/ms-icon-144x144.png
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
docs/.vuepress/public/ms-icon-150x150.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
docs/.vuepress/public/ms-icon-310x310.png
Normal file
|
After Width: | Height: | Size: 94 KiB |
BIN
docs/.vuepress/public/ms-icon-70x70.png
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
174
docs/.vuepress/styles/index.scss
Normal file
@@ -0,0 +1,174 @@
|
||||
/*
|
||||
* Nord Theme:
|
||||
* - Copyright (c) 2016-present Arctic Ice Studio <development@arcticicestudio.com>
|
||||
* - Copyright (c) 2016-present Sven Greb <development@svengreb.de>
|
||||
*/
|
||||
|
||||
:root {
|
||||
--nord0: #2e3440;
|
||||
--nord1: #3b4252;
|
||||
--nord2: #434c5e;
|
||||
--nord3: #4c566a;
|
||||
--nord4: #d8dee9;
|
||||
--nord5: #e5e9f0;
|
||||
--nord6: #eceff4;
|
||||
--nord7: #8fbcbb;
|
||||
--nord8: #88c0d0;
|
||||
--nord9: #81a1c1;
|
||||
--nord10: #5e81ac;
|
||||
--nord11: #bf616a;
|
||||
--nord12: #d08770;
|
||||
--nord13: #ebcb8b;
|
||||
--nord14: #a3be8c;
|
||||
--nord15: #b48ead;
|
||||
|
||||
scroll-behavior: smooth;
|
||||
|
||||
// brand colors
|
||||
--c-brand: var(--nord9);
|
||||
--c-brand-light: var(--nord14);
|
||||
|
||||
// background colors
|
||||
--c-bg: var(--nord6);
|
||||
--c-bg-light: var(--nord6);
|
||||
--c-bg-lighter: var(--nord5);
|
||||
--c-bg-dark: var(--nord5);
|
||||
--c-bg-darker: var(--nord4);
|
||||
--c-bg-navbar: var(--c-bg);
|
||||
--c-bg-sidebar: var(--c-bg);
|
||||
--c-bg-arrow: var(--nord4);
|
||||
|
||||
// text colors
|
||||
--c-text: var(--nord1);
|
||||
--c-text-accent: var(--c-brand);
|
||||
--c-text-light: var(--nord2);
|
||||
--c-text-lighter: var(--nord3);
|
||||
--c-text-lightest: var(--nord4);
|
||||
--c-text-quote: var(--nord2);
|
||||
|
||||
// border colors
|
||||
--c-border: var(--nord4);
|
||||
--c-border-dark: var(--nord4);
|
||||
|
||||
// custom container colors
|
||||
--c-tip: var(--nord14);
|
||||
--c-tip-bg: rgba(163, 190, 140, 0.2);
|
||||
--c-tip-title: var(--c-text);
|
||||
--c-tip-text: var(--c-text);
|
||||
--c-tip-text-accent: var(--c-text-accent);
|
||||
--c-warning: var(--nord13);
|
||||
--c-warning-bg: rgba(235, 203, 139, 0.3);
|
||||
--c-warning-bg-light: rgba(235, 203, 139, 0.2);
|
||||
--c-warning-bg-lighter: rgba(235, 203, 139, 0.1);
|
||||
--c-warning-border-dark: var(--nord3);
|
||||
--c-warning-details-bg: var(--c-bg);
|
||||
--c-warning-title: var(--nord12);
|
||||
--c-warning-text: var(--nord12);
|
||||
--c-warning-text-accent: var(--nord12);
|
||||
--c-warning-text-light: var(--nord12);
|
||||
--c-warning-text-quote: var(--nord12);
|
||||
|
||||
--c-danger: var(--nord11);
|
||||
--c-danger-bg: rgba(191, 97, 106, 0.2);
|
||||
--c-danger-bg-light: rgba(191, 97, 106, 0.2);
|
||||
--c-danger-bg-lighter: rgba(191, 97, 106, 0.1);
|
||||
--c-danger-border-dark: var(--nord11);
|
||||
--c-danger-details-bg: var(--nord2);
|
||||
--c-danger-title: var(--nord11);
|
||||
--c-danger-text: var(--nord11);
|
||||
--c-danger-text-accent: var(--nord11);
|
||||
--c-danger-text-light: var(--nord11);
|
||||
--c-danger-text-quote: var(--nord11);
|
||||
|
||||
--c-details-bg: var(--c-bg-lighter);
|
||||
|
||||
// badge component colors
|
||||
--c-badge-tip: var(--c-tip);
|
||||
--c-badge-warning: var(--c-warning);
|
||||
--c-badge-warning-text: var(--c-bg);
|
||||
--c-badge-danger: var(--c-danger);
|
||||
--c-badge-danger-text: var(--c-bg);
|
||||
|
||||
// transition vars
|
||||
--t-color: 0.3s ease;
|
||||
--t-transform: 0.3s ease;
|
||||
|
||||
// code blocks vars
|
||||
--code-bg-color: var(--nord0);
|
||||
--code-hl-bg-color: var(--nord1);
|
||||
--code-ln-color: #9e9e9e;
|
||||
--code-ln-wrapper-width: 3.5rem;
|
||||
|
||||
// font vars
|
||||
--font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
|
||||
Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
||||
--font-family-code: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
||||
|
||||
// layout vars
|
||||
--navbar-height: 3.6rem;
|
||||
--navbar-padding-v: 0.7rem;
|
||||
--navbar-padding-h: 1.5rem;
|
||||
--sidebar-width: 20rem;
|
||||
--sidebar-width-mobile: calc(var(--sidebar-width) * 0.82);
|
||||
--content-width: 740px;
|
||||
--homepage-width: 960px;
|
||||
}
|
||||
|
||||
html.dark {
|
||||
// brand colors
|
||||
--c-brand: var(--nord14);
|
||||
--c-brand-light: var(--nord14);
|
||||
|
||||
// background colors
|
||||
--c-bg: var(--nord1);
|
||||
--c-bg-light: var(--nord2);
|
||||
--c-bg-lighter: var(--nord2);
|
||||
--c-bg-dark: var(--nord3);
|
||||
--c-bg-darker: var(--nord3);
|
||||
|
||||
// text colors
|
||||
--c-text: var(--nord4);
|
||||
--c-text-light: var(--nord5);
|
||||
--c-text-lighter: var(--nord5);
|
||||
--c-text-lightest: var(--nord6);
|
||||
--c-text-quote: var(--c-text);
|
||||
|
||||
// border colors
|
||||
--c-border: var(--nord3);
|
||||
--c-border-dark: var(--nord3);
|
||||
|
||||
// custom container colors
|
||||
--c-tip: var(--nord14);
|
||||
--c-warning: var(--nord13);
|
||||
--c-warning-bg: rgba(235, 203, 139, 0.2);
|
||||
--c-warning-bg-light: rgba(235, 203, 139, 0.2);
|
||||
--c-warning-bg-lighter: rgba(235, 203, 139, 0.1);
|
||||
--c-warning-border-dark: var(--nord3);
|
||||
--c-warning-details-bg: var(--c-bg);
|
||||
--c-warning-title: var(--nord13);
|
||||
--c-warning-text: var(--nord13);
|
||||
--c-warning-text-accent: var(--nord13);
|
||||
--c-warning-text-light: var(--nord13);
|
||||
--c-warning-text-quote: var(--nord13);
|
||||
|
||||
--c-danger: var(--nord11);
|
||||
--c-danger-bg: rgba(191, 97, 106, 0.2);
|
||||
--c-danger-bg-light: rgba(191, 97, 106, 0.2);
|
||||
--c-danger-bg-lighter: rgba(191, 97, 106, 0.1);
|
||||
--c-danger-border-dark: var(--nord11);
|
||||
--c-danger-details-bg: var(--nord2);
|
||||
--c-danger-title: hsl(354 43% 75.7%);
|
||||
--c-danger-text: hsl(354 43% 80.7%);
|
||||
--c-danger-text-accent: var(--nord11);
|
||||
--c-danger-text-light: var(--nord11);
|
||||
--c-danger-text-quote: var(--nord11);
|
||||
|
||||
--c-details-bg: var(--c-bg-light);
|
||||
|
||||
// badge component colors
|
||||
--c-badge-warning-text: var(--nord0);
|
||||
--c-badge-danger-text: var(--nord0);
|
||||
|
||||
// code blocks vars
|
||||
--code-hl-bg-color: var(--nord2);
|
||||
}
|
||||