Compare commits
7 Commits
1f5c054f3e
...
0a849b8fe1
| Author | SHA1 | Date | |
|---|---|---|---|
| 0a849b8fe1 | |||
| 64b12d7aec | |||
| 4f300e3e2c | |||
| 478b23d8d6 | |||
| 42d4094649 | |||
| 53cccaecbc | |||
| 838196ea10 |
123
home/.config/delta/themes/catppuccin.gitconfig
Normal file
123
home/.config/delta/themes/catppuccin.gitconfig
Normal file
@@ -0,0 +1,123 @@
|
||||
[delta "catppuccin-latte"]
|
||||
blame-palette = "#eff1f5 #e6e9ef #dce0e8 #ccd0da #bcc0cc"
|
||||
commit-decoration-style = "#9ca0b0" bold box ul
|
||||
light = true
|
||||
file-decoration-style = "#9ca0b0"
|
||||
file-style = "#4c4f69"
|
||||
hunk-header-decoration-style = "#9ca0b0" box ul
|
||||
hunk-header-file-style = bold
|
||||
hunk-header-line-number-style = bold "#6c6f85"
|
||||
hunk-header-style = file line-number syntax
|
||||
line-numbers-left-style = "#9ca0b0"
|
||||
line-numbers-minus-style = bold "#d20f39"
|
||||
line-numbers-plus-style = bold "#40a02b"
|
||||
line-numbers-right-style = "#9ca0b0"
|
||||
line-numbers-zero-style = "#9ca0b0"
|
||||
# 35% red 65% base
|
||||
minus-emph-style = bold syntax "#e5a2b3"
|
||||
# 20% red 80% base
|
||||
minus-style = syntax "#e9c4cf"
|
||||
# 35% green 65% base
|
||||
plus-emph-style = bold syntax "#b2d5ae"
|
||||
# 20% green 80% base
|
||||
plus-style = syntax "#cce1cd"
|
||||
map-styles = \
|
||||
bold purple => syntax "#cbb1f2", \
|
||||
bold blue => syntax "#a6c1f5", \
|
||||
bold cyan => syntax "#9dd7ef", \
|
||||
bold yellow => syntax "#eacfa9"
|
||||
# Should match the name of the bat theme
|
||||
syntax-theme = Catppuccin Latte
|
||||
|
||||
[delta "catppuccin-frappe"]
|
||||
blame-palette = "#303446 #292c3c #232634 #414559 #51576d"
|
||||
commit-decoration-style = "#737994" bold box ul
|
||||
dark = true
|
||||
file-decoration-style = "#737994"
|
||||
file-style = "#c6d0f5"
|
||||
hunk-header-decoration-style = "#737994" box ul
|
||||
hunk-header-file-style = bold
|
||||
hunk-header-line-number-style = bold "#a5adce"
|
||||
hunk-header-style = file line-number syntax
|
||||
line-numbers-left-style = "#737994"
|
||||
line-numbers-minus-style = bold "#e78284"
|
||||
line-numbers-plus-style = bold "#a6d189"
|
||||
line-numbers-right-style = "#737994"
|
||||
line-numbers-zero-style = "#737994"
|
||||
# 35% red 65% base
|
||||
minus-emph-style = bold syntax "#704f5c"
|
||||
# 20% red 80% base
|
||||
minus-style = syntax "#544452"
|
||||
# 35% green 65% base
|
||||
plus-emph-style = bold syntax "#596b5e"
|
||||
# 20% green 80% base
|
||||
plus-style = syntax "#475453"
|
||||
map-styles = \
|
||||
bold purple => syntax "#66597e", \
|
||||
bold blue => syntax "#505d81", \
|
||||
bold cyan => syntax "#546b7a", \
|
||||
bold yellow => syntax "#6f6860"
|
||||
# Should match the name of the bat theme
|
||||
syntax-theme = Catppuccin Frappe
|
||||
|
||||
[delta "catppuccin-macchiato"]
|
||||
blame-palette = "#24273a #1e2030 #181926 #363a4f #494d64"
|
||||
commit-decoration-style = "#6e738d" bold box ul
|
||||
dark = true
|
||||
file-decoration-style = "#6e738d"
|
||||
file-style = "#cad3f5"
|
||||
hunk-header-decoration-style = "#6e738d" box ul
|
||||
hunk-header-file-style = bold
|
||||
hunk-header-line-number-style = bold "#a5adcb"
|
||||
hunk-header-style = file line-number syntax
|
||||
line-numbers-left-style = "#6e738d"
|
||||
line-numbers-minus-style = bold "#ed8796"
|
||||
line-numbers-plus-style = bold "#a6da95"
|
||||
line-numbers-right-style = "#6e738d"
|
||||
line-numbers-zero-style = "#6e738d"
|
||||
# 35% red 65% base
|
||||
minus-emph-style = bold syntax "#6a485a"
|
||||
# 20% red 80% base
|
||||
minus-style = syntax "#4c3a4c"
|
||||
# 35% green 65% base
|
||||
plus-emph-style = bold syntax "#51655a"
|
||||
# 20% green 80% base
|
||||
plus-style = syntax "#3e4b4c"
|
||||
map-styles = \
|
||||
bold purple => syntax "#5c517c", \
|
||||
bold blue => syntax "#47557b", \
|
||||
bold cyan => syntax "#4a6475", \
|
||||
bold yellow => syntax "#6a635d"
|
||||
# Should match the name of the bat theme
|
||||
syntax-theme = Catppuccin Macchiato
|
||||
|
||||
[delta "catppuccin-mocha"]
|
||||
blame-palette = "#1e1e2e #181825 #11111b #313244 #45475a"
|
||||
commit-decoration-style = "#6c7086" bold box ul
|
||||
dark = true
|
||||
file-decoration-style = "#6c7086"
|
||||
file-style = "#cdd6f4"
|
||||
hunk-header-decoration-style = "#6c7086" box ul
|
||||
hunk-header-file-style = bold
|
||||
hunk-header-line-number-style = bold "#a6adc8"
|
||||
hunk-header-style = file line-number syntax
|
||||
line-numbers-left-style = "#6c7086"
|
||||
line-numbers-minus-style = bold "#f38ba8"
|
||||
line-numbers-plus-style = bold "#a6e3a1"
|
||||
line-numbers-right-style = "#6c7086"
|
||||
line-numbers-zero-style = "#6c7086"
|
||||
# 35% red 65% base
|
||||
minus-emph-style = bold syntax "#694559"
|
||||
# 20% red 80% base
|
||||
minus-style = syntax "#493447"
|
||||
# 35% green 65% base
|
||||
plus-emph-style = bold syntax "#4e6356"
|
||||
# 20% green 80% base
|
||||
plus-style = syntax "#394545"
|
||||
map-styles = \
|
||||
bold purple => syntax "#5b4e74", \
|
||||
bold blue => syntax "#445375", \
|
||||
bold cyan => syntax "#446170", \
|
||||
bold yellow => syntax "#6b635b"
|
||||
# Should match the name of the bat theme
|
||||
syntax-theme = Catppuccin Mocha
|
||||
1
home/.config/fish/completions/pandoc.fish
Normal file
1
home/.config/fish/completions/pandoc.fish
Normal file
@@ -0,0 +1 @@
|
||||
complete -c pandoc -f -a '(string match -r ".*\\.md\$" -- (ls))'
|
||||
7
home/.config/fish/functions/pandoc.fish
Normal file
7
home/.config/fish/functions/pandoc.fish
Normal file
@@ -0,0 +1,7 @@
|
||||
function pandoc -d "Convert a markdown file to docx using pandoc in podman" -a input
|
||||
set -l output (string replace -r '\.md$' '.docx' $input)
|
||||
|
||||
podman run --rm -v "$(pwd):/data:z" \
|
||||
--userns keep-id:uid=1000,gid=1000 \
|
||||
pandoc/core:3.8-alpine --from markdown --to docx -o "/data/$output" "/data/$input"
|
||||
end
|
||||
4
home/.config/fish/functions/record.fish
Normal file
4
home/.config/fish/functions/record.fish
Normal file
@@ -0,0 +1,4 @@
|
||||
function record -d "Capture a screen recording with no audio"
|
||||
wf-recorder -c libopenh264 --no-audio -g "$(slurp)" -f output.mp4
|
||||
end
|
||||
|
||||
7
home/.config/fish/functions/reencode.fish
Normal file
7
home/.config/fish/functions/reencode.fish
Normal file
@@ -0,0 +1,7 @@
|
||||
function reencode -d "Re-encode a video to VBR with no audio" -a input
|
||||
set -l name (string replace -r '\.[^.]+$' '' $input)
|
||||
set -l ext (string replace -r '.*\.' '' $input)
|
||||
set -l output "$name-reenc.$ext"
|
||||
|
||||
ffmpeg -i $input -c:v libopenh264 -crf 23 -preset slow -an $output
|
||||
end
|
||||
@@ -7,6 +7,9 @@ promptToReturnFromSubprocess: false # removes "press enter to return to lazygit"
|
||||
notARepository: 'skip'
|
||||
git:
|
||||
autoForwardBranches: "none"
|
||||
pagers:
|
||||
- pager: delta --paging=never --line-numbers --hyperlinks --hyperlinks-file-link-format="lazygit-edit://{path}:{line}"
|
||||
- pager: delta --paging=never --line-numbers --no-gitconfig --light
|
||||
os:
|
||||
editPreset: "nvim"
|
||||
gui:
|
||||
|
||||
@@ -243,6 +243,9 @@ bindsym $mod+Shift+s exec grim -c -g "$(slurp)" - | satty --early-exit --output-
|
||||
# Possible fix for using web clipper.
|
||||
for_window [class="obsidian"] focus_on_window_activation focus
|
||||
|
||||
# Handy transcribing
|
||||
bindsym $mod+o exec handy --toggle-transcription
|
||||
|
||||
#
|
||||
# Theme
|
||||
#
|
||||
|
||||
@@ -57,7 +57,12 @@
|
||||
mnemonicPrefix = true
|
||||
renames = true
|
||||
|
||||
[include]
|
||||
path = /home/tgrosinger/.config/delta/themes/catppuccin.gitconfig
|
||||
|
||||
[delta]
|
||||
# Does not behave well for comments
|
||||
#features = catppuccin-latte
|
||||
navigate = true
|
||||
light = true
|
||||
side-by-side = true
|
||||
@@ -93,3 +98,8 @@
|
||||
|
||||
[init]
|
||||
defaultBranch = main
|
||||
[filter "lfs"]
|
||||
clean = git-lfs clean -- %f
|
||||
smudge = git-lfs smudge -- %f
|
||||
process = git-lfs filter-process
|
||||
required = true
|
||||
|
||||
@@ -6,6 +6,13 @@ echo "Installing homebrew"
|
||||
|
||||
# NOTE: Do not brew install anything with a dependency on node.
|
||||
# Instead, install with npm -g.
|
||||
#
|
||||
# NPM configured with a different home directory to avoid conflicting with devbox global.
|
||||
#
|
||||
# npm config set prefix $HOME/.npm-global
|
||||
# fish_add_path $HOME/.npm-global/bin
|
||||
# npm install -g @anthropic-ai/sandbox-runtime
|
||||
#
|
||||
|
||||
brew install \
|
||||
anomalyco/tap/opencode \
|
||||
@@ -30,7 +37,6 @@ brew install \
|
||||
stow \
|
||||
tmux
|
||||
#crane \
|
||||
#deno \
|
||||
#go \
|
||||
#gron \
|
||||
#hadolint \
|
||||
@@ -47,12 +53,10 @@ brew services start atuin
|
||||
#npm install -g mjml
|
||||
#npm install -g jsonlint
|
||||
|
||||
# Install ble.sh
|
||||
# https://github.com/akinomyoga/ble.sh
|
||||
|
||||
# Install system packages
|
||||
sudo dnf install \
|
||||
alacritty \
|
||||
bubblewrap \
|
||||
copyq \
|
||||
direnv \
|
||||
distrobox \
|
||||
@@ -62,6 +66,7 @@ sudo dnf install \
|
||||
podman \
|
||||
qalculate qalculate-gtk \ # Homebrew version installs x11 and waylany in brew.
|
||||
slurp \
|
||||
socat \
|
||||
wf-recorder
|
||||
|
||||
# Install tailscale
|
||||
|
||||
Reference in New Issue
Block a user