Compare commits

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

274 commits
tethys ... main

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
69c6eedd3f checkcurrentline 2020-11-09 18:50:01 +00:00
c59e88722c better default C-k in vim 2020-11-04 21:35:21 +00:00
28a0928b83 update coc 2020-11-03 21:49:09 +00:00
4a7032aff4 add some bin tools 2020-11-03 21:49:09 +00:00
aeb4a5a27a colors by uname 2020-11-03 13:48:32 -08:00
de1a723d05 fix hostname hash on linux 2020-11-03 13:44:30 -08:00
392ac49b33 host color zsh 2020-11-03 13:37:58 -08:00
1f042392b3 add host color 2020-11-03 13:17:18 -08:00
fefb13530f make nvim symlink platform agnostic 2020-11-03 13:04:10 -08:00
5d53ab9298 Merge branch 'master' of git.barakmich.com:/barak/dotfiles 2020-10-23 23:50:34 -07:00
bf4891512b Fancy tmux 2020-10-23 23:49:47 -07:00
bf7055e4f7 pull ffonly 2020-10-22 16:34:59 -07:00
7f2bb1585a remote aliases 2020-10-22 16:33:07 -07:00
5283f339d1 update colors 2020-10-22 16:31:30 -07:00
81fd63bf11 modernize 2020-10-21 19:01:03 -07:00
0044f6a4f5 aliases 2020-09-12 02:55:04 +00:00
a69e726c1e add neovim updater to bin 2020-08-18 21:20:51 +00:00
cab484bd4f make comments italic 2020-08-18 16:17:14 +00:00
4fdf4d6004 add v1 of my own font 2020-08-17 23:14:38 +00:00
Barak Michener
e4b9ea7f80 update deps 2020-08-17 23:13:00 +00:00
Barak Michener
f14af11d89 work_rc 2020-08-06 19:34:14 +00:00
2c34a6dd6b formatting 2020-08-05 00:36:19 +00:00
6ada82a506 add default fzf install path to zshrc 2020-08-05 00:36:04 +00:00
bdbf88cfa6 fix up denite finally 2020-08-05 00:35:31 +00:00
61e46e7ba9 fix cargo and git@github config clash 2020-08-05 00:34:51 +00:00
d9b9be32a2 add usr bin virtualenvwrapper 2020-07-28 21:18:25 +00:00
3b687f3342 use $HOME instead of hard path in vimrc 2020-07-26 11:48:49 -07:00
e05610d6cc update pk for better existence 2020-07-24 13:04:56 -07:00
6a49e78789 pick updates from ganymede 2020-06-04 17:09:07 -07:00
48360b9169 Merge branch 'master' of git.barakmich.com:barak/dotfiles 2020-02-06 13:29:09 -08:00
354a4c1c01 add golden ratio resize to i3 2020-02-06 13:28:52 -08:00
b7f03054d4 small update 2019-06-16 19:24:29 -07:00
4632b5d39b add tla to vim 2019-05-21 14:49:33 -07:00
af3f15e30e reorganize plugins 2019-05-21 14:45:51 -07:00
ae14fa1171 base latex 2019-05-20 17:19:00 -07:00
ebd4bc0bad update tmux and vim 2019-05-20 17:18:50 -07:00
fa71de6291 Institude Filepath, veonim, and git-diff3-style 2019-04-01 11:05:56 -07:00
ad85172df5 add kubectl completion 2019-02-10 20:08:43 -08:00
de6ffd9347 add tig config 2019-02-04 15:58:01 -08:00
346da23927 misc 2019-02-04 15:57:54 -08:00
c013387b96 add gblame 2018-09-14 00:39:51 -07:00
0d71058215 add tunnel program and zotero hookup 2018-08-21 19:12:50 -07:00
08aba1e3d0 update mutt and mailcap 2018-08-10 21:30:24 -07:00
9f29b0eb44 update vimrc to ale instead of syntastic 2018-08-09 22:54:14 -07:00
3a211ea8e3 reindent zshrc 2018-08-09 22:51:19 -07:00
52d740b545 update vimrc 2018-08-09 22:50:50 -07:00
08d397da50 no duplicate gmail copies from mutt 2018-08-09 22:49:15 -07:00
48b271cb4b tmux from 1 2018-08-09 22:47:57 -07:00
35201aa221 add secret 2018-08-07 22:45:59 -07:00
279520eeea mutt keybindings 2018-08-07 22:45:39 -07:00
ca848a1c1f fix link 2018-07-31 19:43:48 -07:00
94d4387df6 add gitconfig for ssh upstream of github 2018-07-29 11:31:44 -07:00
baa37a68e7 revert bmichener 2018-04-17 13:20:39 -07:00
9a3f68c6e4 ubuntu xfce, i3 2018-04-17 10:40:28 -07:00
1bc33a19cc update for newer neovim 2018-04-12 13:17:30 -07:00
5a6e686ab3 skeletons 2018-02-26 22:41:46 -08:00
9b21ae50b1 Merge branch 'master' of git.barakmich.com:barak/dotfiles 2018-02-26 22:08:20 -08:00
becc0ec855 add vue support 2018-02-26 22:07:47 -08:00
6e8336f18a Merge branch 'master' of git.barakmich.com:barak/dotfiles 2018-02-02 17:42:21 -08:00
29d3373746 more maps for denite 2018-02-02 17:42:08 -08:00
03a1f90b29 weechat conf 2018-02-02 17:03:28 -08:00
0bbef95663 merge idris master 2018-01-09 00:46:01 -08:00
573 changed files with 83179 additions and 40677 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,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 @@
/home/barak/.vim

View file

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

View file

@ -1,15 +0,0 @@
[xfdesktop-version-4.10.3+-rcfile_format]
4.10.3+=true
[/home/barak/Desktop/steam.desktop]
row=5
col=0
[/]
row=0
col=0
[/home/barak]
row=1
col=0

View file

@ -1,15 +0,0 @@
[xfdesktop-version-4.10.3+-rcfile_format]
4.10.3+=true
[/home/barak/Desktop/steam.desktop]
row=5
col=0
[/]
row=0
col=0
[/home/barak]
row=1
col=0

View file

@ -1,27 +0,0 @@
[xfdesktop-version-4.10.3+-rcfile_format]
4.10.3+=true
[/home/barak/Desktop/steam.desktop]
row=5
col=0
[/home/barak/Desktop/Hearthstone.desktop]
row=3
col=0
[/home/barak/Desktop/Heroes of the Storm.desktop]
row=2
col=0
[/home/barak/Desktop/Battle.net.desktop]
row=4
col=0
[/]
row=0
col=0
[/home/barak]
row=1
col=0

View file

@ -1 +0,0 @@
WebBrowser=google-chrome-beta

View file

@ -1,17 +0,0 @@
UpdateInterval=1
TimeScale=0
Size=56
Mode=0
Frame=1
Border=0
Bars=0
TrackedCore=0
Command=xfce4-taskmanager
InTerminal=0
StartupNotification=1
ColorMode=1
Foreground1=#0000ffff0000
Foreground2=#ffff00000000
Foreground3=#00000000ffff
Background=#000000000000

View file

@ -1,14 +0,0 @@
Use_Label=true
Show_Values=false
Show_Bars=true
Colorize_Values=true
Color_In=rgb(255,79,0)
Color_Out=rgb(255,229,0)
Text=wlp4s0
Network_Device=wlp4s0
Max_In=4096
Max_Out=4096
Auto_Max=true
Update_Interval=500
Values_As_Bits=true

View file

@ -1,8 +0,0 @@
delay=1
region=3
action=1
show_mouse=1
screenshot_dir=file:/home/barak/Pictures
app=env
last_user=

View file

@ -1,25 +0,0 @@
[Settings]
ShowAllProcesses=FALSE
MorePrecision=FALSE
FullCommandLine=FALSE
ShowStatusIcon=FALSE
ShowMemoryInXBytes=FALSE
MonitorPaintBox=TRUE
ShowApplicationIcons=TRUE
ToolbarStyle=DEFAULT
PromptTerminateTask=TRUE
RefreshRate=750
ColumnUID=FALSE
ColumnPID=TRUE
ColumnPPID=FALSE
ColumnState=FALSE
ColumnVSZ=TRUE
ColumnRSS=TRUE
ColumnCPU=TRUE
ColumnPriority=FALSE
SortColumn=7
SortType=1
WindowWidth=2556
WindowHeight=1411
HandlePosition=100
ProcessTreeView=FALSE

View file

@ -1,55 +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="true"/>
<property name="Resolution" type="string" value="2560x1440"/>
<property name="RefreshRate" type="double" value="60.004441"/>
<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="DP1" type="string" value="2. Dell 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 name="HDMI2" type="string" value="2. HCG 7&quot;">
<property name="Active" type="bool" value="true"/>
<property name="Resolution" type="string" value="1920x1080"/>
<property name="RefreshRate" type="double" value="60.000000"/>
<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="2560"/>
<property name="Y" type="int" value="0"/>
</property>
</property>
<property name="HDMI1" type="string" value="2. AJA Video Systems, Inc. 32&quot;">
<property name="Active" type="bool" value="true"/>
<property name="Resolution" type="string" value="1920x1080"/>
<property name="RefreshRate" type="double" value="30.000000"/>
<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>
<property name="Notify" type="bool" value="true"/>
</channel>

View file

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="keyboard-layout" version="1.0">
<property name="Default" type="empty">
<property name="XkbDisable" type="bool" value="true"/>
<property name="XkbOptions" type="empty">
<property name="Group" type="string" value=""/>
<property name="Compose" type="string" value="compose:prsc"/>
</property>
</property>
</channel>

View file

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="pointers" version="1.0">
<property name="Logitech_G400s_Optical_Gaming_Mouse" type="empty">
<property name="RightHanded" type="bool" value="true"/>
<property name="Threshold" type="int" value="4"/>
<property name="Acceleration" type="double" value="4.600000"/>
</property>
</channel>

View file

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="thunar" version="1.0">
<property name="last-view" type="string" value="ThunarIconView"/>
<property name="last-icon-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_NORMAL"/>
<property name="last-window-width" type="int" value="1276"/>
<property name="last-window-height" type="int" value="1411"/>
<property name="last-window-maximized" type="bool" value="false"/>
<property name="last-separator-position" type="int" value="170"/>
<property name="last-sort-column" type="string" value="THUNAR_COLUMN_DATE_MODIFIED"/>
<property name="last-sort-order" type="string" value="GTK_SORT_ASCENDING"/>
</channel>

View file

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-appfinder" version="1.0">
<property name="last" type="empty">
<property name="window-height" type="int" value="400"/>
<property name="window-width" type="int" value="2554"/>
<property name="pane-position" type="int" value="180"/>
</property>
</channel>

View file

@ -1,30 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-desktop" version="1.0">
<property name="backdrop" type="empty">
<property name="screen0" type="empty">
<property name="monitor0" type="empty">
<property name="workspace0" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="5"/>
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-teal.jpg"/>
</property>
<property name="workspace1" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="5"/>
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-teal.jpg"/>
</property>
<property name="workspace2" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="5"/>
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-teal.jpg"/>
</property>
<property name="workspace3" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="5"/>
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-teal.jpg"/>
</property>
</property>
</property>
</property>
</channel>

View file

@ -1,27 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-notifyd" version="1.0">
<property name="notify-location" type="uint" value="2"/>
<property name="theme" type="string" value="Default"/>
<property name="expire-timeout" type="int" value="6"/>
<property name="initial-opacity" type="double" value="1.000000"/>
<property name="applications" type="empty">
<property name="known_applications" type="array">
<value type="string" value="Electron"/>
<value type="string" value="FileZilla"/>
<value type="string" value="Firefox"/>
<value type="string" value="geary"/>
<value type="string" value="hexchat"/>
<value type="string" value="nm-applet"/>
<value type="string" value="notify-send"/>
<value type="string" value="ScudCloud"/>
<value type="string" value="Thunderbird"/>
<value type="string" value="Xfce4-notifyd settings"/>
<value type="string" value="xfce4-power-manager"/>
</property>
</property>
<property name="log-level" type="uint" value="0"/>
<property name="log-level-apps" type="uint" value="0"/>
<property name="primary-monitor" type="uint" value="1"/>
<property name="do-fadeout" type="bool" value="false"/>
</channel>

View file

@ -1,99 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-panel" version="1.0">
<property name="configver" type="int" value="2"/>
<property name="panels" type="array">
<value type="int" value="1"/>
<property name="panel-1" type="empty">
<property name="position" type="string" value="p=6;x=0;y=0"/>
<property name="length" type="uint" value="100"/>
<property name="position-locked" type="bool" value="true"/>
<property name="size" type="uint" value="24"/>
<property name="plugin-ids" type="array">
<value type="int" value="11"/>
<value type="int" value="4"/>
<value type="int" value="3"/>
<value type="int" value="15"/>
<value type="int" value="7"/>
<value type="int" value="8"/>
<value type="int" value="1"/>
<value type="int" value="9"/>
<value type="int" value="10"/>
<value type="int" value="5"/>
<value type="int" value="6"/>
<value type="int" value="2"/>
</property>
<property name="autohide-behavior" type="uint" value="0"/>
<property name="background-alpha" type="uint" value="77"/>
<property name="background-style" type="uint" value="0"/>
<property name="length-adjust" type="bool" value="false"/>
<property name="background-color" type="array">
<value type="uint" value="62965"/>
<value type="uint" value="63222"/>
<value type="uint" value="63479"/>
<value type="uint" value="65535"/>
</property>
<property name="span-monitors" type="bool" value="false"/>
</property>
</property>
<property name="plugins" type="empty">
<property name="plugin-2" type="string" value="actions"/>
<property name="plugin-3" type="string" value="tasklist"/>
<property name="plugin-15" type="string" value="separator">
<property name="expand" type="bool" value="true"/>
<property name="style" type="uint" value="0"/>
</property>
<property name="plugin-5" type="string" value="clock">
<property name="digital-format" type="string" value="%T"/>
<property name="mode" type="uint" value="2"/>
</property>
<property name="plugin-6" type="string" value="systray">
<property name="names-visible" type="array">
<value type="string" value="skype"/>
<value type="string" value="smuxi-frontend-gnome"/>
<value type="string" value="nicotine.py"/>
<value type="string" value="task manager"/>
<value type="string" value="deluge"/>
<value type="string" value="steam"/>
<value type="string" value="blueberry-tray.py"/>
<value type="string" value="foobnix"/>
<value type="string" value="google-chrome-beta"/>
<value type="string" value="orage"/>
<value type="string" value="vlc"/>
<value type="string" value="sabnzbd.py"/>
<value type="string" value="clementine"/>
<value type="string" value="bluetooth"/>
<value type="string" value="mumble"/>
<value type="string" value="scudcloud slack"/>
<value type="string" value="franz"/>
<value type="string" value="xfce4-power-manager"/>
<value type="string" value="deadbeef"/>
<value type="string" value="ramme"/>
<value type="string" value="virt-manager"/>
<value type="string" value="tomahawk"/>
<value type="string" value="scudcloud slack_ssb"/>
<value type="string" value="sylpheed"/>
<value type="string" value="keybase"/>
<value type="string" value="synergy"/>
<value type="string" value="slack"/>
<value type="string" value="hexchat"/>
<value type="string" value="zoom"/>
<value type="string" value="networkmanager applet"/>
<value type="string" value="blueman-applet"/>
<value type="string" value="mailspring"/>
<value type="string" value="remmina"/>
</property>
</property>
<property name="plugin-9" type="string" value="cpugraph"/>
<property name="plugin-10" type="string" value="netload"/>
<property name="plugin-11" type="string" value="whiskermenu"/>
<property name="plugin-1" type="string" value="power-manager-plugin"/>
<property name="plugin-4" type="string" value="pager">
<property name="rows" type="uint" value="1"/>
</property>
<property name="plugin-7" type="string" value="genmon"/>
<property name="plugin-8" type="string" value="separator">
<property name="style" type="uint" value="0"/>
</property>
</property>
</channel>

View file

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-power-manager" version="1.0">
<property name="xfce4-power-manager" type="empty">
<property name="brightness-switch-restore-on-exit" type="int" value="0"/>
<property name="brightness-switch" type="int" value="0"/>
</property>
</channel>

View file

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-settings-editor" version="1.0">
<property name="last" type="empty">
<property name="window-width" type="int" value="676"/>
<property name="window-height" type="int" value="390"/>
<property name="paned-position" type="int" value="180"/>
</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,41 +0,0 @@
set -g prefix C-a
unbind C-b
bind-key C-o last-window
bind-key C-a select-pane -t :.+
bind-key a send-prefix
bind-key j select-pane -D
bind-key k select-pane -U
bind-key h select-pane -L
bind-key l select-pane -R
bind-key C-n next-window
bind-key C-p previous-window
set -g set-titles off
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
# 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]'
# 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-bg red

View file

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

View file

@ -1,32 +0,0 @@
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
function Send_to_Screen(text)
if !exists("g:screen_sessionname") || !exists("g:screen_windowname")
call Screen_Vars()
end
echo system("screen -S " . g:screen_sessionname . " -p " . g:screen_windowname . " -X stuff '" . substitute(a:text, "'", "'\\\\''", 'g') . "'")
endfunction
function Screen_Session_Names(A,L,P)
return system("screen -ls | awk '/Attached/ {print $1}'")
endfunction
function Screen_Vars()
if !exists("g:screen_sessionname") || !exists("g:screen_windowname")
let g:screen_sessionname = ""
let g:screen_windowname = "0"
end
let g:screen_sessionname = input("session name: ", "", "custom,Screen_Session_Names")
let g:screen_windowname = input("window name: ", g:screen_windowname)
endfunction
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
vmap <C-c><C-c> "ry :call Send_to_Screen(@r)<CR>
nmap <C-c><C-c> vip<C-c><C-c>
nmap <C-c>v :call Screen_Vars()<CR>

File diff suppressed because it is too large Load diff

651
.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

3
bin/appimage/nvim.sh Executable file
View file

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

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

4
bin/bazel-in-bear Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
LIB=lib/x86_64-linux-gnu
export LD_PRELOAD=$(eval "echo ${LD_PRELOAD}")
bazel --batch "$@" --action_env=LD_PRELOAD=${LD_PRELOAD} --action_env=BEAR_OUTPUT=${BEAR_OUTPUT} --spawn_strategy=local

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

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

@ -1,11 +1,11 @@
#!/usr/bin/env python
#!/usr/bin/env python2
import sys
loadfile = sys.stdin
if len(sys.argv) == 1:
print "No command to run"
print("No command to run")
sys.exit(1)
if len(sys.argv) == 3:
@ -26,7 +26,7 @@ def div(x,y):
lis = []
for line in loadfile:
if line.strip() <> "":
if line.strip() is not "":
x = float(line)
lis.append(x)

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

63
bin/executable_gblame Normal file
View file

@ -0,0 +1,63 @@
#!/usr/bin/env python3
import subprocess
import sys
import os
from typing import List, Dict, Any
DataLine = Dict[Any, Any]
def grab_blame_data() -> List[DataLine]:
p = subprocess.check_output(
["git", "blame", "--line-porcelain"] + sys.argv[1:],
encoding='utf-8',
)
data = []
cur = {}
p = str(p)
in_segment = False
for line in p.splitlines():
l = line.rstrip()
if len(l) == 0:
continue
if l[0] == '\t':
cur["data"] = l[1:]
data.append(cur)
cur = {}
in_segment = False
continue
d = l.split()
if not in_segment:
cur["sha"] = d[0]
cur["sha8"] = d[0][:8]
in_segment = True
else:
cur[d[0]] = " ".join(d[1:])
assert in_segment is False
return data
FIELDS = ["sha8", "author", "summary", "data"]
def main() -> None:
d = grab_blame_data()
lens = {}
for f in FIELDS:
maxn = 0
for x in d:
if len(x[f]) > maxn:
maxn = len(x[f])
lens[f] = maxn
for x in d:
s = ""
for f in FIELDS:
s = s + x[f].ljust(lens[f]) + ' '
print(s)
if __name__ == "__main__":
main()

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

61
bin/executable_pk Normal file
View file

@ -0,0 +1,61 @@
#!/bin/sh
search () {
shift
if command -v pacman &> /dev/null; then
pacman -Ss $1 || yay -Ss $1
elif command -v dnf &> /dev/null; then
dnf search $1
elif command -v port &> /dev/null; then
port search $1
elif command -v portmaster &> /dev/null; then
cd /usr/ports
make search name=$1 | grep "^\(Port\|Path\|Info\|Moved\|$\)"
elif command -v aptitude &> /dev/null; then
aptitude search $1
elif command -v apt-cache &> /dev/null; then
apt-cache search $1
fi
}
update () {
shift
if command -v pacman &> /dev/null; then
sudo pacman -Sy
elif command -v dnf &> /dev/null; then
sudo dnf update
elif command -v port &> /dev/null; then
sudo port selfupdate
elif command -v portsnap &> /dev/null; then
sudo portsnap fetch && sudo portsnap upgrade
elif command -v apt-get &> /dev/null; then
sudo apt-get update
fi
}
install () {
shift
if command -v pacman &> /dev/null; then
sudo pacman -S $* || yay -S $*
elif command -v dnf &> /dev/null; then
sudo dnf install $*
elif command -v port &> /dev/null; then
sudo port install $*
elif command -v portmaster &> /dev/null; then
sudo portmaster $*
elif command -v apt-get &> /dev/null; then
sudo apt-get install $*
fi
}
case $1
in
"i" | "install")
install $*;;
"s" | "search")
search $*;;
"u" | "update")
update $*;;
esac

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
if [ -n "`which nvim`" ]; then
nvim "$@"
exec -a nvim nvim "$@"
else
vim "$@"
exec -a vim vim "$@"
fi

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

Binary file not shown.

32
bin/move_bazel_rule.sh Executable file
View file

@ -0,0 +1,32 @@
#!/bin/bash
set -e
if [ -z "$1" ]; then
cat << EOF
Usages:
$0 NEW_BAZEL_FILE
Search for BUILD targets with these names in the git repo
$0 NEW_BAZEL_FILE FIXUP_BAZEL_FILE
Find instances of the BUILD targets in the to-be-fixed-file
$0 NEW_BAZEL_FILE FIXUP_BAZEL_FILE PREFIX
Find instances of that BUILD target with an old prefix (eg: '//:')
$0 NEW_BAZEL_FILE FIXUP_BAZEL_FILE PREFIX NEW_PREFIX
Apply the NEW_PREFIX (eg, a package move) in place of the PREFIX in the FIXUP file.
EOF
exit
fi
INCOMING_SET=$(grep "name" $1 | cut -d '"' -f 2)
TO_CHANGE=$2
PREVIOUS_PATH=$3
NEW_PATH=$4
for TARGET in $INCOMING_SET; do
if [ -n "$TO_CHANGE" ]; then
grep ${PREVIOUS_PATH}${TARGET} $TO_CHANGE
if [ -n "$NEW_PATH" ]; then
sed -i "s^${PREVIOUS_PATH}${TARGET}^${NEW_PATH}${TARGET}^g" $TO_CHANGE
fi
else
git grep ${TARGET}
fi
done

55
bin/pk
View file

@ -1,55 +0,0 @@
#!/bin/sh
search () {
shift
if which pacman >/dev/null; then
pacman -Ss $1 || yay -Ss $1
elif which port >/dev/null; then
port search $1
elif which portmaster >/dev/null; then
cd /usr/ports
make search name=$1 | grep "^\(Port\|Path\|Info\|Moved\|$\)"
elif which aptitude >/dev/null; then
aptitude search $1
elif which apt-cache >/dev/null; then
apt-cache search $1
fi
}
update () {
shift
if which pacman >/dev/null; then
sudo pacman -Sy
elif which port >/dev/null; then
sudo port selfupdate
elif which portmaster >/dev/null; then
sudo portsnap fetch && sudo portsnap upgrade
elif which apt-get >/dev/null; then
sudo apt-get update
fi
}
install () {
shift
if which pacman >/dev/null; then
sudo pacman -S $* || yay -S $*
elif which port >/dev/null; then
sudo port install $*
elif which portmaster >/dev/null; then
sudo portmaster $*
elif which apt-get >/dev/null; then
sudo apt-get install $*
fi
}
case $1
in
"i" | "install")
install $*;;
"s" | "search")
search $*;;
"u" | "update")
update $*;;
esac

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 terminator`" ]; then
terminator
elif [ -n "`which gnome-terminal`" ]; then
gnome-terminal
elif [ -n "`which urxvt`" ]; then
urxvt
else
xterm
fi

50
bin/tunnelwrap Executable file
View file

@ -0,0 +1,50 @@
#!/bin/bash
set -e
USAGE="Usage: $0 [-p port] <portforward> <hostconnection> <command>"
if [ $# -lt 2 ]; then
echo "$USAGE"
exit 1
fi
OPTIND=1
PORT=""
KEYFILE=""
while getopts "h?p:i:" opt; do
case "$opt" in
h|\?)
echo "$USAGE"
exit 1
;;
p) PORT=$OPTARG
;;
i) KEYFILE=$OPTARG
;;
esac
done
shift $((OPTIND-1))
[ "${1:-}" = "--" ] && shift
SSH_OPTS=""
if [ -n "$PORT" ]; then
SSH_OPTS="${SSH_OPTS} -p ${PORT}"
fi
if [ -n "$KEYFILE" ]; then
SSH_OPTS="${SSH_OPTS} -i ${KEYFILE}"
fi
CONTROLFILE="/tmp/tunnelwrap.$RANDOM"
PORTFORWARD="$1"
shift
HOSTCONNECTION="$1"
shift
ssh -M -S $CONTROLFILE -fnNT -L $PORTFORWARD $SSH_OPTS $HOSTCONNECTION
"$@"
ssh -S $CONTROLFILE -O exit $HOSTCONNECTION

View file

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

View file

@ -59,8 +59,9 @@ alias setclip='xclip -selection c'
alias getclip='xclip -selection clipboard -o'
#machines
alias lear="ssh -D 7777 -Y barak@lear.barakmich.com"
alias puck="ssh -D 7777 -Y barak@puck.barakmich.com"
alias hero="ssh -D 7777 -Y barak@hero.barakmich.com"
alias hermia="ssh -Y barak@hermia.home.0b100.net"
#Cosmetic/useful
#alias naim="naim --noscreen"
@ -79,6 +80,9 @@ alias saupdate="sa-learn --mbox --spam ~/mail/spam"
alias pshosers="ps axeo pcpu,pid,user,command | sort -k 1 -r | head -11 "
alias memhosers="ps axeo size,pcpu,pid,user,command | sort -n -r | head -11 "
alias psx="ps auxwww | grep $1"
alias blaze="bazel"
alias pb='curl -F c=@- https://busb.us/'
alias pburl='curl -F c=@- https://busb.us/u'
#work
alias totemp="cd `pwd | sed 's/controllers/templates/'`"
@ -100,6 +104,10 @@ dobenchx() {
}
alias benchx=dobenchx
do_killgrep() {
ps auxwww | grep $1 | awk '{print $2}' | xargs kill
}
alias killgrep=do_killgrep
#function gvim () {
#`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
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
. ~/local/google-cloud-sdk/completion.bash.inc
fi
. "$HOME/.cargo/env"

2
dot_cargo/config.toml Normal file
View file

@ -0,0 +1,2 @@
[net]
git-fetch-with-cli = true

View file

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

View file

Before

Width:  |  Height:  |  Size: 254 B

After

Width:  |  Height:  |  Size: 254 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 254 B

After

Width:  |  Height:  |  Size: 254 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 174 B

After

Width:  |  Height:  |  Size: 174 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: 165 B

After

Width:  |  Height:  |  Size: 165 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 172 B

After

Width:  |  Height:  |  Size: 172 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 170 B

After

Width:  |  Height:  |  Size: 170 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 152 B

After

Width:  |  Height:  |  Size: 152 B

Before After
Before After

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