2 Commits

Author SHA1 Message Date
  Brennen Bearnes 57f9004bcc Merge branch 'main' into thinkpad-x1-carbon 3 months ago
  Brennen Bearnes 7e504cb0db first batch of debian trixie changes 3 months ago
2 changed files with 11 additions and 8 deletions
Unified View
  1. +1
    -1
      home/bin/notes-collect-metadata
  2. +10
    -7
      install.sh

+ 1
- 1
home/bin/notes-collect-metadata View File

@ -22,7 +22,7 @@ def resolve_target(target, page):
# This will break if you're trying to link to foo/diary/2023-01-01 instead # This will break if you're trying to link to foo/diary/2023-01-01 instead
# of /diary/2023-01-01, but at least within my notes that's not something # of /diary/2023-01-01, but at least within my notes that's not something
# I do, and it's probably a rare case in general. # I do, and it's probably a rare case in general.
if re.search('diary/\d{4}-\d{2}-\d{2}', target):
if re.search(r'diary/\d{4}-\d{2}-\d{2}', target):
return target return target
# At this point, we should be fairly confident the link is a wiki page. # At this point, we should be fairly confident the link is a wiki page.


+ 10
- 7
install.sh View File

@ -1,17 +1,21 @@
#!/bin/sh #!/bin/sh
set -ex
KIT_ROOT=$(pwd) KIT_ROOT=$(pwd)
echo "installing kit from $KIT_ROOT" echo "installing kit from $KIT_ROOT"
# TODO: xautolock?
echo 'installing package prereqs' echo 'installing package prereqs'
sudo apt-get install build-essential xterm tmux vim perl ack-grep \ sudo apt-get install build-essential xterm tmux vim perl ack-grep \
git git-gui htop zsh suckless-tools figlet xmonad trayer xmobar \ git git-gui htop zsh suckless-tools figlet xmonad trayer xmobar \
volumeicon-alsa diodon curl jq byzanz festival redshift-gtk ranger \ volumeicon-alsa diodon curl jq byzanz festival redshift-gtk ranger \
rofi xsettingsd wmctrl lynx perl-doc dict moreutils myrepos etckeeper \ rofi xsettingsd wmctrl lynx perl-doc dict moreutils myrepos etckeeper \
bzr cvs darcs mercurial subversion subversion-tools dunst i3lock \ bzr cvs darcs mercurial subversion subversion-tools dunst i3lock \
fzf xclip xsel xautolock pngphoon tree scrot pandoc dnsutils \
pasystray pavucontrol exa shellcheck \
fzf xclip xsel pngphoon tree scrot pandoc dnsutils \
pasystray pavucontrol eza shellcheck \
bsdmainutils \ bsdmainutils \
calendar \ calendar \
visidata \ visidata \
@ -22,10 +26,10 @@ pasystray pavucontrol exa shellcheck \
yubikey-manager \ yubikey-manager \
mosh \ mosh \
xcalib \ xcalib \
icc-profiles
icc-profiles-free
echo 'installing some extra fonts' echo 'installing some extra fonts'
sudo apt-get install fonts-noto-color-emoji fonts-liberation fonts-roboto-hinted texlive-fonts-extra
sudo apt-get install fonts-noto-color-emoji fonts-liberation texlive-fonts-extra
echo 'installing pandoc from cabal' echo 'installing pandoc from cabal'
# TODO: restore this or put it elsewhere # TODO: restore this or put it elsewhere
@ -34,12 +38,11 @@ echo 'installing pandoc from cabal'
echo 'installing perl dependencies' echo 'installing perl dependencies'
# TODO: Some of these belong with specific progs: # TODO: Some of these belong with specific progs:
sudo cpan -i Module::Build App::WRT DBI SQL::Abstract DBD::SQLite XML::FeedPP
sudo cpan -T -i Module::Build App::WRT DBI SQL::Abstract DBD::SQLite XML::FeedPP
# TODO: These need to go in a venv now? # TODO: These need to go in a venv now?
echo 'installing python dependencies and utils' echo 'installing python dependencies and utils'
sudo apt-get install python3-pip
sudo apt-get install python3-pip python3.13-venv
if [ ! -d ~/python_bullshit ]; then if [ ! -d ~/python_bullshit ]; then
python3 -m venv ~/python_bullshit python3 -m venv ~/python_bullshit
~/python_bullshit/bin/pip3 install panflute ~/python_bullshit/bin/pip3 install panflute


Loading…
Cancel
Save