Compare commits

..

No commits in common. "dc3d59b4a467bddd8b8d8781384032f06b529fd4" and "a68231a64f72bc9289032c65c18b800078ae28be" have entirely different histories.

7 changed files with 57 additions and 108 deletions

View file

@ -1,7 +1,6 @@
#!/usr/bin/env zsh #!/usr/bin/env zsh
# <a href="https://dots.00dani.me/README">WHAT IS THIS</a> # <a href="https://dots.00dani.me/README">WHAT IS THIS</a>
{ # Wrap the entire program in a braced block so it won't run at all if you do curl | zsh and the connection drops.
global_ignore=( global_ignore=(
'\.git.*' '\.git.*'
'README\.md' 'README\.md'
@ -11,7 +10,7 @@ global_ignore=(
'\..*\.swp' '\..*\.swp'
) )
bootstrap() { 'bootstrap'() {
echo 'Bootstrapping your dotfiles...' >&2 echo 'Bootstrapping your dotfiles...' >&2
mkdir -p $DOTFILES mkdir -p $DOTFILES
touch $DOTFILES/.stow touch $DOTFILES/.stow
@ -25,14 +24,14 @@ bootstrap() {
link link
} }
clone() { 'clone'() {
echo "Requested packages: $argv" >&2 echo "Requested packages: $argv" >&2
for package in $argv; do for package in $argv; do
clone-one $package || return $? clone-one $package || return $?
done done
} }
clone-one() { 'clone-one'() {
local url=$1 local url=$1
local package=${${url##*/}%.git} local package=${${url##*/}%.git}
# Simple package names are fetched from the configured source prefix. # Simple package names are fetched from the configured source prefix.
@ -47,7 +46,7 @@ clone-one() {
git clone $url $DOTFILES/$package git clone $url $DOTFILES/$package
} }
link() { 'link'() {
local -a packages local -a packages
packages=($argv) packages=($argv)
if (( $#packages == 0 )); then if (( $#packages == 0 )); then
@ -66,7 +65,7 @@ link() {
$STOW -d $DOTFILES -t ~ --ignore=${^global_ignore} $packages $STOW -d $DOTFILES -t ~ --ignore=${^global_ignore} $packages
} }
process-stow-no-folding() { 'process-stow-no-folding'() {
zmodload zsh/mapfile zmodload zsh/mapfile
for file in ${(f)mapfile[$1]}; do for file in ${(f)mapfile[$1]}; do
file=~/$file file=~/$file
@ -76,7 +75,7 @@ process-stow-no-folding() {
done done
} }
fetch() { 'fetch'() {
local -a packages local -a packages
packages=($argv) packages=($argv)
(( $#packages == 0 )) && packages=( $DOTFILES/*(N:t) ) (( $#packages == 0 )) && packages=( $DOTFILES/*(N:t) )
@ -86,7 +85,7 @@ fetch() {
done done
} }
pull() { 'pull'() {
local -a packages local -a packages
packages=($argv) packages=($argv)
(( $#packages == 0 )) && packages=( $DOTFILES/*(N:t) ) (( $#packages == 0 )) && packages=( $DOTFILES/*(N:t) )
@ -97,7 +96,7 @@ pull() {
} }
status() { 'status'() {
local -a packages local -a packages
packages=($argv) packages=($argv)
(( $#packages == 0 )) && packages=( $DOTFILES/*(N:t) ) (( $#packages == 0 )) && packages=( $DOTFILES/*(N:t) )
@ -138,7 +137,7 @@ status() {
done done
} }
main() { 'main'() {
: ${DOTFILES:=~/dotfiles} ${STOW:=stow} ${DOTS_SOURCE_PREFIX:=https://git.00dani.me/dot} : ${DOTFILES:=~/dotfiles} ${STOW:=stow} ${DOTS_SOURCE_PREFIX:=https://git.00dani.me/dot}
comm=$1 comm=$1
@ -160,5 +159,4 @@ main() {
esac esac
} }
main "$@" {'main' "$@"}
} # Wrap the entire program in a braced block so it won't run at all if you do curl | zsh and the connection drops.

View file

@ -1 +0,0 @@
3.2.2

View file

@ -11,10 +11,10 @@ gem "webrick"
# #
# This will help ensure the proper Jekyll version is running. # This will help ensure the proper Jekyll version is running.
# Happy Jekylling! # Happy Jekylling!
gem "jekyll", "4.3.2" gem "jekyll", "4.2.0"
# This is the default theme for new Jekyll sites. You may change this to anything you like. # This is the default theme for new Jekyll sites. You may change this to anything you like.
gem "minima", github: "jekyll/minima" gem "minima"
# Syntax highlighter! # Syntax highlighter!
gem "rouge" gem "rouge"

View file

@ -1,91 +1,82 @@
GIT
remote: https://github.com/jekyll/minima.git
revision: 85374864e0311f544f49139078927b41ecbe8792
specs:
minima (3.0.0.dev)
jekyll (>= 3.5, < 5.0)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
addressable (2.8.5) addressable (2.7.0)
public_suffix (>= 2.0.2, < 6.0) public_suffix (>= 2.0.2, < 5.0)
colorator (1.1.0) colorator (1.1.0)
concurrent-ruby (1.2.2) concurrent-ruby (1.1.9)
em-websocket (0.5.3) em-websocket (0.5.2)
eventmachine (>= 0.12.9) eventmachine (>= 0.12.9)
http_parser.rb (~> 0) http_parser.rb (~> 0.6.0)
eventmachine (1.2.7) eventmachine (1.2.7)
ffi (1.16.3) ffi (1.15.3)
forwardable-extended (2.6.0) forwardable-extended (2.6.0)
google-protobuf (3.24.4) http_parser.rb (0.6.0)
http_parser.rb (0.8.0) i18n (1.8.10)
i18n (1.14.1)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
jekyll (4.3.2) jekyll (4.2.0)
addressable (~> 2.4) addressable (~> 2.4)
colorator (~> 1.0) colorator (~> 1.0)
em-websocket (~> 0.5) em-websocket (~> 0.5)
i18n (~> 1.0) i18n (~> 1.0)
jekyll-sass-converter (>= 2.0, < 4.0) jekyll-sass-converter (~> 2.0)
jekyll-watch (~> 2.0) jekyll-watch (~> 2.0)
kramdown (~> 2.3, >= 2.3.1) kramdown (~> 2.3)
kramdown-parser-gfm (~> 1.0) kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0) liquid (~> 4.0)
mercenary (>= 0.3.6, < 0.5) mercenary (~> 0.4.0)
pathutil (~> 0.9) pathutil (~> 0.9)
rouge (>= 3.0, < 5.0) rouge (~> 3.0)
safe_yaml (~> 1.0) safe_yaml (~> 1.0)
terminal-table (>= 1.8, < 4.0) terminal-table (~> 2.0)
webrick (~> 1.7) jekyll-feed (0.15.1)
jekyll-feed (0.17.0)
jekyll (>= 3.7, < 5.0) jekyll (>= 3.7, < 5.0)
jekyll-sass-converter (3.0.0) jekyll-sass-converter (2.1.0)
sass-embedded (~> 1.54) sassc (> 2.0.1, < 3.0)
jekyll-seo-tag (2.8.0) jekyll-seo-tag (2.7.1)
jekyll (>= 3.8, < 5.0) jekyll (>= 3.8, < 5.0)
jekyll-watch (2.2.1) jekyll-watch (2.2.1)
listen (~> 3.0) listen (~> 3.0)
kramdown (2.4.0) kramdown (2.3.1)
rexml rexml
kramdown-parser-gfm (1.1.0) kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0) kramdown (~> 2.0)
liquid (4.0.4) liquid (4.0.3)
listen (3.8.0) listen (3.5.1)
rb-fsevent (~> 0.10, >= 0.10.3) rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10) rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0) mercenary (0.4.0)
minima (2.5.1)
jekyll (>= 3.5, < 5.0)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
pathutil (0.16.2) pathutil (0.16.2)
forwardable-extended (~> 2.6) forwardable-extended (~> 2.6)
public_suffix (5.0.3) public_suffix (4.0.6)
rake (13.0.6) rb-fsevent (0.11.0)
rb-fsevent (0.11.2)
rb-inotify (0.10.1) rb-inotify (0.10.1)
ffi (~> 1.0) ffi (~> 1.0)
rexml (3.2.6) rexml (3.2.5)
rouge (4.1.3) rouge (3.26.0)
safe_yaml (1.0.5) safe_yaml (1.0.5)
sass-embedded (1.69.3) sassc (2.4.0)
google-protobuf (~> 3.23) ffi (~> 1.9)
rake (>= 13.0.0) terminal-table (2.0.0)
terminal-table (3.0.2) unicode-display_width (~> 1.1, >= 1.1.1)
unicode-display_width (>= 1.1.1, < 3) unicode-display_width (1.7.0)
unicode-display_width (2.5.0) webrick (1.7.0)
webrick (1.8.1)
PLATFORMS PLATFORMS
ruby ruby
DEPENDENCIES DEPENDENCIES
jekyll (= 4.3.2) jekyll (= 4.2.0)
minima! minima
rouge rouge
webrick webrick
RUBY VERSION RUBY VERSION
ruby 3.2.2p53 ruby 3.0.1p64
BUNDLED WITH BUNDLED WITH
2.4.10 2.2.15

View file

@ -1,21 +1,12 @@
---
title: dot/dots title: dot/dots
author:
name: Danielle McLean
email: dani@00dani.me email: dani@00dani.me
description: "Bootstrap and simple management script for my dotfiles" description: "Bootstrap and simple management script for my dotfiles"
github_username: 00dani
mastodon:
- username: 00dani
instance: elekk.club
url: 'https://dots.00dani.me' url: 'https://dots.00dani.me'
# Build settings # Build settings
theme: minima theme: minima
minima:
skin: auto
social_links:
- platform: github
user_url: 'https://github.com/00dani'
title: 'GitHub'
- platform: mastodon
user_url: 'https://elekk.xyz/@00dani'
title: '@00dani@elekk.xyz'
highlighter: rouge highlighter: rouge

View file

@ -1,30 +0,0 @@
<footer class="site-footer h-card">
<data class="u-url" href="{{ "/" | relative_url }}"></data>
<div class="wrapper">
<div class="footer-col-wrapper">
<div class="footer-col">
{%- if site.author %}
<ul class="contact-list">
{% if site.author.name -%}
<li class="p-name">{{ site.author.name | escape }}</li>
{% endif -%}
{% if site.author.email -%}
<li><a class="u-email" href="mailto:{{ site.author.email }}">{{ site.author.email }}</a></li>
{%- endif %}
</ul>
{%- endif %}
</div>
<div class="footer-col">
<p>{{ site.description | escape }}</p>
</div>
</div>
<div class="social-links">
{%- include social.html -%}
</div>
</div>
</footer>

View file

@ -1,4 +1,4 @@
--- ---
--- ---
{% include_relative local/bin/dots %} {% include_relative local/bin/dots %}
# <link rel="stylesheet" href="/assets/css/style.css"><style>body { display: block; white-space: pre-wrap; font-family: "Menlo", "Inconsolata", "Consolas", "Roboto Mono", "Ubuntu Mono", "Liberation Mono", "Courier New", monospace; margin: 5px; tab-size: 2; } a { font-size: 1.3em; }</style> # <style>body { white-space: pre-wrap; font-family: Monoid, Inconsolata, "Ubuntu Mono", Consolas, Menlo, monospace; } a { font-size: 1.3em; }</style>