Compare commits
65 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2aa8820e86 | |||
| ab961d7006 | |||
| df83eef022 | |||
| 16fddec80c | |||
| 46ac775d64 | |||
| 10f10df3d3 | |||
| bbffda2ec8 | |||
| 04eb39ce33 | |||
| fc8a72ebaf | |||
| e13204586c | |||
| 406f904367 | |||
| 8a03de58b9 | |||
| 0c1bbf2724 | |||
| a13b62b983 | |||
| 16085ea510 | |||
| 0751521ea9 | |||
| 5fe9887fd1 | |||
| 008be8a351 | |||
| 03a7c0ef5d | |||
| e7409b1f7d | |||
| 936b4489c1 | |||
| 7ed4daa6d8 | |||
| 092d39ca40 | |||
| d663d0a73b | |||
| 62973120bb | |||
| 8a6fff09a9 | |||
| db86e8770e | |||
| 647e39b5cf | |||
| 9e3c50f60b | |||
| 1395146661 | |||
| 87ed7f3527 | |||
| 2e856516aa | |||
| 3d32dea385 | |||
| 334815816a | |||
| 9f65bc30c8 | |||
| e79633362e | |||
| 88ab0c75e4 | |||
| e49b11da27 | |||
| 37d14d3e7c | |||
| f79772f85f | |||
| ad38badb04 | |||
| 9165e6dad8 | |||
| 1bbd7f5e6c | |||
| 010f692b41 | |||
| cc1b5ae9c7 | |||
| 070750b7c8 | |||
| 4a28478156 | |||
| 6fb63aa116 | |||
| b307fab0f2 | |||
| 9292773c26 | |||
| d3ad5d4b5d | |||
| f64c2d39c5 | |||
| 3e630c4c4f | |||
| d30af24cae | |||
| d9b6fdfc1b | |||
| 6fcf9ba919 | |||
| 3b95857d2d | |||
| 7a7c647c22 | |||
| f0510126ba | |||
| 3a929aab14 | |||
| 30847ce7ab | |||
| e04f3e0fb8 | |||
| b419ec8f9f | |||
| 9401989d52 | |||
| 99c753d335 |
2
.chezmoi.toml.tmpl
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
[diff]
|
||||||
|
reverse = true
|
||||||
4
.chezmoiexternal.toml
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
[".tmux/plugins/tpm"]
|
||||||
|
type = "git-repo"
|
||||||
|
url = "https://github.com/tmux-plugins/tpm"
|
||||||
|
refreshPeriod = "168h"
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
../.vim
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
/home/barak/.config/systemd/user/ssh-agent.service
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
/home/barak/.config/fontconfig/fonts.conf
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
/home/barak/.fonts
|
|
||||||
1
.nvim
|
|
@ -1 +0,0 @@
|
||||||
.vim
|
|
||||||
1
.nvimrc
|
|
@ -1 +0,0 @@
|
||||||
.vimrc
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
||||||
require('lsp-progress').setup({
|
|
||||||
|
|
||||||
})
|
|
||||||
|
|
||||||
local config = {
|
|
||||||
sections = {
|
|
||||||
lualine_c = {
|
|
||||||
'filename',
|
|
||||||
function()
|
|
||||||
return require('lsp-progress').progress()
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
lualine_x = {
|
|
||||||
'filetype',
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
--local function ins_left(component)
|
|
||||||
--table.insert(config.sections.lualine_c, component)
|
|
||||||
--end
|
|
||||||
|
|
||||||
--ins_left({
|
|
||||||
--'lsp_progress',
|
|
||||||
--display_components = { 'lsp_client_name', { 'percentage' } }
|
|
||||||
--})
|
|
||||||
|
|
||||||
require('lualine').setup(config)
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
.xinitrc
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
./.zprofile
|
|
||||||
0
bin/ack → bin/executable_ack
Executable file → Normal file
0
bin/average → bin/executable_average
Executable file → Normal file
0
bin/battery → bin/executable_battery
Executable file → Normal file
0
bin/callout → bin/executable_callout
Executable file → Normal file
0
bin/contract → bin/executable_contract
Executable file → Normal file
0
bin/cronic → bin/executable_cronic
Executable file → Normal file
0
bin/gblame → bin/executable_gblame
Executable file → Normal file
22
bin/executable_gocov.sh
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
POSITIONAL=()
|
||||||
|
while [[ $# -gt 0 ]]
|
||||||
|
do
|
||||||
|
key="$1"
|
||||||
|
|
||||||
|
case $key in
|
||||||
|
*) # unknown option
|
||||||
|
POSITIONAL+=("$1") # save it in an array for later
|
||||||
|
shift # past argument
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
set -- "${POSITIONAL[@]}" # restore positional parameters
|
||||||
|
|
||||||
|
FILENAME="${POSITIONAL[0]}"
|
||||||
|
|
||||||
|
go tool cover -html="$FILENAME" -o "$FILENAME.html"
|
||||||
|
elinks "$FILENAME.html"
|
||||||
|
rm "$FILENAME.html"
|
||||||
0
bin/golintc → bin/executable_golintc
Executable file → Normal file
0
bin/orly → bin/executable_orly
Executable file → Normal file
0
bin/pk → bin/executable_pk
Executable file → Normal file
0
bin/theyfightcrime → bin/executable_theyfightcrime
Executable file → Normal file
0
bin/vi → bin/executable_vi
Executable file → Normal file
0
bin/xinput-toggle → bin/executable_xinput-toggle
Executable file → Normal file
BIN
bin/gettermsize
|
|
@ -1 +0,0 @@
|
||||||
./appimage/obsidian.appimage
|
|
||||||
7
bin/rename_git_branch.sh
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
git checkout $1
|
||||||
|
git branch -m $1 $2
|
||||||
|
git fetch
|
||||||
|
git branch --unset-upstream
|
||||||
|
git branch -u origin/$2
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
if [ -n "`which firefox`" ]; then
|
|
||||||
firefox
|
|
||||||
elif [ -n "`which iceweasel`" ]; then
|
|
||||||
iceweasel
|
|
||||||
elif [ -n "`which google-chrome`" ]; then
|
|
||||||
google-chrome
|
|
||||||
else
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
docker run --rm -p 10000:8888 -e JUPYTER_ENABLE_LAB=yes -v "$PWD":/home/jovyan jupyter/datascience-notebook
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
if [ -n "`which alacritty`" ]; then
|
|
||||||
alacritty $@
|
|
||||||
elif [ -n "`which terminator`" ]; then
|
|
||||||
terminator $@
|
|
||||||
elif [ -n "`which gnome-terminal`" ]; then
|
|
||||||
gnome-terminal $@
|
|
||||||
elif [ -n "`which xfce4-terminal`" ]; then
|
|
||||||
xfce4-terminal $@
|
|
||||||
elif [ -n "`which urxvt`" ]; then
|
|
||||||
urxvt $@
|
|
||||||
else
|
|
||||||
xterm $@
|
|
||||||
fi
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
tunnelwrap -i "$HOME/.ssh/id_ed25519" -p 2222 8082:docdav.dav.svc.k8s.barakmich.com:80 barak@barakmich.com "$HOME/local/Zotero_linux-x86_64/zotero"
|
|
||||||
|
|
@ -33,7 +33,19 @@ foreground = "#fffbf6"
|
||||||
TERM = "xterm-256color"
|
TERM = "xterm-256color"
|
||||||
|
|
||||||
[font]
|
[font]
|
||||||
|
{{if eq .chezmoi.hostname "lysander" -}}
|
||||||
|
size = 15.5
|
||||||
|
{{ else if eq .chezmoi.hostname "mercutio" -}}
|
||||||
size = 19.0
|
size = 19.0
|
||||||
|
{{ else if eq .chezmoi.hostname "rosencrantz" -}}
|
||||||
|
size = 15.0
|
||||||
|
{{ else if eq .chezmoi.hostname "altair" -}}
|
||||||
|
size = 22
|
||||||
|
{{ else if eq .chezmoi.hostname "hermia" -}}
|
||||||
|
size = 20.5
|
||||||
|
{{ else -}}
|
||||||
|
size = 19.0
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
[font.bold]
|
[font.bold]
|
||||||
style = "Semi-Condensed"
|
style = "Semi-Condensed"
|
||||||
|
|
@ -72,9 +84,13 @@ key = "U"
|
||||||
mods = "Control|Shift"
|
mods = "Control|Shift"
|
||||||
|
|
||||||
[[hints.enabled]]
|
[[hints.enabled]]
|
||||||
command = "xdg-open"
|
|
||||||
post_processing = true
|
post_processing = true
|
||||||
regex = "(magnet:|mailto:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-<>\"\\s{-}\\^⟨⟩`]+"
|
regex = "(magnet:|mailto:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-<>\"\\s{-}\\^⟨⟩`]+"
|
||||||
|
{{if eq .chezmoi.os "darwin" -}}
|
||||||
|
command = "open"
|
||||||
|
{{ else -}}
|
||||||
|
command = "xdg-open"
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
[hints.enabled.binding]
|
[hints.enabled.binding]
|
||||||
key = "L"
|
key = "L"
|
||||||
|
|
@ -95,12 +111,16 @@ key = "P"
|
||||||
mode = "Vi|~Search"
|
mode = "Vi|~Search"
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
[[keyboard.bindings]]
|
||||||
|
{{if eq .chezmoi.hostname "rosencrantz" -}}
|
||||||
action = "ToggleFullscreen"
|
action = "ToggleFullscreen"
|
||||||
|
{{ else -}}
|
||||||
|
action = "ToggleMaximized"
|
||||||
|
{{ end }}
|
||||||
key = "Return"
|
key = "Return"
|
||||||
mods = "Alt"
|
mods = "Alt"
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
[[keyboard.bindings]]
|
||||||
action = "ToggleFullscreen"
|
action = "ToggleSimpleFullscreen"
|
||||||
key = "Return"
|
key = "Return"
|
||||||
mods = "Command"
|
mods = "Command"
|
||||||
|
|
||||||
|
|
@ -116,6 +136,7 @@ multiplier = 3
|
||||||
[window]
|
[window]
|
||||||
opacity = 0.88
|
opacity = 0.88
|
||||||
startup_mode = "Windowed"
|
startup_mode = "Windowed"
|
||||||
|
option_as_alt = "Both"
|
||||||
#decorations = "None"
|
#decorations = "None"
|
||||||
|
|
||||||
[window.dimensions]
|
[window.dimensions]
|
||||||
|
Before Width: | Height: | Size: 218 KiB After Width: | Height: | Size: 218 KiB |
|
Before Width: | Height: | Size: 262 KiB After Width: | Height: | Size: 262 KiB |
|
Before Width: | Height: | Size: 967 B After Width: | Height: | Size: 967 B |
|
Before Width: | Height: | Size: 997 B After Width: | Height: | Size: 997 B |
|
Before Width: | Height: | Size: 150 B After Width: | Height: | Size: 150 B |
|
Before Width: | Height: | Size: 150 B After Width: | Height: | Size: 150 B |
|
Before Width: | Height: | Size: 158 B After Width: | Height: | Size: 158 B |
|
Before Width: | Height: | Size: 158 B After Width: | Height: | Size: 158 B |
|
Before Width: | Height: | Size: 395 B After Width: | Height: | Size: 395 B |
|
Before Width: | Height: | Size: 388 B After Width: | Height: | Size: 388 B |
|
Before Width: | Height: | Size: 153 B After Width: | Height: | Size: 153 B |
|
Before Width: | Height: | Size: 153 B After Width: | Height: | Size: 153 B |
|
Before Width: | Height: | Size: 160 B After Width: | Height: | Size: 160 B |
|
Before Width: | Height: | Size: 160 B After Width: | Height: | Size: 160 B |
|
Before Width: | Height: | Size: 254 B After Width: | Height: | Size: 254 B |
|
Before Width: | Height: | Size: 254 B After Width: | Height: | Size: 254 B |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 174 B After Width: | Height: | Size: 174 B |
|
Before Width: | Height: | Size: 150 B After Width: | Height: | Size: 150 B |
|
Before Width: | Height: | Size: 165 B After Width: | Height: | Size: 165 B |
|
Before Width: | Height: | Size: 172 B After Width: | Height: | Size: 172 B |
|
Before Width: | Height: | Size: 170 B After Width: | Height: | Size: 170 B |
|
Before Width: | Height: | Size: 152 B After Width: | Height: | Size: 152 B |
|
Before Width: | Height: | Size: 164 B After Width: | Height: | Size: 164 B |
|
Before Width: | Height: | Size: 168 B After Width: | Height: | Size: 168 B |
|
Before Width: | Height: | Size: 370 B After Width: | Height: | Size: 370 B |
|
Before Width: | Height: | Size: 86 B After Width: | Height: | Size: 86 B |
|
Before Width: | Height: | Size: 92 B After Width: | Height: | Size: 92 B |
|
Before Width: | Height: | Size: 345 B After Width: | Height: | Size: 345 B |
|
Before Width: | Height: | Size: 334 B After Width: | Height: | Size: 334 B |
|
Before Width: | Height: | Size: 619 B After Width: | Height: | Size: 619 B |
|
Before Width: | Height: | Size: 658 B After Width: | Height: | Size: 658 B |
|
Before Width: | Height: | Size: 521 B After Width: | Height: | Size: 521 B |
|
Before Width: | Height: | Size: 550 B After Width: | Height: | Size: 550 B |
|
Before Width: | Height: | Size: 667 B After Width: | Height: | Size: 667 B |
|
Before Width: | Height: | Size: 541 B After Width: | Height: | Size: 541 B |
|
Before Width: | Height: | Size: 953 B After Width: | Height: | Size: 953 B |
|
Before Width: | Height: | Size: 720 B After Width: | Height: | Size: 720 B |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 722 B After Width: | Height: | Size: 722 B |
|
Before Width: | Height: | Size: 715 B After Width: | Height: | Size: 715 B |
|
Before Width: | Height: | Size: 657 B After Width: | Height: | Size: 657 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 655 B After Width: | Height: | Size: 655 B |
|
Before Width: | Height: | Size: 833 B After Width: | Height: | Size: 833 B |
|
Before Width: | Height: | Size: 590 B After Width: | Height: | Size: 590 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 603 B After Width: | Height: | Size: 603 B |
50
dot_config/elinks/elinks.conf
Normal file
|
|
@ -0,0 +1,50 @@
|
||||||
|
## ELinks 0.17.0 configuration file
|
||||||
|
|
||||||
|
## This is ELinks configuration file. You can edit it manually,
|
||||||
|
## if you wish so; this file is edited by ELinks when you save
|
||||||
|
## options through UI, however only option values will be altered
|
||||||
|
## and missing options will be added at the end of file; if option
|
||||||
|
## is not written in this file, but in some file included from it,
|
||||||
|
## it is NOT counted as missing. Note that all your formatting,
|
||||||
|
## own comments and so on will be kept as-is.
|
||||||
|
##
|
||||||
|
## Obviously, if you don't like what ELinks is going to do with
|
||||||
|
## this file, you can change it by altering the config.saving_style
|
||||||
|
## option. Come on, aren't we friendly guys after all?
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##############################
|
||||||
|
# Automatically saved options
|
||||||
|
#
|
||||||
|
|
||||||
|
## config
|
||||||
|
# Configuration handling options.
|
||||||
|
|
||||||
|
## config.saving_style_w [0|1]
|
||||||
|
# This is internal option used when displaying a warning about obsolete
|
||||||
|
# config.saving_style. You shouldn't touch it.
|
||||||
|
set config.saving_style_w = 1
|
||||||
|
|
||||||
|
|
||||||
|
## terminal
|
||||||
|
# Terminal options.
|
||||||
|
|
||||||
|
## terminal.tmux-256color
|
||||||
|
# Options specific to this terminal type (according to $TERM value).
|
||||||
|
|
||||||
|
## terminal.tmux-256color.colors <num>
|
||||||
|
set terminal.tmux-256color.colors = 3
|
||||||
|
## terminal.tmux-256color.type <num>
|
||||||
|
set terminal.tmux-256color.type = 0
|
||||||
|
|
||||||
|
|
||||||
|
## ui
|
||||||
|
# User interface options.
|
||||||
|
|
||||||
|
## ui.language <language>
|
||||||
|
# Language of user interface. 'System' means that the language will be
|
||||||
|
# extracted from the environment dynamically.
|
||||||
|
set ui.language = "System"
|
||||||
|
|
||||||
|
|
||||||