Compare commits

...
Sign in to create a new pull request.

212 commits

Author SHA1 Message Date
2aa8820e86 opencode config 2025-12-08 15:56:17 -08:00
ab961d7006 merge 2025-11-08 14:37:03 -08:00
df83eef022 add hermia font settings 2025-11-08 14:36:12 -08:00
16fddec80c update jj config to also have 'p' as a shortcut, and jj diff 2025-10-29 11:46:00 -07:00
46ac775d64 better jj options and panes in tmux 2025-09-04 15:04:47 -07:00
10f10df3d3 update karabiner to support alt as option in terminals for macos and alacritty too 2025-09-03 15:10:33 -07:00
bbffda2ec8 update for 0.30 2025-06-28 19:59:20 -07:00
04eb39ce33 Merge remote-tracking branch 'origin/main' 2025-06-28 14:45:26 -07:00
fc8a72ebaf update jj and fish for modern 2025-06-28 14:44:57 -07:00
e13204586c correct size 2025-05-18 20:53:14 -07:00
406f904367 new plugin llm 2025-05-18 11:37:45 -07:00
8a03de58b9 privatize karabiner and add macos-isms 2025-01-29 12:03:26 -08:00
0c1bbf2724 More JJ 2025-01-19 19:00:52 -08:00
a13b62b983 Typo 2025-01-11 12:11:27 -08:00
16085ea510 More JJ 2025-01-09 13:22:10 -08:00
0751521ea9 new key in config 2025-01-07 18:41:54 -08:00
5fe9887fd1 Update tmux and jj 2025-01-03 17:29:03 -08:00
008be8a351 More JJ 2025-01-03 11:32:31 -08:00
03a7c0ef5d jj 2024-12-28 11:03:37 -08:00
e7409b1f7d gocov and elinks config 2024-12-24 18:53:37 -08:00
936b4489c1 update jj config 2024-12-24 18:03:06 -08:00
7ed4daa6d8 jj config 2024-12-24 13:44:59 -08:00
092d39ca40 more jj config 2024-12-23 19:51:34 -08:00
d663d0a73b more jj config 2024-12-23 17:54:28 -08:00
62973120bb Merge remote-tracking branch 'origin/main' 2024-12-23 14:24:00 -08:00
8a6fff09a9 add jj config to dotfiles 2024-12-23 14:23:47 -08:00
db86e8770e Merge remote-tracking branch 'refs/remotes/origin/main' 2024-12-17 18:06:25 -08:00
647e39b5cf force LANG, add rosencrantz configs 2024-12-17 17:47:23 -08:00
9e3c50f60b force LANG, add rosencrantz configs 2024-12-17 16:36:00 -08:00
1395146661 avante update 2024-12-17 16:31:06 -08:00
87ed7f3527 Merge remote-tracking branch 'origin/main' 2024-10-31 12:39:17 -07:00
2e856516aa Update the catppuccin config for tmux 2024-10-31 12:38:59 -07:00
3d32dea385 fonts for laptops 2024-10-30 11:45:40 -07:00
334815816a Merge remote-tracking branch 'origin/main' 2024-10-29 17:36:42 -07:00
9f65bc30c8 add tmpl for small screen 2024-10-29 17:36:27 -07:00
e79633362e clean up vimrc 2024-10-16 10:31:49 -07:00
88ab0c75e4 ollama setup for neovim 2024-09-21 13:42:04 -07:00
e49b11da27 merge 2024-08-21 11:24:03 -07:00
37d14d3e7c simpler font sizes with good ratios 2024-08-21 11:23:26 -07:00
f79772f85f Merge remote-tracking branch 'origin/main' 2024-08-21 11:21:04 -07:00
ad38badb04 fuzzel 2024-08-21 11:20:46 -07:00
9165e6dad8 cmp supporting newline 2024-08-07 15:37:47 -07:00
1bbd7f5e6c dressing.nvim 2024-08-07 11:15:50 -07:00
010f692b41 add ollama pluigin 2024-06-14 12:38:14 -07:00
cc1b5ae9c7 no autoselection 2024-06-05 14:46:50 -07:00
070750b7c8 update lua and codedark 2024-06-03 19:40:29 -07:00
4a28478156 move from compe to cmp 2024-06-03 18:05:16 -07:00
6fb63aa116 Hoversplit 2024-06-03 17:36:36 -07:00
b307fab0f2 BROWSER 2024-06-03 17:33:04 -07:00
9292773c26 remove binary, fix fonts on laptop 2024-05-20 11:54:42 -07:00
d3ad5d4b5d all dots and symlinks 2024-05-18 19:23:44 -07:00
f64c2d39c5 last symlinks, hopefully 2024-05-18 19:18:31 -07:00
3e630c4c4f chezmoi keeps the dots 2024-05-18 19:13:29 -07:00
d30af24cae rename symlinks 2024-05-18 19:12:40 -07:00
d9b6fdfc1b moving all dots 2024-05-18 19:08:15 -07:00
6fcf9ba919 one less thing to remember 2024-05-18 19:01:37 -07:00
3b95857d2d renames 2024-05-18 18:55:59 -07:00
7a7c647c22 dot_vim 2024-05-18 18:50:38 -07:00
f0510126ba alacritty chezmoi 2024-05-18 18:49:07 -07:00
3a929aab14 chezmoiexternal 2024-05-18 18:40:01 -07:00
30847ce7ab chezmoi-ify 2024-05-18 18:27:41 -07:00
e04f3e0fb8 chezmoi-ify 2024-05-18 18:26:23 -07:00
b419ec8f9f converting to chezmoi 2024-05-18 18:18:40 -07:00
9401989d52 remove sym 2024-05-17 14:08:11 -07:00
99c753d335 bake instructions in bin 2024-05-15 22:40:59 -07:00
7aace26ee9 seconds and slower update 2024-05-15 20:42:11 -07:00
d4cfe9e64d add reminder 2024-05-15 20:01:50 -07:00
d4f922dd95 fix building tch-rs with rust-analyzer 2024-05-15 20:00:17 -07:00
5e349c574c [tmux] catpuccin and status lines 2024-05-15 13:07:21 -07:00
27cf792916 updates from oailaptop 2024-05-14 11:02:40 -07:00
da08d846a8 Merge remote-tracking branch 'origin/master' 2024-04-28 11:46:42 -07:00
6ff1cb0c04 [alacritty] semi-condensed 2024-04-28 11:46:33 -07:00
508fd11964 [vim] lualine with lsp setup info 2024-04-26 17:58:55 -07:00
0984ac2838 [vim] lualine 2024-04-10 18:00:44 -07:00
d498a4fd18 italic comments 2024-04-02 15:41:27 -07:00
2d4d014056 [iosevka] update config and add gitignore for output 2024-03-30 17:41:16 -07:00
b92370a8c0 [vim] lir Return binding 2024-03-27 16:11:08 -07:00
02090ad839 [karabiner] add karabiner config for next mac 2024-03-27 11:08:04 -07:00
0cab81e17c [vim] add lir instead of defx (no python dep yay) 2024-03-27 11:06:03 -07:00
80f3c7ec18 [alacritty] tomlify 2024-03-14 19:26:19 -07:00
e75d93975c [tmux] add battery to lower right corner 2024-03-09 21:34:37 -08:00
a7d797f432 Merge remote-tracking branch 'refs/remotes/origin/master' 2024-03-09 21:30:08 -08:00
d5e31079f6 [bin] add battery test 2024-03-09 21:29:51 -08:00
509ccdc88b [alacritty] unify 2024-03-09 20:45:05 -08:00
063f5b5029 merge it 2024-03-09 20:41:53 -08:00
d1e31d35b3 remove spacemacs and edit again -- this needs to not happen (the editing, not the spacemacs) 2024-03-09 20:40:31 -08:00
6d2bbfa01e Merge remote-tracking branch 'origin/master' 2024-03-09 20:39:00 -08:00
ede78da06a [vim] Add :Q as :q like :W/:w 2024-03-09 20:38:45 -08:00
1ff79d8a85 add alacritty toml 2024-02-14 15:50:28 -08:00
bf1dbe95e9 delete the virtualfish loader (moving to rye for my own stuff) 2024-02-12 13:44:17 -08:00
6bd5d710ec Merge remote-tracking branch 'origin/master' 2024-02-11 16:17:08 -08:00
4273b7612e vim indenting and code range 2024-02-11 16:14:35 -08:00
133cc4d31c alacritty.toml and vi reports better 2024-02-07 16:55:41 -08:00
b9b5ebe807 [vim] iferr ,ife and better previews when searching files 2024-01-16 15:41:36 -08:00
61df077539 [misc] cargo in bash, smaller spotify on 4k 2024-01-09 13:34:15 -08:00
fc663940ff [nvim] filetype-lua update and nvim.lua cleanup 2024-01-09 13:32:30 -08:00
Barak Michener
2e87881195 python/efm config that's better 2024-01-09 13:26:33 -08:00
Barak Michener
4eca2ee06a right prompt to nil, ignore work configs 2024-01-09 13:26:33 -08:00
40cf47632b Merge remote-tracking branch 'refs/remotes/origin/master' 2024-01-09 13:16:24 -08:00
aab3bef14a tmux & vim 2024-01-09 13:09:11 -08:00
3490407647 add terraform TreeSitter and git LFS 2023-07-11 14:34:19 -07:00
8b096b569a make rofi bigger 2023-06-04 18:23:10 -07:00
60d9c2182a fix auto-format 2023-06-04 18:22:56 -07:00
9a2666798a highlights for go 2023-05-30 09:19:13 -07:00
0a3fdd0682 use TS exclusively for rust 2023-05-25 15:42:35 -07:00
4be018fdc5 Merge 2023-05-23 15:59:49 -07:00
e94b86c137 update nvim telescope config 2023-05-23 15:58:24 -07:00
ed138d143a Merge remote-tracking branch 'origin/master' 2023-05-18 15:27:19 -07:00
140f471283 desktop update 2023-05-18 15:27:15 -07:00
d784acc82a Newer vimrc and asdf 2023-05-18 15:23:57 -07:00
c667df83fa add gohtmltmpl fix to vim config 2023-01-20 15:18:11 -08:00
5ebe434fbf add quickfixing to telescope 2022-12-07 14:02:32 -08:00
06a0ac7cc4 update vim colors for TreeSitter 2022-12-06 18:15:06 -08:00
1114ddf947 update vim plugins 2022-12-06 16:02:54 -08:00
7df1e7a4d8 Merge branch 'master' of git.barakmich.com:/barak/dotfiles 2022-11-29 10:46:07 -08:00
d9fc1b7765 add rust-analyzer config to nvim.lua 2022-11-29 10:45:32 -08:00
972c4d7a4d update ragel filetype for vim and add .yarnrc 2022-09-26 21:24:08 -07:00
a13b50be39 Merge remote-tracking branch 'origin/master' 2022-08-30 00:19:50 -07:00
da084d3243 better configs, fix flatpaks 2022-08-30 00:17:29 -07:00
41db2b047e add rofi to dotfiles 2022-08-26 22:55:25 -04:00
77e0a5a50f remove vimrc error on fedora 2022-08-26 19:41:07 -07:00
423a767254 better alacritty for linux 2022-08-26 19:32:02 -07:00
e4d0042114 add missing fish file, new alacritty binding 2022-08-21 13:40:53 -07:00
a7c30c7a27 Add skeletons, fix double-eval of filetype.vim 2022-07-24 13:44:18 -07:00
08d8a22709 merge deneb and hermia 2022-07-19 14:13:44 -07:00
8f4ceb7e2e updates from deneb 2022-07-19 14:11:47 -07:00
9cac6e0f85 update vimrc from hermia 2022-07-19 14:11:08 -07:00
c864b6df9f display terminal size in tmux 2022-06-08 15:14:25 -07:00
c9520bf079 alias for changing font size 2022-06-08 15:14:09 -07:00
14c50758fb Small nvim fixes 2022-06-08 15:14:06 -07:00
1e5bd3255d add qf.vim 2022-05-26 17:42:31 -07:00
2502a78da7 vim-qf plugin for quickfix 2022-05-26 17:41:08 -07:00
d2a7a8263c Fix fish settings and better telescope for nvim 2022-05-11 16:14:54 -07:00
96685eb902 Merge remote-tracking branch 'origin/master' 2022-05-10 16:07:23 -07:00
51eebfe113 go tooling variable 2022-05-10 16:07:03 -07:00
09f050a42e Merge remote-tracking branch 'origin/master' 2022-04-12 10:09:59 -07:00
d8a623b5b8 treesitter config 2022-04-12 10:08:57 -07:00
9c77d9b3fc nvim from deneb 2022-04-12 09:59:48 -07:00
1b9408c46e add some fish configs 2022-03-08 14:36:17 -08:00
d2210226d8 fallback fish loading 2022-02-13 15:22:47 -08:00
15dc08f81a treesitter playground 2022-02-11 13:11:24 -08:00
d10da3b71a fish path and add treesitter 2022-02-07 12:14:24 -08:00
e8626f8108 config fixes for fish on fedora 2022-02-07 09:57:31 -08:00
b01ea97798 fzf bindings 2022-01-29 21:17:36 -08:00
f5638b6c81 fish 2022-01-26 16:39:21 -08:00
a64bc16a23 merge nvim settings for 0.6.1 2022-01-24 15:08:17 -08:00
e2b173bae0 fix font and opacity for alacritty 0.10 2022-01-24 15:07:06 -08:00
ec15ab5913 add custom genericizer function 2022-01-14 16:48:12 -08:00
1967463cf7 update to neovim 0.6 2022-01-14 16:08:50 -08:00
c9ff0abbc2 Merge remote-tracking branch 'origin/master' 2021-12-17 15:08:47 -08:00
eec5d06d09 change autopair plugin 2021-12-17 15:08:07 -08:00
3505b8f23d readd config 2021-11-20 19:41:18 -08:00
37510222a6 better k9s config 2021-11-20 19:38:02 -08:00
83b74423da extract go snippets 2021-11-08 16:49:44 -08:00
095b5798f2 attempt to use gopls only 2021-11-04 12:38:12 -07:00
f763d7b994 add trouble 2021-10-29 14:59:39 -07:00
9adddc4b7a shorter ivy prompt 2021-10-29 13:11:37 -07:00
a7697c2e87 better lsp/telescope config 2021-10-29 13:03:40 -07:00
84bc65982f Merge branch 'master' of git.barakmich.com:/barak/dotfiles 2021-10-28 14:28:18 -07:00
ac8cca19b1 fix grep and file explorer rel to file 2021-10-28 14:14:41 -07:00
78b79a01d9 Sneak >> Lightspeed 2021-09-19 12:29:07 -07:00
7ac7bf0f1f update vimrc, add lightspeed and better grep 2021-09-18 17:20:29 -07:00
48ec212fb2 cut into bash k8s aliases 2021-09-18 17:19:56 -07:00
aa7a192b0c Merge remote-tracking branch 'origin/master' 2021-08-17 11:15:35 -07:00
d23037e11a upgrade plug, livegrep 2021-08-17 11:15:29 -07:00
2a36ef6c0b cfm formatter lsp 2021-08-17 11:13:24 -07:00
deecd96cc9 extend hex alacritty hint 2021-08-14 17:55:58 -07:00
2669ace5fa Add alacritty hints 2021-08-11 12:40:49 -07:00
1f5f00e637 Remove nvim symlink, distros have v0.5 now 2021-08-06 16:35:01 -07:00
2bda586093 Merge branch 'master' of git.barakmich.com:/barak/dotfiles 2021-08-03 13:37:20 -07:00
97abb8d8b6 better actions and filer 2021-08-03 13:36:55 -07:00
1fe0f2baef add FreeBSD option for zshrc 2021-08-02 17:42:37 -07:00
f1accd5842 remove fonts from git 2021-07-20 16:30:42 -07:00
8aeae726ed fix diagnostics and add nvim_tree 2021-07-08 11:49:17 -07:00
86669142bf lua grep theming 2021-07-01 15:30:12 -07:00
2e0dabc7f8 Merge remote-tracking branch 'origin/master' 2021-07-01 13:17:36 -07:00
060d5ca3e7 split nvim.lua, add telescope 2021-07-01 13:16:00 -07:00
74247ed5b2 add i3tool 2021-07-01 13:15:37 -07:00
8932a425d2 k9s to pod by default 2021-06-09 22:00:45 -07:00
700b6ec873 fix tmux style colors 2021-06-09 21:59:35 -07:00
1a0d68953a update iosevka-berkeley to 7.0.4 and associated configs 2021-06-09 21:54:03 -07:00
798c8085ff iosevka build and gopls nvimlsp 2021-06-09 19:31:38 -07:00
021b2d90ce preselect 2021-06-02 17:05:56 -07:00
f5f0e597c4 move to compe 2021-06-02 17:00:36 -07:00
4649db7adc a little nicer kinds/sorts 2021-06-02 16:40:42 -07:00
0ac5d5aa7b Merge remote-tracking branch 'origin/master' 2021-06-02 15:59:09 -07:00
260e206da0 switch to nvim-lsp 2021-06-02 15:58:13 -07:00
eee06ca4c0 alacritty themeing 2021-05-14 20:05:28 -07:00
f2903ab7cb add k9s config 2021-05-14 20:03:01 -07:00
0abfc02384 alacritty default 2021-05-08 11:40:28 -07:00
beb6292ddd update for osx 2021-05-07 12:02:11 -07:00
62b2b87c9f switch default to alacritty 2021-05-07 11:25:49 -07:00
1094a63a3b add alacritty config 2021-05-07 11:19:10 -07:00
acecaa7ffe music commands 2021-04-13 18:54:13 -07:00
df2ad52c99 add rust-analyzer to appimage downloads 2021-04-13 18:43:19 -07:00
017eab1a02 various xfce-related updates 2021-04-13 18:17:32 -07:00
42e47f9227 help cocreinstall 2021-04-13 11:58:48 -07:00
f6188dfe86 misc from hermia 2021-04-12 18:49:57 -07:00
34003802c6 add more gnome settings 2021-04-12 18:47:13 -07:00
66cfd7af31 initial work from new laptop 2021-04-02 01:24:31 -07:00
bb16ba3261 try setting up pop-shell like my i3 config 2021-03-22 10:15:08 -07:00
497d5f863f Add vim option for tmux 2021-02-23 20:26:05 -08:00
728378eb2a add rust and some config updates to vim 2021-02-13 16:50:00 -08:00
a26d681c2d add run_jupyter script 2021-02-13 16:47:29 -08:00
140088e237 notetaking 2021-01-17 21:01:28 -08:00
2494d5ce01 combine appimage things and install obsidian 2021-01-14 12:35:55 -08:00
f91bbc857d make main the default early 2021-01-09 13:49:00 -08:00
eff06079de Update and simplify statusline in vimrc 2021-01-08 18:33:00 -08:00
9b2bd0b702 update everything 2020-12-01 21:22:27 -08:00
e842787d16 add git aliases and fe extensions 2020-11-13 15:13:51 -08:00
a267ba0adf Merge remote-tracking branch 'origin/theseus' 2020-11-09 10:53:19 -08:00
5281c0499f add starlark plugin to vim 2020-11-09 10:53:17 -08:00
599 changed files with 83093 additions and 41663 deletions

2
.chezmoi.toml.tmpl Normal file
View file

@ -0,0 +1,2 @@
[diff]
reverse = true

4
.chezmoiexternal.toml Normal file
View file

@ -0,0 +1,4 @@
[".tmux/plugins/tpm"]
type = "git-repo"
url = "https://github.com/tmux-plugins/tpm"
refreshPeriod = "168h"

View file

@ -1,8 +0,0 @@
{
"dependencies": {
"coc-json": ">=1.3.2",
"coc-python": ">=1.2.13",
"coc-snippets": ">=2.2.3",
"coc-ultisnips": ">=1.2.3"
}
}

View file

@ -1,5 +0,0 @@
set PATH ~/bin /bin /sbin /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin ~/.cabal/bin /usr/lib/go/bin ~/.gem/ruby/1.9.1/bin $PATH
set fish_greeting ""
. ~/.bash_aliases

View file

@ -1 +0,0 @@
../.vim

View file

@ -1 +0,0 @@
/home/barak/.config/systemd/user/ssh-agent.service

View file

@ -1,30 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="displays" version="1.0">
<property name="Default" type="empty">
<property name="eDP1" type="string" value="1. LGD 14&quot;">
<property name="Active" type="bool" value="false"/>
<property name="Resolution" type="string" value="2560x1440"/>
<property name="RefreshRate" type="double" value="59.997716"/>
<property name="Rotation" type="int" value="0"/>
<property name="Reflection" type="string" value="0"/>
<property name="Primary" type="bool" value="true"/>
<property name="Position" type="empty">
<property name="X" type="int" value="0"/>
<property name="Y" type="int" value="0"/>
</property>
</property>
<property name="DP2" type="string" value="2. Hewlett Packard 27&quot;">
<property name="Active" type="bool" value="true"/>
<property name="Resolution" type="string" value="3840x2160"/>
<property name="RefreshRate" type="double" value="59.996625"/>
<property name="Rotation" type="int" value="0"/>
<property name="Reflection" type="string" value="0"/>
<property name="Primary" type="bool" value="false"/>
<property name="Position" type="empty">
<property name="X" type="int" value="0"/>
<property name="Y" type="int" value="0"/>
</property>
</property>
</property>
</channel>

View file

@ -1,91 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfwm4" version="1.0">
<property name="general" type="empty">
<property name="activate_action" type="empty"/>
<property name="box_move" type="empty"/>
<property name="box_resize" type="empty"/>
<property name="button_layout" type="empty"/>
<property name="button_offset" type="empty"/>
<property name="button_spacing" type="empty"/>
<property name="click_to_focus" type="empty"/>
<property name="cycle_apps_only" type="empty"/>
<property name="cycle_draw_frame" type="empty"/>
<property name="cycle_preview" type="empty"/>
<property name="double_click_distance" type="empty"/>
<property name="double_click_time" type="empty"/>
<property name="focus_delay" type="empty"/>
<property name="focus_new" type="empty"/>
<property name="frame_opacity" type="empty"/>
<property name="full_width_title" type="empty"/>
<property name="maximized_offset" type="empty"/>
<property name="mousewheel_rollup" type="empty"/>
<property name="placement_mode" type="empty"/>
<property name="raise_delay" type="empty"/>
<property name="raise_on_click" type="empty"/>
<property name="raise_on_focus" type="empty"/>
<property name="repeat_urgent_blink" type="empty"/>
<property name="scroll_workspaces" type="empty"/>
<property name="shadow_delta_height" type="empty"/>
<property name="shadow_delta_width" type="empty"/>
<property name="shadow_delta_x" type="empty"/>
<property name="shadow_delta_y" type="empty"/>
<property name="shadow_opacity" type="empty"/>
<property name="show_app_icon" type="empty"/>
<property name="show_dock_shadow" type="empty"/>
<property name="show_frame_shadow" type="empty"/>
<property name="show_popup_shadow" type="empty"/>
<property name="snap_to_border" type="empty"/>
<property name="snap_to_windows" type="empty"/>
<property name="snap_width" type="empty"/>
<property name="theme" type="empty"/>
<property name="title_alignment" type="empty"/>
<property name="title_font" type="empty"/>
<property name="title_horizontal_offset" type="empty"/>
<property name="title_shadow_active" type="empty"/>
<property name="title_shadow_inactive" type="empty"/>
<property name="title_vertical_offset_active" type="empty"/>
<property name="title_vertical_offset_inactive" type="empty"/>
<property name="urgent_blink" type="empty"/>
<property name="use_compositing" type="empty"/>
<property name="workspace_count" type="int" value="1"/>
<property name="workspace_names" type="array">
<value type="string" value="1"/>
<value type="string" value="2"/>
<value type="string" value="3"/>
<value type="string" value="4"/>
<value type="string" value="9"/>
<value type="string" value="10"/>
<value type="string" value="10"/>
<value type="string" value="Workspace 8"/>
</property>
<property name="wrap_resistance" type="empty"/>
<property name="wrap_windows" type="empty"/>
<property name="wrap_workspaces" type="empty"/>
<property name="borderless_maximize" type="bool" value="true"/>
<property name="cycle_hidden" type="bool" value="true"/>
<property name="cycle_minimum" type="bool" value="true"/>
<property name="cycle_tabwin_mode" type="int" value="0"/>
<property name="cycle_workspaces" type="bool" value="false"/>
<property name="double_click_action" type="string" value="maximize"/>
<property name="easy_click" type="string" value="Alt"/>
<property name="focus_hint" type="bool" value="true"/>
<property name="horiz_scroll_opacity" type="bool" value="false"/>
<property name="inactive_opacity" type="int" value="100"/>
<property name="move_opacity" type="int" value="100"/>
<property name="placement_ratio" type="int" value="20"/>
<property name="popup_opacity" type="int" value="100"/>
<property name="prevent_focus_stealing" type="bool" value="false"/>
<property name="raise_with_any_button" type="bool" value="true"/>
<property name="resize_opacity" type="int" value="100"/>
<property name="snap_resist" type="bool" value="false"/>
<property name="sync_to_vblank" type="bool" value="false"/>
<property name="tile_on_move" type="bool" value="true"/>
<property name="titleless_maximize" type="bool" value="false"/>
<property name="toggle_workspaces" type="bool" value="false"/>
<property name="unredirect_overlays" type="bool" value="true"/>
<property name="wrap_cycle" type="bool" value="true"/>
<property name="wrap_layout" type="bool" value="true"/>
<property name="zoom_desktop" type="bool" value="true"/>
</property>
</channel>

View file

@ -1,35 +0,0 @@
;;; init.el --- Spacemacs Initialization File
;;
;; Copyright (c) 2012-2016 Sylvain Benner & Contributors
;;
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
;; Without this comment emacs25 adds (package-initialize) here
;; (package-initialize)
;; Increase gc-cons-threshold, depending on your system you may set it back to a
;; lower value in your dotfile (function `dotspacemacs/user-config')
(setq gc-cons-threshold 100000000)
(defconst spacemacs-version "0.200.3" "Spacemacs version.")
(defconst spacemacs-emacs-min-version "24.4" "Minimal version of Emacs.")
(if (not (version<= spacemacs-emacs-min-version emacs-version))
(message (concat "Your version of Emacs (%s) is too old. "
"Spacemacs requires Emacs version %s or above.")
emacs-version spacemacs-emacs-min-version)
(load-file (concat (file-name-directory load-file-name)
"core/core-load-paths.el"))
(require 'core-spacemacs)
(spacemacs/init)
(spacemacs/maybe-install-dotfile)
(configuration-layer/sync)
(spacemacs-buffer/display-info-box)
(spacemacs/setup-startup-hook)
(require 'server)
(unless (server-running-p) (server-start)))

View file

@ -1 +0,0 @@
/home/barak/.config/fontconfig/fonts.conf

1
.gitignore vendored
View file

@ -1 +0,0 @@
*~

View file

@ -1 +0,0 @@
/home/barak/.fonts

1
.nvim
View file

@ -1 +0,0 @@
.vim

View file

@ -1 +0,0 @@
.vimrc

View file

@ -1,65 +0,0 @@
set -g prefix C-a
unbind C-b
set -g base-index 1
setw -g pane-base-index 1
bind-key C-o last-window
bind-key C-a select-pane -t :.+
bind-key a send-prefix
bind r source-file ~/.tmux.conf
bind -n M-j select-pane -D
bind -n M-k select-pane -U
bind -n M-h select-pane -L
bind -n M-l select-pane -R
bind-key C-n next-window
bind-key C-p previous-window
set -g set-titles off
set -g mouse on
set -g default-terminal xterm-256color
setw -g mode-keys vi
new -d
# shift-movement keys will resize panes
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
# better mnemonics for splitting panes!
bind | split-window -h
bind - split-window -v
bind v split-window -h
bind = select-layout even-horizontal
# Status Bar
#set -g status-bg black
set -g status-fg white
set -g status-interval 1
#set -g status-left '#[fg=green]#H#[default]'
#set -g status-left-length 20
#set -g status-right '#[fg=green]#(~/src/tpom/tpom) #[fg=cyan,bold]%Y-%m-%d %H:%M:%S#[default]'
set -g status-justify centre # center align window list
set -g status-fg white
set -g status-bg default
# default window title colors
set-window-option -g window-status-style fg=white,bg=default,dim
# active window title colors
set-window-option -g window-status-current-style fg=cyan,bg=default,bright
set-window-option -g window-style fg=#aaaaaa,bg=terminal
set-window-option -g window-active-style fg=terminal,bg=terminal
set -g status-left '#[fg=green][ #H ][ '
set -g status-right '#[fg=green]][ #[bright]#[fg=blue]%Y-%m-%d #[fg=white]%I:%M #[dim]#[fg=green]]'
# Notifying if other windows has activities
setw -g monitor-activity on
set -g visual-activity on
# Highlighting the active window in status bar
setw -g window-status-current-style bg=red,bright

867
.vimrc

File diff suppressed because it is too large Load diff

View file

@ -1 +0,0 @@
.xinitrc

View file

@ -1 +0,0 @@
./.zprofile

2
bin/appimage/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
*.appimage
rust-analyzer-linux

6
bin/appimage/obsidian.sh Executable file
View file

@ -0,0 +1,6 @@
wget -q -O - https://api.github.com/repos/obsidianmd/obsidian-releases/releases/latest \
| grep -i "browser_download_url.*appimage" \
| cut -d '"' -f 4 \
| wget -O obsidian.appimage -i -
chmod +x obsidian.appimage

3
bin/appimage/rust-analyzer.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
curl -LO https://github.com/rust-analyzer/rust-analyzer/releases/download/nightly/rust-analyzer-linux
chmod +x rust-analyzer-linux

5
bin/appimage/update_all.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/sh
./rust-analyzer.sh
./nvim.sh
./obsidian.sh

48
bin/capture Executable file
View file

@ -0,0 +1,48 @@
#!/bin/bash
set -euo pipefail
VAULT_FILE="capture.md"
VAULT_PATH="$HOME/notebook"
FILE_IN_VIEW=""
POSITIONAL=()
while [[ $# -gt 0 ]]
do
key="$1"
case $key in
-f|--file)
VAULT_FILE="$2"
shift # past argument
shift # past value
;;
--viewing)
FILE_IN_VIEW="$2"
shift
shift
;;
*) # unknown option
POSITIONAL+=("$1") # save it in an array for later
shift # past argument
;;
esac
done
TO_PATH="${VAULT_PATH}/${VAULT_FILE}"
cd ${VAULT_PATH}
git pull -q
echo "" >> ${TO_PATH}
echo "##### `date`" >> ${TO_PATH}
if [ -n "${FILE_IN_VIEW}" ]; then
echo "In file _${FILE_IN_VIEW}_" >> ${TO_PATH}
fi
for s in "${POSITIONAL[@]}" # restore positional parameters
do
echo -n "${s} " >> ${TO_PATH}
done
echo "" >> TO_PATH
git add ${TO_PATH}
git commit -q -m "capture `date +%FT%T`"
git push -q 2>&1 > /dev/null

0
bin/ack → bin/executable_ack Executable file → Normal file
View file

0
bin/average → bin/executable_average Executable file → Normal file
View file

132
bin/executable_battery Normal file
View file

@ -0,0 +1,132 @@
#!/bin/sh
HEART_FULL=♥
HEART_EMPTY=♡
[ -z "$NUM_HEARTS" ] &&
NUM_HEARTS=5
cutinate()
{
perc=$1
inc=$(( 100 / $NUM_HEARTS))
for i in `seq $NUM_HEARTS`; do
if [ $perc -lt 100 ]; then
echo $HEART_EMPTY
else
echo $HEART_FULL
fi
perc=$(( $perc + $inc ))
done
}
linux_get_bat ()
{
echo $(( $BAT_TOTAL / $BAT_COUNT ))
}
openbsd_get_bat ()
{
bf=$(sysctl -n hw.sensors.acpibat0.amphour0 | cut -d ' ' -f 1)
bn=$(sysctl -n hw.sensors.acpibat0.amphour3 | cut -d ' ' -f 1)
echo "(($bn * 100) / $bf)" | bc -l | awk -F '.' '{ print $1 }';
}
freebsd_get_bat ()
{
sysctl -n hw.acpi.battery.life
}
battery_status()
{
case $(uname -s) in
"Linux")
BATTERIES=$(ls /sys/class/power_supply | grep BAT)
BAT_COUNT=$(ls /sys/class/power_supply | grep BAT | wc -l)
[ $BAT_COUNT -eq 0 ] && return
for BATTERY in $BATTERIES; do
BAT_PATH=/sys/class/power_supply/$BATTERY
STATUS=$BAT_PATH/status
[ "$1" = `cat $STATUS` ] || [ "$1" = "" ] || return 0
if [ -f "$BAT_PATH/energy_full" ]; then
naming="energy"
elif [ -f "$BAT_PATH/charge_full" ]; then
naming="charge"
elif [ -f "$BAT_PATH/capacity" ]; then
cat "$BAT_PATH/capacity"
return 0
fi
BAT_PERCENT=$(( 100 * $(cat $BAT_PATH/${naming}_now) / $(cat $BAT_PATH/${naming}_full) ))
BAT_TOTAL=$(( ${BAT_TOTAL-0} + $BAT_PERCENT ))
done
linux_get_bat
;;
"FreeBSD")
STATUS=`sysctl -n hw.acpi.battery.state`
case $1 in
"Discharging")
if [ $STATUS -eq 1 ]; then
freebsd_get_bat
fi
;;
"Charging")
if [ $STATUS -eq 2 ]; then
freebsd_get_bat
fi
;;
"")
freebsd_get_bat
;;
esac
;;
"OpenBSD")
openbsd_get_bat
;;
"Darwin")
case $1 in
"Discharging")
ext="No";;
"Charging")
ext="Yes";;
esac
ioreg -c AppleSmartBattery -w0 | \
grep -o '"[^"]*" = [^ ]*' | \
sed -e 's/= //g' -e 's/"//g' | \
sort | \
while read key value; do
case $key in
"MaxCapacity")
export maxcap=$value;;
"CurrentCapacity")
export curcap=$value;;
"ExternalConnected")
if [ -n "$ext" ] && [ "$ext" != "$value" ]; then
exit
fi
;;
"FullyCharged")
if [ "$value" = "Yes" ]; then
exit
fi
;;
esac
if [[ -n "$maxcap" && -n $curcap ]]; then
echo $(( 100 * $curcap / $maxcap ))
break
fi
done
esac
}
BATTERY_STATUS=`battery_status $1`
[ -z "$BATTERY_STATUS" ] && exit
if [ -n "$CUTE_BATTERY_INDICATOR" ]; then
cutinate $BATTERY_STATUS
else
echo ${BATTERY_STATUS}%
fi

0
bin/callout → bin/executable_callout Executable file → Normal file
View file

0
bin/contract → bin/executable_contract Executable file → Normal file
View file

0
bin/cronic → bin/executable_cronic Executable file → Normal file
View file

0
bin/gblame → bin/executable_gblame Executable file → Normal file
View file

22
bin/executable_gocov.sh Normal file
View 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
View file

0
bin/orly → bin/executable_orly Executable file → Normal file
View file

0
bin/pk → bin/executable_pk Executable file → Normal file
View file

0
bin/theyfightcrime → bin/executable_theyfightcrime Executable file → Normal file
View file

4
bin/vi → bin/executable_vi Executable file → Normal file
View file

@ -2,7 +2,7 @@
export TERM=xterm-256color export TERM=xterm-256color
if [ -n "`which nvim`" ]; then if [ -n "`which nvim`" ]; then
nvim "$@" exec -a nvim nvim "$@"
else else
vim "$@" exec -a vim vim "$@"
fi fi

0
bin/xinput-toggle → bin/executable_xinput-toggle Executable file → Normal file
View file

Binary file not shown.

View file

@ -1 +0,0 @@
./neovim/nvim.appimage

7
bin/rename_git_branch.sh Normal file
View 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

View file

@ -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

View file

@ -1,11 +0,0 @@
#!/usr/bin/env bash
if [ -n "`which gnome-terminal`" ]; then
gnome-terminal $@
elif [ -n "`which terminator`" ]; then
terminator $@
elif [ -n "`which urxvt`" ]; then
urxvt $@
else
xterm $@
fi

View file

@ -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"

View file

@ -1,4 +1,4 @@
#!/usr/local/bin/perl #!/usr/bin/perl
use Getopt::Std; use Getopt::Std;
getopts('u'); getopts('u');

View file

@ -104,6 +104,10 @@ dobenchx() {
} }
alias benchx=dobenchx alias benchx=dobenchx
do_killgrep() {
ps auxwww | grep $1 | awk '{print $2}' | xargs kill
}
alias killgrep=do_killgrep
#function gvim () { #function gvim () {
#`which gvim` $* &> /dev/null #`which gvim` $* &> /dev/null
#} #}

10
dot_bash_k8s_aliases Normal file
View file

@ -0,0 +1,10 @@
#!/bin/bash
k8s-configmap-from-dir () {
local name=$1
shift
local dir=$1
shift
if
kubectl create configmap "$1" --from-file="$2" -o yaml --dry-run "$@"
}

View file

@ -20,3 +20,4 @@ fi
# Added by ~/.emacs.d/install.sh # Added by ~/.emacs.d/install.sh
export PATH=$HOME/.cask/bin:$PATH export PATH=$HOME/.cask/bin:$PATH
. "$HOME/.cargo/env"

View file

@ -161,3 +161,4 @@ fi
if [ -f ~/local/google-cloud-sdk/completion.bash.inc ]; then if [ -f ~/local/google-cloud-sdk/completion.bash.inc ]; then
. ~/local/google-cloud-sdk/completion.bash.inc . ~/local/google-cloud-sdk/completion.bash.inc
fi fi
. "$HOME/.cargo/env"

View file

@ -1,8 +1,8 @@
# Shadow # Shadow
shadow = true; shadow = true;
no-dnd-shadow = true; #no-dnd-shadow = true;
no-dock-shadow = true; #no-dock-shadow = true;
clear-shadow = true; #clear-shadow = true;
shadow-radius = 7; shadow-radius = 7;
shadow-offset-x = -7; shadow-offset-x = -7;
shadow-offset-y = -7; shadow-offset-y = -7;
@ -23,12 +23,11 @@ shadow-exclude = [
# xinerama-shadow-crop = true; # xinerama-shadow-crop = true;
# Opacity # Opacity
menu-opacity = 0.9;
#inactive-opacity = 0.9; #inactive-opacity = 0.9;
# active-opacity = 0.8; # active-opacity = 0.8;
frame-opacity = 0.7; frame-opacity = 0.7;
#inactive-opacity-override = false; #inactive-opacity-override = false;
alpha-step = 0.06; #alpha-step = 0.06;
inactive-dim = 0.12; inactive-dim = 0.12;
# inactive-dim-fixed = true; # inactive-dim-fixed = true;
# blur-background = true; # blur-background = true;
@ -60,9 +59,9 @@ mark-ovredir-focused = true;
detect-rounded-corners = true; detect-rounded-corners = true;
detect-client-opacity = true; detect-client-opacity = true;
refresh-rate = 0; refresh-rate = 0;
vsync = "none"; vsync = false;
dbe = false; dbe = false;
paint-on-overlay = true; #paint-on-overlay = true;
# unredir-if-possible-delay = 5000; # unredir-if-possible-delay = 5000;
# unredir-if-possible-exclude = [ ]; # unredir-if-possible-exclude = [ ];
focus-exclude = [ "class_g = 'Cairo-clock'" ]; focus-exclude = [ "class_g = 'Cairo-clock'" ];
@ -76,7 +75,8 @@ invert-color-include = [ ];
glx-copy-from-front = false; glx-copy-from-front = false;
# glx-use-copysubbuffermesa = true; # glx-use-copysubbuffermesa = true;
# glx-no-rebind-pixmap = true; # glx-no-rebind-pixmap = true;
glx-swap-method = "undefined"; #glx-swap-method = "undefined";
use-damage = true;
# glx-use-gpushader4 = true; # glx-use-gpushader4 = true;
# xrender-sync = true; # xrender-sync = true;
# xrender-sync-fence = true; # xrender-sync-fence = true;
@ -85,4 +85,8 @@ glx-swap-method = "undefined";
wintypes: wintypes:
{ {
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; }; tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; };
dock = { shadow = false; }
dnd = { shadow = false; }
popup_menu = { opacity = 0.9; }
dropdown_menu = { opacity = 0.9; }
}; };

View file

@ -0,0 +1,148 @@
[bell]
color = "#ffffff"
duration = 200
[colors]
draw_bold_text_with_bright_colors = false
[colors.bright]
black = "#565656"
blue = "#49a4f8"
cyan = "#99faf2"
green = "#c0e17d"
magenta = "#a47de9"
red = "#ec5357"
white = "#ffffff"
yellow = "#f9da6a"
[colors.normal]
black = "#2e2e2e"
blue = "#47a0f3"
cyan = "#64dbed"
green = "#abe047"
magenta = "#7b5cb0"
red = "#eb4129"
white = "#e5e9f0"
yellow = "#f6c744"
[colors.primary]
background = "#000000"
foreground = "#fffbf6"
[env]
TERM = "xterm-256color"
[font]
{{if eq .chezmoi.hostname "lysander" -}}
size = 15.5
{{ else if eq .chezmoi.hostname "mercutio" -}}
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]
style = "Semi-Condensed"
#style = "Regular"
[font.bold_italic]
style = "Semi-Condensed Oblique"
#style = "Italic"
[font.italic]
style = "Light Semi-Condensed Oblique"
#style = "Light Italic"
[font.normal]
family = "Iosevka Berkeley"
style = "Light Semi-Condensed"
#style = "Light"
[hints]
alphabet = "jfkdls;ahgurieowpq"
[[hints.enabled]]
action = "Copy"
regex = "[a-f0-9]{7,}"
[hints.enabled.binding]
key = "H"
mods = "Control|Shift"
[[hints.enabled]]
action = "Copy"
regex = "(magnet:|mailto:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-Ÿ<>\"\\s{-}\\^⟨⟩`]+"
[hints.enabled.binding]
key = "U"
mods = "Control|Shift"
[[hints.enabled]]
post_processing = true
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]
key = "L"
mods = "Control|Shift"
[hints.enabled.mouse]
enabled = true
mods = "None"
[[keyboard.bindings]]
action = "ToggleViMode"
key = "Q"
mode = "Vi|~Search"
[[keyboard.bindings]]
action = "Paste"
key = "P"
mode = "Vi|~Search"
[[keyboard.bindings]]
{{if eq .chezmoi.hostname "rosencrantz" -}}
action = "ToggleFullscreen"
{{ else -}}
action = "ToggleMaximized"
{{ end }}
key = "Return"
mods = "Alt"
[[keyboard.bindings]]
action = "ToggleSimpleFullscreen"
key = "Return"
mods = "Command"
[[keyboard.bindings]]
chars = "\u001B."
key = "Period"
mods = "Command"
[scrolling]
history = 10000
multiplier = 3
[window]
opacity = 0.88
startup_mode = "Windowed"
option_as_alt = "Both"
#decorations = "None"
[window.dimensions]
columns = 106
lines = 24
[window.padding]
x = 3
y = 3

View file

Before

Width:  |  Height:  |  Size: 218 KiB

After

Width:  |  Height:  |  Size: 218 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 262 KiB

After

Width:  |  Height:  |  Size: 262 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 967 B

After

Width:  |  Height:  |  Size: 967 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 997 B

After

Width:  |  Height:  |  Size: 997 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 150 B

After

Width:  |  Height:  |  Size: 150 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 150 B

After

Width:  |  Height:  |  Size: 150 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 158 B

After

Width:  |  Height:  |  Size: 158 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 158 B

After

Width:  |  Height:  |  Size: 158 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 395 B

After

Width:  |  Height:  |  Size: 395 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 388 B

After

Width:  |  Height:  |  Size: 388 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 153 B

After

Width:  |  Height:  |  Size: 153 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 153 B

After

Width:  |  Height:  |  Size: 153 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 160 B

After

Width:  |  Height:  |  Size: 160 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 160 B

After

Width:  |  Height:  |  Size: 160 B

Before After
Before After

Some files were not shown because too many files have changed in this diff Show more