Compare commits
11 Commits
950d1a928e
...
main
Author | SHA1 | Date | |
---|---|---|---|
1101759176
|
|||
04ce9dcae0
|
|||
043d35f0d8
|
|||
88ea9997d5
|
|||
44016ea366
|
|||
db877d5f41
|
|||
d1053c6541
|
|||
ef43de9101
|
|||
068dd457d8
|
|||
b6c3430e20
|
|||
39c2f883e7
|
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
/janus/*
|
||||
byobu/.ssh-agent
|
||||
*.sqlite
|
||||
|
@@ -1,5 +1,3 @@
|
||||
import = ["~/.config/alacritty/themes/themes/tender.toml"]
|
||||
live_config_reload = true
|
||||
|
||||
[bell]
|
||||
animation = "EaseOutExpo"
|
||||
@@ -579,7 +577,7 @@ multiplier = 3
|
||||
save_to_clipboard = false
|
||||
semantic_escape_chars = ",│`|:\"' ()[]{}<>"
|
||||
|
||||
[shell]
|
||||
[terminal.shell]
|
||||
args = ["-l"]
|
||||
program = "/bin/zsh"
|
||||
|
||||
@@ -593,3 +591,9 @@ startup_mode = "Windowed"
|
||||
[window.padding]
|
||||
x = 2
|
||||
y = 2
|
||||
|
||||
[general]
|
||||
live_config_reload = true
|
||||
import = ["~/.config/alacritty/themes/themes/tender.toml"]
|
||||
|
||||
[terminal]
|
||||
|
48
config/ghostty/config
Normal file
48
config/ghostty/config
Normal file
@@ -0,0 +1,48 @@
|
||||
# This is the configuration file for Ghostty.
|
||||
#
|
||||
# This template file has been automatically created at the following
|
||||
# path since Ghostty couldn't find any existing config files on your system:
|
||||
#
|
||||
# /home/me/.config/ghostty/config
|
||||
#
|
||||
# The template does not set any default options, since Ghostty ships
|
||||
# with sensible defaults for all options. Users should only need to set
|
||||
# options that they want to change from the default.
|
||||
#
|
||||
# Run `ghostty +show-config --default --docs` to view a list of
|
||||
# all available config options and their default values.
|
||||
#
|
||||
# Additionally, each config option is also explained in detail
|
||||
# on Ghostty's website, at https://ghostty.org/docs/config.
|
||||
|
||||
# Config syntax crash course
|
||||
# ==========================
|
||||
# # The config file consists of simple key-value pairs,
|
||||
# # separated by equals signs.
|
||||
# font-family = Iosevka
|
||||
# window-padding-x = 2
|
||||
#
|
||||
# # Spacing around the equals sign does not matter.
|
||||
# # All of these are identical:
|
||||
# key=value
|
||||
# key= value
|
||||
# key =value
|
||||
# key = value
|
||||
#
|
||||
# # Any line beginning with a # is a comment. It's not possible to put
|
||||
# # a comment after a config option, since it would be interpreted as a
|
||||
# # part of the value. For example, this will have a value of "#123abc":
|
||||
# background = #123abc
|
||||
#
|
||||
# # Empty values are used to reset config keys to default.
|
||||
# key =
|
||||
#
|
||||
# # Some config options have unique syntaxes for their value,
|
||||
# # which is explained in the docs for that config option.
|
||||
# # Just for example:
|
||||
# resize-overlay-duration = 4s 200ms
|
||||
|
||||
font-family = Comic Code
|
||||
font-family-bold = Comic Code Bold
|
||||
font-family-italic = Comic Code Italic
|
||||
font-family-bold-italic = Comic Code Bold Italic
|
@@ -135,7 +135,7 @@ font pango:Comic Code Bold 12
|
||||
|
||||
xwayland enable
|
||||
|
||||
set $term alacritty
|
||||
set $term ghostty
|
||||
|
||||
exec swayidle -w \
|
||||
timeout 300 'swaylock -f -c 000000' \
|
||||
|
@@ -69,7 +69,7 @@
|
||||
forceSignAnnotated = true
|
||||
|
||||
[gpg]
|
||||
program = gpg2
|
||||
program = gpg-sq
|
||||
|
||||
[init]
|
||||
templatedir = ~/.config/git_template
|
||||
|
1337
ipython/profile_default/ipython_config.py
Normal file
1337
ipython/profile_default/ipython_config.py
Normal file
File diff suppressed because it is too large
Load Diff
11
ipython/profile_default/startup/README
Normal file
11
ipython/profile_default/startup/README
Normal file
@@ -0,0 +1,11 @@
|
||||
This is the IPython startup directory
|
||||
|
||||
.py and .ipy files in this directory will be run *prior* to any code or files specified
|
||||
via the exec_lines or exec_files configurables whenever you load this profile.
|
||||
|
||||
Files will be run in lexicographical order, so you can control the execution order of files
|
||||
with a prefix, e.g.::
|
||||
|
||||
00-first.py
|
||||
50-middle.py
|
||||
99-last.ipy
|
27
local/bin/cb-uri-tailscale
Executable file
27
local/bin/cb-uri-tailscale
Executable file
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env python3
|
||||
import subprocess
|
||||
import sys
|
||||
import urllib.parse
|
||||
|
||||
|
||||
def main(sysargs=sys.argv[:]):
|
||||
cb_uri = subprocess.check_output(["cb", "uri", *sysargs[1:]], text=True)
|
||||
|
||||
parsed_cb_uri = urllib.parse.urlsplit(cb_uri)
|
||||
tailscale_cb_uri = parsed_cb_uri._replace(
|
||||
netloc=str(parsed_cb_uri.username)
|
||||
+ ":"
|
||||
+ str(parsed_cb_uri.password)
|
||||
+ "@"
|
||||
+ str(parsed_cb_uri.hostname).split(".")[1]
|
||||
+ ":"
|
||||
+ str(parsed_cb_uri.port)
|
||||
)
|
||||
|
||||
print(tailscale_cb_uri.geturl())
|
||||
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
10
vimrc
10
vimrc
@@ -1,5 +1,4 @@
|
||||
packloadall
|
||||
call pathogen#infect()
|
||||
|
||||
syntax on
|
||||
|
||||
@@ -48,6 +47,7 @@ au BufRead,BufNewFile Dockerfile* setfiletype dockerfile
|
||||
au BufRead,BufNewFile Pipfile setfiletype toml
|
||||
au BufRead,BufNewFile kubectl-edit-status-* setfiletype yaml
|
||||
au BufRead,BufNewFile *kubeconfig* setfiletype yaml
|
||||
au BufRead,BufNewFile */.kube/config setfiletype yaml
|
||||
au BufRead,BufNewFile .lintr setfiletype yaml
|
||||
au BufRead,BufNewFile devcontainer.json setfiletype jsonc
|
||||
au BufRead,BufNewFile devcontainer-feature.json setfiletype jsonc
|
||||
@@ -122,7 +122,6 @@ let g:vim_markdown_folding_disabled = 1
|
||||
let g:vim_markdown_frontmatter = 1
|
||||
let g:yapf_style = "pep8"
|
||||
|
||||
|
||||
if exists('+termguicolors')
|
||||
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
|
||||
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
|
||||
@@ -130,8 +129,9 @@ if exists('+termguicolors')
|
||||
endif
|
||||
|
||||
"colorscheme dichromatic
|
||||
"colorscheme darcula
|
||||
colorscheme molokai
|
||||
colorscheme dracula
|
||||
"colorscheme molokai
|
||||
"colorscheme elflord
|
||||
|
||||
hi Comment cterm=NONE ctermfg=DarkRed gui=NONE guifg=red2
|
||||
hi minimapCursor ctermbg=59 ctermfg=228 guibg=#5F5F5F guifg=#FFFF87
|
||||
@@ -145,4 +145,4 @@ function! <SID>SynStack()
|
||||
echo map(synstack(line('.'), col('.')), 'synIDattr(v:val, "name")')
|
||||
endfunc
|
||||
|
||||
source ~/.vimrc.coc
|
||||
"source ~/.vimrc.coc
|
||||
|
Reference in New Issue
Block a user