Update

Changed files
+4 -638
.archive
config
zellij
just
task
zsh
config/devilspie2/devilspie2.lua .archive/devilspie2/devilspie2.lua
config/ghostty/config .archive/ghostty/config
config/newsboat/config .archive/newsboat/config
config/rofi/catppuccin.rasi .archive/rofi/catppuccin.rasi
config/rofi/config.rasi .archive/rofi/config.rasi
config/rofi/materia.rasi .archive/rofi/materia.rasi
config/systemd/user/quick-backup.service .archive/systemd/user/quick-backup.service
config/systemd/user/quick-backup.timer .archive/systemd/user/quick-backup.timer
config/systemd/user/sync_to_remotes.service .archive/systemd/user/sync_to_remotes.service
config/systemd/user/sync_to_remotes.timer .archive/systemd/user/sync_to_remotes.timer
config/systemd/user/timers.target.wants/quick-backup.timer .archive/systemd/user/timers.target.wants/quick-backup.timer
config/systemd/user/timers.target.wants/sync_to_remotes.timer .archive/systemd/user/timers.target.wants/sync_to_remotes.timer
config/xfce4-desktop/xfconf/xfce-perchannel-xml/xfce4-terminal.xml .archive/xfce4-desktop/xfconf/xfce-perchannel-xml/xfce4-terminal.xml
+2
config/zellij/config.kdl
···
copy_command "xclip -selection clipboard"
copy_on_select true
theme "catppuccin-mocha"
themes {
catppuccin-mocha {
···
copy_command "xclip -selection clipboard"
copy_on_select true
+
on_force_close "quit"
+
default_layout "sysadmin"
theme "catppuccin-mocha"
themes {
catppuccin-mocha {
config/zellij/layouts/default.kdl config/zellij/layouts/sysadmin.kdl
doom/.doom.d/.doom.d .archive/doom/.doom.d/.doom.d
doom/.doom.d/config.el .archive/doom/.doom.d/config.el
doom/.doom.d/init.el .archive/doom/.doom.d/init.el
doom/.doom.d/packages.el .archive/doom/.doom.d/packages.el
-430
install.sh
···
-
#!/usr/bin/env bash
-
-
set -euo pipefail
-
-
GREEN='\033[1;32m'
-
NC='\033[0m'
-
apt_packages=(
-
atop
-
autossh
-
bat
-
borgbackup
-
borgmatic
-
build-essential
-
calibre
-
cmake
-
curl
-
direnv
-
duf
-
emacs
-
firewalld
-
fzf
-
git
-
git-core
-
golang
-
hdparm
-
htop
-
hugo
-
jc
-
jq
-
lsd
-
lynx
-
maim
-
neovim
-
nmap
-
nodejs
-
npm
-
papirus-icon-theme
-
parallel
-
pipx
-
prometheus-node-exporter
-
python3-dev
-
python3-pip
-
python3-poetry
-
ripgrep
-
rofi
-
rsync
-
rsyslog
-
shfmt
-
shellcheck
-
tcpdump
-
tealdeer
-
trash-cli
-
unzip
-
w3m
-
wget
-
wireshark
-
xclip
-
zip
-
zsh
-
)
-
-
dnf_packages=(
-
age
-
atop
-
autossh
-
bat
-
borgbackup
-
borgmatic
-
btrfs-assistant
-
calibre
-
cmake
-
curl
-
diff-so-fancy
-
direnv
-
duf
-
emacs
-
ethtool
-
eza
-
fastfetch
-
fd-find
-
flatpak
-
fzf
-
git
-
git-core
-
golang
-
hdparm
-
htop
-
hugo
-
jc
-
jq
-
just
-
lagrange
-
ldns
-
libtool
-
lsd
-
lsof
-
lynx
-
maim
-
neovim
-
nmap
-
node-exporter
-
nodejs
-
nu
-
parallel
-
pipx
-
poetry
-
python3-devel
-
python3-pip
-
qbittorrent
-
ripgrep
-
rofi
-
rsync
-
rsyslog
-
shfmt
-
ShellCheck
-
tcpdump
-
tealdeer
-
trash-cli
-
vlc
-
w3m
-
wireshark
-
xclip
-
xfce4-docklike-plugin
-
xfce4-genmon-plugin
-
xfce4-weather-plugin
-
zsh
-
)
-
-
copr_repos=(
-
atim/starship
-
hyperreal/better_fonts
-
varlad/yazi
-
varlad/zellij
-
)
-
-
flatpak_packages=(
-
com.discordapp.Discord
-
com.github.tchx84.Flatseal
-
im.riot.Riot
-
io.podman_desktop.PodmanDesktop
-
)
-
-
pipx_packages=(
-
"black"
-
"bpython"
-
"isort"
-
"pyright"
-
"uv"
-
)
-
-
services_enable=(
-
atop.service
-
atopacct.service
-
atop-rotate.timer
-
firewalld.service
-
prometheus-node-exporter.service
-
rsyslog.service
-
systemd-networkd.service
-
tailscaled.service
-
)
-
-
services_disable=(
-
avahi-daemon.service
-
avahi-daemon.socket
-
bluetooth.service
-
cups.service
-
cups-browsed.service
-
NetworkManager.service
-
)
-
-
function action_label() {
-
echo ""
-
echo -e "${GREEN}--> ${1}...${NC}"
-
}
-
-
install_makedeb_prebuilt_packages() {
-
wget -qO - 'https://proget.makedeb.org/debian-feeds/prebuilt-mpr.pub' | gpg --dearmor | sudo tee /usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg 1>/dev/null
-
echo "deb [arch=all,$(dpkg --print-architecture) signed-by=/usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg] https://proget.makedeb.org prebuilt-mpr $(lsb_release -cs)" | sudo tee /etc/apt/sources.list.d/prebuilt-mpr.list
-
sudo apt update
-
sudo apt dist-upgrade -y
-
sudo apt install just
-
}
-
-
# interactive
-
install_starship() {
-
if ! test -f "$(command -v starship)"; then
-
curl -sS https://starship.rs/install.sh | sh
-
fi
-
}
-
-
function install_packages() {
-
action_label "INSTALLING PACKAGES"
-
if test -f /etc/debian_version; then
-
sudo apt install -y "${apt_packages[@]}"
-
install_makedeb_prebuilt_packages
-
install_starship
-
install_zellij
-
fi
-
-
if test -f /etc/redhat-release; then
-
sudo dnf install -y "${dnf_packages[@]}"
-
install_devel_groups
-
enable_copr_repos
-
install_copr_packages
-
install_rpmfusion_repos
-
install_rpmfusion_packages
-
fi
-
}
-
-
function install_devel_groups() {
-
action_label "INSTALLING DEVELOPMENT GROUPS"
-
sudo dnf install -y '@c-development' '@development-tools' '@container-management'
-
}
-
function enable_copr_repos() {
-
action_label "ENABLING COPR REPOS"
-
for repo in "${copr_repos[@]}"; do sudo dnf copr enable -y "$repo"; done
-
}
-
-
# Depends: enable_copr_repos
-
function install_copr_packages() {
-
action_label "INSTALLING COPR PACKAGES"
-
sudo dnf install -y starship fontconfig-font-replacements yazi zellij
-
}
-
-
function install_rpmfusion_repos() {
-
action_label "INSTALLING RPMFUSION REPOS"
-
sudo dnf install -y "https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm" "https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm"
-
}
-
-
# Depends: install_rpmfusion_repos
-
function install_rpmfusion_packages() {
-
action_label "INSTALLING RPMFUSION PACKAGES"
-
sudo dnf install -y --allowerasing ffmpeg-libs
-
}
-
-
install_zellij() {
-
if test -f /etc/debian_version; then
-
curl -s https://api.github.com/repos/zellij-org/zellij/releases/latest | grep "browser_download_url" | grep "zellij-$(uname -m)-unknown-linux-musl.tar.gz" | cut -d : -f 2,3 | tr -d '"' | wget -qi -
-
curl -s https://api.github.com/repos/zellij-org/zellij/releases/latest | grep "browser_download_url" | grep "zellij-$(uname -m)-unknown-linux-musl.sha256sum" | cut -d : -f 2,3 | tr -d '"' | wget -qi -
-
tar xvf "zellij-$(uname -m)-unknown-linux-musl.tar.gz"
-
if [ $(sha256sum -c "zellij-$(uname -m)-unknown-linux-musl.sha256sum" | head -n 1 | awk '{print $2}') = "OK" ]; then
-
sudo mv zellij /usr/local/bin
-
fi
-
rm -v zellij*
-
fi
-
}
-
-
function install_charm_packages() {
-
action_label "INSTALLING CHARM PACKAGES"
-
-
if test -f /etc/debian_version; then
-
curl -s https://api.github.com/repos/charmbracelet/gum/releases/latest | grep "browser_download_url.*deb" | grep "$(dpkg --print-architecture)" | cut -d : -f 2,3 | tr -d '"' | wget -qi -
-
curl -s https://api.github.com/repos/charmbracelet/gum/releases/latest | grep "browser_download_url" | grep "checksums.txt" | head -n 1 | cut -d : -f 2,3 | tr -d '"' | wget -qi -
-
if [ "$(grep $(dpkg --print-architecture).deb checksums.txt | sha256sum -c | head -n 1 | awk '{print $2}')" = "OK" ]; then
-
sudo dpkg -i gum*.deb
-
sudo apt -f install
-
fi
-
rm -v gum*
-
rm -v checksums.txt
-
fi
-
-
if test -f /etc/redhat-release; then
-
printf "[charm]\nname=Charm\nbaseurl=https://repo.charm.sh/yum/\nenabled=1\ngpgcheck=1\ngpgkey=https://repo.charm.sh/yum/gpg.key\n" | sudo tee /etc/yum.repos.d/charm.repo
-
sudo rpm --import https://repo.charm.sh/yum/gpg.key
-
sudo dnf install -y gum charm
-
fi
-
}
-
-
function install_tailscale() {
-
action_label "INSTALLING TAILSCALE"
-
sudo rm -v /etc/yum.repos.d/tailscale.repo
-
curl -fsSL https://tailscale.com/install.sh | sh
-
}
-
-
function enable_flathub() {
-
action_label "ENABLING FLATHUB"
-
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
-
}
-
-
# Depends: enable_flathub
-
function install_flatpaks() {
-
action_label "INSTALLING FLATPAKS"
-
for pkg in "${flatpak_packages[@]}"; do flatpak install flathub -y "$pkg"; done
-
}
-
-
# Depends: install_packages
-
function install_pipx_packages() {
-
action_label "INSTALLING PIPX PACKAGES"
-
for pkg in "${pipx_packages[@]}"; do pipx install "$pkg"; done
-
pipx install ansible --include-deps
-
}
-
-
function setup_networkd_conf() {
-
action_label "SETTING UP SYSTEMD-NETWORKD CONFIG"
-
echo '[Match]
-
Name=eno1
-
-
[Network]
-
DHCP=yes
-
#DNS=100.100.100.100
-
DNSSEC=allow-downgrade
-
-
[DHCPv4]
-
UseDNS=no' | sudo tee /etc/systemd/network/eno1.network
-
}
-
-
# After: setup_networkd_conf
-
function setup_resolv_conf() {
-
action_label "SETTING UP RESOLV CONF"
-
sudo rm -v /etc/resolv.conf
-
sudo ln -sf /var/run/systemd/resolve/resolv.conf /etc/resolv.conf
-
sudo systemctl restart systemd-resolved
-
}
-
-
# Depends: enable_tailscale
-
function setup_rsyslog_conf() {
-
action_label "SETTING UP RSYSLOG"
-
echo '# Forward to main monitoring node (nas-aux.lyrebird-marlin.ts.net)
-
*.* action(type="omfwd" target="100.86.148.42" port="514" protocol="tcp"
-
action.resumeRetryCount="100"
-
queue.type="linkedList" queue.size="10000")' | sudo tee /etc/rsyslog.d/00forward-to-nas.conf
-
}
-
-
# After: setup_networkd_conf
-
function disable_services() {
-
action_label "DISABLING SYSTEMD SERVICES"
-
for service in "${services_disable[@]}"; do
-
if sudo systemctl is-active "$service"; then
-
sudo systemctl disable --now "$service"
-
fi
-
done
-
}
-
-
# After:
-
# - setup_networkd_conf
-
# - install_packages
-
function enable_services() {
-
action_label "ENABLING SYSTEMD SERVICES"
-
for service in "${services_enable[@]}"; do sudo systemctl enable --now "$service"; done
-
if test -f /etc/debian_version; then
-
sudo systemctl enable --now ssh.service
-
elif test -f /etc/redhat-release; then
-
sudo systemctl enable --now sshd.service
-
fi
-
}
-
-
function disable_ipv6() {
-
action_label "DISABLING IPV6"
-
if test -f /etc/debian_version; then
-
if ! grep "net.ipv6.conf.all.disable_ipv6" /etc/sysctl.conf; then
-
echo "net.ipv6.conf.all.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf
-
echo "net.ipv6.conf.default.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf
-
echo "net.ipv6.conf.lo.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf
-
sudo sysctl -p
-
else
-
echo "IPv6 already disabled."
-
fi
-
elif test -f /etc/redhat-release; then
-
if ! sudo grep "ipv6.disable=1" /boot/grub2/grub.cfg; then
-
sudo grubby --args=ipv6.disable=1 --update-kernel=ALL
-
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
-
else
-
echo "IPv6 already disabled."
-
fi
-
fi
-
}
-
-
function build_bat_cache() {
-
action_label "BUILDING BAT CACHE"
-
if test -f /etc/debian_version; then
-
batcat cache --build
-
elif test -f /etc/redhat-release; then
-
bat cache --build
-
fi
-
}
-
-
# Depends: install_packages
-
function update_tealdeer_cache() {
-
action_label "UPDATING TEALDEER CACHE"
-
tldr --update
-
}
-
-
# Depends: install_tailscale
-
function setup_firewalld() {
-
action_label "SETTING UP FIREWALLD"
-
if ! sudo firewall-cmd --get-zones | grep "tailnet"; then
-
sudo firewall-cmd --permanent --new-zone=tailnet
-
sudo firewall-cmd --permanent --zone=tailnet --add-interface=tailscale0
-
sudo firewall-cmd --permanent --zone=tailnet --add-port=1025-65535/tcp
-
sudo firewall-cmd --permanent --zone=tailnet --add-port=1025-65535/udp
-
sudo firewall-cmd --permanent --zone=tailnet --add-service=ssh
-
else
-
echo "firewalld tailnet zone already configured"
-
fi
-
if test -f /etc/debian_version; then
-
sudo firewall-cmd --permanent --zone=public --remove-service={dhcpv6-client,samba-client}
-
elif test -f /etc/redhat-release; then
-
sudo firewall-cmd --permanent --zone=FedoraWorkstation --remove-service={dhcpv6-client,samba-client}
-
fi
-
sudo firewall-cmd --reload
-
}
-
-
function install_rclone() {
-
action_label "INSTALLING LATEST RCLONE"
-
curl https://rclone.org/install.sh | sudo bash
-
command -v rclone
-
}
-
-
install_packages
-
install_charm_packages
-
install_tailscale
-
-
if test -f /etc/redhat-release; then
-
enable_flathub
-
install_flatpaks
-
setup_networkd_conf
-
fi
-
-
install_pipx_packages
-
setup_resolv_conf
-
setup_rsyslog_conf
-
disable_services
-
enable_services
-
disable_ipv6
-
build_bat_cache
-
update_tealdeer_cache
-
setup_firewalld
-
install_rclone
-
-
action_label "DONE SETTING UP ALL THE THINGS ^_^"
···
-166
just/.justfile
···
-
# justfile for common household tasks
-
-
dotfiles_repo := "/home/jas/repos/git.hyperreal.coffee/hyperreal/dotfiles"
-
homedir := "/home/jas"
-
configdir := "/home/jas/.config"
-
localshare := "/home/jas/.local/share"
-
-
copy-eso-screenshots:
-
rsync -aAXP "/home/jas/.steam/steam/steamapps/compatdata/306130/pfx/drive_c/users/steamuser/Documents/Elder Scrolls Online/live/Screenshots/" /home/jas/Nextcloud/pictures/eso_screenshots
-
-
refresh-doom-emacs:
-
rm -rf {{configdir}}/emacs
-
git clone --depth 1 https://github.com/doomemacs/doomemacs {{configdir}}/emacs
-
{{configdir}}/emacs/bin/doom install --force --verbose
-
-
link-dotfiles:
-
#!/usr/bin/env bash
-
rm -rfv {{configdir}}/xfce4
-
-
rm -rfv {{configdir}}/nvim
-
ln -sf {{dotfiles_repo}}/config/nvim {{configdir}}/
-
-
rm -fv {{homedir}}/.justfile
-
ln -sf {{dotfiles_repo}}/just/.justfile {{homedir}}/.justfile
-
-
rm -fv {{homedir}}/.taskrc
-
ln -sf {{dotfiles_repo}}/task/.taskrc {{homedir}}/.taskrc
-
-
rm -fv {{homedir}}/.zshrc
-
ln -sf {{dotfiles_repo}}/zsh/.zshrc {{homedir}}/.zshrc
-
-
rm -rfv {{homedir}}/.zshrc.d
-
ln -sf {{dotfiles_repo}}/zsh/.zshrc.d {{homedir}}/.zshrc.d
-
-
rm -rfv {{configdir}}/bat
-
ln -sf {{dotfiles_repo}}/config/bat {{configdir}}/
-
-
rm -rfv {{configdir}}/git
-
ln -sf {{dotfiles_repo}}/config/git {{configdir}}/
-
-
rm -rfv {{configdir}}/newsboat
-
ln -sf {{dotfiles_repo}}/config/newsboat {{configdir}}/
-
-
rm -rfv {{configdir}}/rofi
-
ln -sf {{dotfiles_repo}}/config/rofi {{configdir}}/
-
-
rm -fv {{configdir}}/starship.toml
-
ln -sf {{dotfiles_repo}}/config/starship.toml {{configdir}}/starship.toml
-
-
rm -rfv {{configdir}}/zellij
-
ln -sf {{dotfiles_repo}}/config/zellij {{configdir}}/
-
-
clean-dotfiles:
-
rm -fv {{homedir}}/.justfile
-
rm -rfv {{homedir}}/.doom.d
-
rm -fv {{homedir}}/.zshrc
-
rm -rfv {{homedir}}/.zshrc.d
-
rm -rfv {{configdir}}/bat
-
rm -rfv {{configdir}}/git
-
rm -rfv {{configdir}}/newsboat
-
rm -rfv {{configdir}}/rofi
-
rm -fv {{configdir}}/starship.toml
-
rm -rfv {{configdir}}/xfce4
-
rm -rfv {{configdir}}/zellij
-
-
dl-catppuccin-xfce4-term:
-
mkdir -p {{localshare}}/xfce4/terminal/colorschemes
-
wget https://files.hyperreal.coffee/catppuccin-mocha.theme -O {{localshare}}/xfce4/terminal/colorschemes/catppuccin-mocha.theme
-
-
homebrew-progs:
-
#!/usr/bin/env bash
-
progs=(bat diff-so-fancy duf fastfetch fzf glow gum hugo lnav lsd newsboat nushell starship tealdeer yazi zellij)
-
for i in "${progs[@]}"; do brew install "$i"; done
-
-
brewup:
-
brew update
-
brew upgrade
-
-
go-tools:
-
go install golang.org/x/tools/gopls@latest
-
go install github.com/fatih/gomodifytags@latest
-
go install github.com/cweill/gotests/...@latest
-
go install github.com/x-motemen/gore/cmd/gore@latest
-
go install golang.org/x/tools/cmd/guru@latest
-
go install github.com/themimitoof/ipg@latest
-
go install github.com/sigstore/cosign/v2/cmd/cosign@latest
-
-
python-tools:
-
pipx install --include-deps ansible --force
-
pipx install black --force
-
pipx install bpython --force
-
pipx install pyflakes --force
-
pipx install isort --force
-
pipx install pipenv --force
-
pipx install nose --force
-
pipx install pytest --force
-
pipx install uv --force
-
pipx install qbt-helper --force
-
pipx install get-def --force
-
pipx install print-wp-sources --force
-
pipx install dl-sh-source --force
-
pipx install dl-wp-pdf --force
-
pipx inject bpython bs4
-
pipx inject bpython requests
-
pipx inject bpython rich
-
pipx inject bpython qbittorrent-api
-
-
webdev-tools:
-
sudo npm install -g @bitwarden/cli
-
sudo npm install -g @catppuccin/inkcat
-
sudo npm install -g doctoc
-
sudo npm install -g prettier
-
sudo npm install -g js-beautify
-
sudo npm install -g stylelint
-
sudo apt install -y tidy || sudo dnf install -y tidy
-
-
rustup:
-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
-
-
tailscale:
-
curl -fsSL https://tailscale.com/install.sh | sh
-
sudo tailscale up
-
-
neovim:
-
sudo apt install -y npm
-
git clone https://git.hyperreal.coffee/hyperreal/nvim-config ~/.config/nvim
-
nvim
-
-
neovim-root:
-
sudo apt install -y npm
-
sudo mkdir -p /root/.config
-
sudo git clone https://git.hyperreal.coffee/hyperreal/nvim-config /root/.config/nvim
-
sudo nvim
-
-
xfce4-docklike-plugin:
-
#!/usr/bin/env bash
-
sudo apt install -y build-essential automake autoconf intltool libx11-dev libgio2.0-cil-dev libglib2.0-dev libgtk2.0-dev libgtk-3-dev libwnck-dev libwnck-3-dev libxfce4ui-2-dev libxfce4panel-2.0-dev
-
URL=$(curl --silent "https://api.github.com/repos/davekeogh/xfce4-docklike-plugin/releases/latest" | grep "browser_download_url" | grep "\.tar.gz" | cut -d : -f 2,3 | tr -d '" ')
-
FILENAME=$(echo "$URL" | cut -d / -f 9)
-
BASENAME=$(basename -s .tar.gz "$FILENAME")
-
cd ~/downloads
-
wget "$URL"
-
tar xvf "$FILENAME"
-
cd "$BASENAME"
-
./configure
-
make
-
sudo make install
-
cd ..
-
rm -rf "$BASENAME"*
-
-
install-taskwarrior:
-
#!/usr/bin/env bash
-
URL=$(curl --silent "https://api.github.com/repos/GothenburgBitFactory/taskwarrior/releases/latest" | grep "browser_download_url" | grep "tar.gz" | cut -d : -f 2,3 | tr -d '" ' | head -1)
-
wget "$URL"
-
FILENAME=$(basename $URL .tar.gz)
-
tar xvf task-*.tar.gz
-
cd "$FILENAME"
-
sudo dnf install -y cmake libuuid-devel rustup
-
if ! command -v rustc; then
-
rustup-init -y
-
fi
-
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
-
cmake --build build
-
sudo cmake --install build
-
cd ..
-
rm -rf task*
···
-39
task/.taskrc
···
-
# [Created by task 3.4.1 5/9/2025 15:15:16]
-
data.location=/home/jas/Nextcloud/task
-
news.version=3.4.1
-
-
# To use the default location of the XDG directories,
-
# move this configuration file from ~/.taskrc to ~/.config/task/taskrc and update location config as follows:
-
-
#data.location=~/.local/share/task
-
#hooks.location=~/.config/task/hooks
-
-
# Color theme (uncomment one to use)
-
#include light-16.theme
-
#include light-256.theme
-
#include bubblegum-256.theme
-
include dark-16.theme
-
#include dark-256.theme
-
#include dark-red-256.theme
-
#include dark-green-256.theme
-
#include dark-blue-256.theme
-
#include dark-violets-256.theme
-
#include dark-yellow-green.theme
-
#include dark-gray-256.theme
-
#include dark-gray-blue-256.theme
-
#include solarized-dark-256.theme
-
#include solarized-light-256.theme
-
#include no-color.theme
-
-
uda.reviewed.type=date
-
uda.reviewed.label=Reviewed
-
color.project.computing=green
-
color=on
-
color.project.feels=magenta
-
color.project.tilde.team=cyan
-
color.project.reading=yellow
-
color.alternate=black
-
color.project.self-care=blue
-
color.project.appointments=black on green
-
color.project.releases=black on magenta
-
report.list.sort=due+,start-,project+,urgency-
···
+2 -3
zsh/.zshrc
···
export MANPAGER="less -FRX"
export BAT_PAGER="less -FRX"
export BAT_STYLE="plain"
-
export EVLOG_DIR="${HOME}/Nextcloud/evlogs"
export EDITOR="nvim"
# Have less display colours
···
function newfeelslog() {
DATE=$(date '+%Y-%m-%d')
TAGS="$@"
-
FEELSDIR="${HOME}/Nextcloud/sites/feels.hyperreal.coffee"
PREV_ENTRY=$(find "$FEELSDIR/src" -name "*.md" -exec basename {} \; | sort | tail -1 | cut -c 18-21)
NEXT_ENTRY="00$(echo "$PREV_ENTRY" + "1" | bc)"
NEXT_ENTRY_FILENAME="${FEELSDIR}/src/${DATE}-entry-${NEXT_ENTRY}.md"
···
EOF
$EDITOR "$NEXT_ENTRY_FILENAME"
-
cd "${HOME}/Nextcloud/sites"
}
···
export MANPAGER="less -FRX"
export BAT_PAGER="less -FRX"
export BAT_STYLE="plain"
export EDITOR="nvim"
# Have less display colours
···
function newfeelslog() {
DATE=$(date '+%Y-%m-%d')
TAGS="$@"
+
FEELSDIR="${HOME}/nextcloud/sites/feels.hyperreal.coffee"
PREV_ENTRY=$(find "$FEELSDIR/src" -name "*.md" -exec basename {} \; | sort | tail -1 | cut -c 18-21)
NEXT_ENTRY="00$(echo "$PREV_ENTRY" + "1" | bc)"
NEXT_ENTRY_FILENAME="${FEELSDIR}/src/${DATE}-entry-${NEXT_ENTRY}.md"
···
EOF
$EDITOR "$NEXT_ENTRY_FILENAME"
+
cd "${HOME}/nextcloud/sites"
}