wassupdate
This commit is contained in:
parent
60cb973ba3
commit
7fd373c09c
8
config/.config/ghostty/config
Normal file
8
config/.config/ghostty/config
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
font-family = "JetBrainsMono Nerd Font Mono"
|
||||||
|
theme = "catppuccin-mocha"
|
||||||
|
clipboard-read = allow
|
||||||
|
clipboard-write = allow
|
||||||
|
clipboard-trim-trailing-spaces = true
|
||||||
|
clipboard-paste-protection = false
|
||||||
|
term = xterm-256color
|
||||||
|
window-decoration = false
|
@ -16,9 +16,6 @@
|
|||||||
(setq projectile-project-root-files-bottom-up
|
(setq projectile-project-root-files-bottom-up
|
||||||
(remove ".git" projectile-project-root-files-bottom-up)))
|
(remove ".git" projectile-project-root-files-bottom-up)))
|
||||||
|
|
||||||
;; start with maximized frame
|
|
||||||
(add-to-list 'default-frame-alist '(fullscreen . maximized))
|
|
||||||
|
|
||||||
;; Set fonts
|
;; Set fonts
|
||||||
(setq fontsize 18)
|
(setq fontsize 18)
|
||||||
(setq monofontfam "JetBrainsMono Nerd Font Mono")
|
(setq monofontfam "JetBrainsMono Nerd Font Mono")
|
||||||
@ -298,6 +295,10 @@ If point was already at that position, move point to beginning of line."
|
|||||||
(global-set-key (kbd "C-c C-d") #'helpful-at-point)
|
(global-set-key (kbd "C-c C-d") #'helpful-at-point)
|
||||||
|
|
||||||
|
|
||||||
|
;;;; use bufler instead of IBuffer
|
||||||
|
(global-set-key (kbd "C-x C-b") #'bufler-list)
|
||||||
|
|
||||||
|
|
||||||
;;;; dictionary
|
;;;; dictionary
|
||||||
|
|
||||||
(global-set-key (kbd "C-c l") #'dictionary-lookup-definition)
|
(global-set-key (kbd "C-c l") #'dictionary-lookup-definition)
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
;(package! some-package)
|
;(package! some-package)
|
||||||
(package! apheleia)
|
(package! apheleia)
|
||||||
(package! autothemer)
|
(package! autothemer)
|
||||||
|
(package! bufler)
|
||||||
(package! casual)
|
(package! casual)
|
||||||
(package! catppuccin-theme)
|
(package! catppuccin-theme)
|
||||||
(package! dockerfile-mode)
|
(package! dockerfile-mode)
|
||||||
|
@ -1,15 +1,9 @@
|
|||||||
# justfile for common household tasks
|
# justfile for common household tasks
|
||||||
|
|
||||||
dotfiles_repo := "/home/jas/repos/codeberg.org/hyperreal/dotfiles"
|
dotfiles_repo := "/home/jas/repos/git.hyperreal.coffee/hyperreal/dotfiles"
|
||||||
homedir := "/home/jas"
|
homedir := "/home/jas"
|
||||||
configdir := "/home/jas/.config"
|
configdir := "/home/jas/.config"
|
||||||
|
|
||||||
to-laptop:
|
|
||||||
rsync -aAXP {{homedir}}/sync/ jas@laptop.lyrebird-marlin.ts.net:/home/jas/sync
|
|
||||||
|
|
||||||
to-desktop:
|
|
||||||
rsync -aAXP {{homedir}}/sync/ jas@desktop.lyrebird-marlin.ts.net:/home/jas/sync
|
|
||||||
|
|
||||||
refresh-doom-emacs:
|
refresh-doom-emacs:
|
||||||
rm -rf {{configdir}}/emacs
|
rm -rf {{configdir}}/emacs
|
||||||
git clone --depth 1 https://github.com/doomemacs/doomemacs {{configdir}}/emacs
|
git clone --depth 1 https://github.com/doomemacs/doomemacs {{configdir}}/emacs
|
||||||
@ -22,6 +16,7 @@ deploy-dotfiles:
|
|||||||
cp -rfv {{dotfiles_repo}}/zsh/.zshrc.d {{homedir}}
|
cp -rfv {{dotfiles_repo}}/zsh/.zshrc.d {{homedir}}
|
||||||
cp -rfv {{dotfiles_repo}}/config/.config/bat {{configdir}}
|
cp -rfv {{dotfiles_repo}}/config/.config/bat {{configdir}}
|
||||||
cp -rfv {{dotfiles_repo}}/config/.config/git {{configdir}}
|
cp -rfv {{dotfiles_repo}}/config/.config/git {{configdir}}
|
||||||
|
cp -rfv {{dotfiles_repo}}/config/.config/ghostty {{configdir}}
|
||||||
cp -fv {{dotfiles_repo}}/config/.config/starship.toml {{configdir}}
|
cp -fv {{dotfiles_repo}}/config/.config/starship.toml {{configdir}}
|
||||||
cp -rfv {{dotfiles_repo}}/config/.config/zellij {{configdir}}
|
cp -rfv {{dotfiles_repo}}/config/.config/zellij {{configdir}}
|
||||||
|
|
||||||
@ -32,6 +27,7 @@ save-dotfiles:
|
|||||||
cp -rfv {{homedir}}/.zshrc.d {{dotfiles_repo}}/zsh/
|
cp -rfv {{homedir}}/.zshrc.d {{dotfiles_repo}}/zsh/
|
||||||
cp -rfv {{configdir}}/bat {{dotfiles_repo}}/config/.config/
|
cp -rfv {{configdir}}/bat {{dotfiles_repo}}/config/.config/
|
||||||
cp -rfv {{configdir}}/git {{dotfiles_repo}}/config/.config/
|
cp -rfv {{configdir}}/git {{dotfiles_repo}}/config/.config/
|
||||||
|
cp -rfv {{configdir}}/ghostty {{dotfiles_repo}}/config/.config/
|
||||||
cp -fv {{configdir}}/starship.toml {{dotfiles_repo}}/config/.config/
|
cp -fv {{configdir}}/starship.toml {{dotfiles_repo}}/config/.config/
|
||||||
cp -rfv {{configdir}}/zellij {{dotfiles_repo}}/config/.config/
|
cp -rfv {{configdir}}/zellij {{dotfiles_repo}}/config/.config/
|
||||||
|
|
||||||
@ -42,20 +38,10 @@ clean-dotfiles:
|
|||||||
rm -rfv {{homedir}}/.zshrc.d
|
rm -rfv {{homedir}}/.zshrc.d
|
||||||
rm -rfv {{configdir}}/bat
|
rm -rfv {{configdir}}/bat
|
||||||
rm -rfv {{configdir}}/git
|
rm -rfv {{configdir}}/git
|
||||||
|
rm -rfv {{configdir}}/ghostty
|
||||||
rm -fv {{configdir}}/starship.toml
|
rm -fv {{configdir}}/starship.toml
|
||||||
rm -rfv {{configdir}}/zellij
|
rm -rfv {{configdir}}/zellij
|
||||||
|
|
||||||
dust:
|
|
||||||
#!/usr/bin/env bash
|
|
||||||
set -euo pipefail
|
|
||||||
dl_url=$(curl -s "https://api.github.com/repos/bootandy/dust/releases/latest" | jq '.assets.[].browser_download_url' | grep "x86_64-unknown-linux-gnu.tar.gz" | tr -d '"')
|
|
||||||
wget "$dl_url"
|
|
||||||
filename=$(basename -s .tar.gz dust*)
|
|
||||||
tar xvf "${filename}.tar.gz"
|
|
||||||
sudo cp -v "${filename}/dust" /usr/local/bin/
|
|
||||||
sudo chown root:root /usr/local/bin/dust
|
|
||||||
rm -rf "$filename" "${filename}.tar.gz"
|
|
||||||
|
|
||||||
go-tools:
|
go-tools:
|
||||||
go install golang.org/x/tools/gopls@latest
|
go install golang.org/x/tools/gopls@latest
|
||||||
go install github.com/fatih/gomodifytags@latest
|
go install github.com/fatih/gomodifytags@latest
|
||||||
@ -76,9 +62,12 @@ python-tools:
|
|||||||
pipx install get-def --force
|
pipx install get-def --force
|
||||||
pipx install print-links --force
|
pipx install print-links --force
|
||||||
pipx install print-wp-sources --force
|
pipx install print-wp-sources --force
|
||||||
|
pipx install get-def --force
|
||||||
|
pipx install dl-sh-source --force
|
||||||
|
pipx install dl-wp-pdf --force
|
||||||
|
pipx install bpython bs4
|
||||||
pipx inject bpython requests
|
pipx inject bpython requests
|
||||||
pipx inject bpython rich
|
pipx inject bpython rich
|
||||||
pipx inject bpython ollama
|
|
||||||
pipx inject bpython qbittorrent-api
|
pipx inject bpython qbittorrent-api
|
||||||
|
|
||||||
webdev-tools:
|
webdev-tools:
|
||||||
@ -86,24 +75,11 @@ webdev-tools:
|
|||||||
sudo npm install -g prettier
|
sudo npm install -g prettier
|
||||||
sudo npm install -g js-beautify
|
sudo npm install -g js-beautify
|
||||||
sudo npm install -g stylelint
|
sudo npm install -g stylelint
|
||||||
sudo dnf install -y tidy || sudo apt install -y tidy
|
sudo apt install -y tidy
|
||||||
|
|
||||||
rustup:
|
rustup:
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||||
|
|
||||||
devilspie2:
|
|
||||||
#!/usr/bin/env bash
|
|
||||||
set -euo pipefail
|
|
||||||
dl_url=$(curl --silent "https://api.github.com/repos/dsalt/devilspie2/releases/latest" | grep "tarball_url" | cut -d : -f 2,3 | tr -d '", ')
|
|
||||||
wget "$dl_url" -O "$(basename $dl_url).tar.gz"
|
|
||||||
filename="$(basename $dl_url).tar.gz"
|
|
||||||
tar xvf "$filename"
|
|
||||||
sudo dnf install -y glib2-devel lua-devel libwnck3-devel '@c-development' '@development-tools'
|
|
||||||
cd dsalt-devilspie2*
|
|
||||||
make
|
|
||||||
sudo make install
|
|
||||||
rm -rf "$filename" dsalt-devilspie2*
|
|
||||||
|
|
||||||
tailscale:
|
tailscale:
|
||||||
curl -fsSL https://tailscale.com/install.sh | sh
|
curl -fsSL https://tailscale.com/install.sh | sh
|
||||||
sudo tailscale up
|
sudo tailscale up
|
||||||
@ -114,6 +90,7 @@ neovim:
|
|||||||
|
|
||||||
mkdir -p "${HOME}/.config/nvim"
|
mkdir -p "${HOME}/.config/nvim"
|
||||||
wget https://files.hyperreal.coffee/init.vim -O "${HOME}/.config/nvim/init.vim"
|
wget https://files.hyperreal.coffee/init.vim -O "${HOME}/.config/nvim/init.vim"
|
||||||
|
nvim +PlugInstall +q +q
|
||||||
|
|
||||||
neovim-root:
|
neovim-root:
|
||||||
sudo sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
|
sudo sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
|
||||||
@ -121,3 +98,4 @@ neovim-root:
|
|||||||
|
|
||||||
sudo mkdir -p /root/.config/nvim
|
sudo mkdir -p /root/.config/nvim
|
||||||
sudo wget https://files.hyperreal.coffee/init.vim -O /root/.config/nvim/init.vim
|
sudo wget https://files.hyperreal.coffee/init.vim -O /root/.config/nvim/init.vim
|
||||||
|
sudo nvim +PlugInstall +q +q
|
||||||
|
@ -57,13 +57,6 @@ function rmknownhosts() {
|
|||||||
rm -v "${HOME}/.ssh/known_hosts"*
|
rm -v "${HOME}/.ssh/known_hosts"*
|
||||||
}
|
}
|
||||||
|
|
||||||
# Empty trash
|
|
||||||
function trsh() {
|
|
||||||
if check_cmd trash-empty; then
|
|
||||||
trash-empty -f
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Copy SSH public key to clipboard (requires wl-copy)
|
# Copy SSH public key to clipboard (requires wl-copy)
|
||||||
function pubkey() {
|
function pubkey() {
|
||||||
cat "${HOME}/.ssh/id_ed25519.pub" | tr -d '\n' | wl-copy
|
cat "${HOME}/.ssh/id_ed25519.pub" | tr -d '\n' | wl-copy
|
||||||
|
Loading…
x
Reference in New Issue
Block a user