many changes (syncing now for my laptop)
This commit is contained in:
parent
9ecc67a2ce
commit
de010798a8
7 changed files with 86 additions and 4 deletions
|
@ -24,3 +24,5 @@ font:
|
|||
x: 0
|
||||
y: 0
|
||||
|
||||
key_bindings:
|
||||
- { key: Return, mods: Super, action: SpawnNewInstance }
|
||||
|
|
|
@ -46,20 +46,61 @@
|
|||
},
|
||||
"clangd.semanticHighlighting": true,
|
||||
"rust-analyzer.updates.checkOnStartup": false,
|
||||
"rust-analyzer.server.path": "~/bin/ra/rust-analyzer-x86_64-unknown-linux-gnu",
|
||||
"rust-analyzer.hover.memoryLayout.enable": true,
|
||||
"cSpell.userWords": [
|
||||
"Framebuffer",
|
||||
"Minecraft",
|
||||
"Odometry",
|
||||
"Vulkan",
|
||||
"endianness",
|
||||
"lerp",
|
||||
"rasterization",
|
||||
"repr",
|
||||
"setpoint",
|
||||
"spirv",
|
||||
"tpope",
|
||||
"ultigrep",
|
||||
"wgpu"
|
||||
],
|
||||
"cSpell.ignoreWords": [
|
||||
"deque"
|
||||
],
|
||||
"cSpell.enabledLanguageIds": [
|
||||
"asciidoc",
|
||||
"c",
|
||||
"cpp",
|
||||
"csharp",
|
||||
"css",
|
||||
"git-commit",
|
||||
"gitcommit",
|
||||
"go",
|
||||
"handlebars",
|
||||
"haskell",
|
||||
"html",
|
||||
"jade",
|
||||
"java",
|
||||
"javascript",
|
||||
"javascriptreact",
|
||||
"json",
|
||||
"jsonc",
|
||||
"latex",
|
||||
"less",
|
||||
"markdown",
|
||||
"md",
|
||||
"php",
|
||||
"plaintext",
|
||||
"pug",
|
||||
"python",
|
||||
"restructuredtext",
|
||||
"rust",
|
||||
"scala",
|
||||
"scss",
|
||||
"text",
|
||||
"typescript",
|
||||
"typescriptreact",
|
||||
"vim",
|
||||
"yaml",
|
||||
"yml"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -166,6 +166,7 @@ set tabstop=4
|
|||
|
||||
set scrolloff=2 " margin on bottom
|
||||
set autoread " read files changed in other editors
|
||||
set clipboard+=unnamedplus " system clipboard
|
||||
|
||||
let first_run = 0
|
||||
if has('win32') " Installs Vim-Plug TODO: fix this, it currently works on 0% of platforms
|
||||
|
|
|
@ -129,21 +129,22 @@ set $opacity 0.9
|
|||
set $deskmenu exec $term -e sway-launcher-desktop
|
||||
bindsym $mod+c exec $deskmenu
|
||||
bindsym $mod+d exec ulauncher-toggle
|
||||
bindsym XF86Search exec ulauncher-toggle
|
||||
bindsym XF86Search exec nv
|
||||
|
||||
for_window [class=".*"] border pixel 2
|
||||
|
||||
for_window [title="Alacritty"] opacity $opacity
|
||||
#for_window [title="Alacritty"] opacity $opacity
|
||||
#for_window [title="st"] opacity $opacity
|
||||
for_window [app_id="Alacritty"] border pixel 1
|
||||
for_window [app_id="Alacritty"] gaps inner 5
|
||||
for_window [app_id="Alacritty"] gaps outer 3
|
||||
|
||||
exec funring
|
||||
|
||||
exec ulauncher
|
||||
for_window [app_id="ulauncher"] border none, opacity 0.9
|
||||
|
||||
for_window [class="firefox"] opacity 1.0
|
||||
#for_window [class="firefox"] opacity 1.0
|
||||
|
||||
#for_window [title="bgb*"] floating enable
|
||||
|
||||
|
|
4
.config/tmux/tmux.conf
Normal file
4
.config/tmux/tmux.conf
Normal file
|
@ -0,0 +1,4 @@
|
|||
setw -g mode-keys vi
|
||||
set -sg escape-time 0
|
||||
bind-key -T copy-mode-vi 'v' send -X begin-selection
|
||||
bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel
|
34
.zshrc
34
.zshrc
|
@ -48,10 +48,13 @@ export GTK_THEME=Adwaita:dark
|
|||
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
|
||||
# firefox screenshare
|
||||
# https://github.com/emersion/xdg-desktop-portal-wlr/wiki/%22It-doesn't-work%22-Troubleshooting-Checklist
|
||||
export XDG_CURRENT_DESKTOP=sway
|
||||
|
||||
alias of="onefetch --no-color-palette --no-art --no-title --disabled-fields=churn"
|
||||
alias sws="static-web-server -p 8080 -d ."
|
||||
|
||||
|
||||
# this does not if accessing a git repo thru a symlink
|
||||
function git-subdir() {
|
||||
local root=$(git rev-parse --show-toplevel)
|
||||
|
@ -87,3 +90,32 @@ function did() {
|
|||
}
|
||||
|
||||
alias j=just
|
||||
alias n="fzf --print0 | xargs -0 -r -o nvim"
|
||||
|
||||
alias dy="dig +short @dns.toys"
|
||||
|
||||
# I can explain
|
||||
alias cargo="cargo mommy"
|
||||
export CARGO_MOMMYS_LITTLE="boy/puppy/dumbass/rustacean"
|
||||
export CARGO_MOMMYS_EMOTES="<3/:)/❤️/💖/💗/💓/💞/"
|
||||
export CARGO_MOMMYS_MOODS="ominous/chill/chill"
|
||||
export CARGO_MOMMYS_ROLES="ferris/ferris/ferris/mommy"
|
||||
export CARGO_MOMMYS_PRONOUNS="its"
|
||||
|
||||
alias dup='dust -sHbrz 1'
|
||||
|
||||
export FZF_DEFAULT_COMMAND='rg --files --hidden'
|
||||
|
||||
alias rd="env -u WAYLAND_DISPLAY renderdoccmd capture"
|
||||
|
||||
alias jsp='curl -X POST -H "Content-Type: application/json"'
|
||||
|
||||
export PATH=$PATH:$HOME/.gradle/toolchains/frc/2023/roborio/bin
|
||||
export PATH=$PATH:$HOME/.gradle/toolchains/frc/2024/roborio/bin
|
||||
|
||||
function timetravel() {
|
||||
restic restore latest -r /hdd/restic --target=/ --include=`pwd`/$1
|
||||
}
|
||||
|
||||
export OPENSSL_LIB_DIR=/usr/lib/openssl-1.1
|
||||
export OPENSSL_INCLUDE_DIR=/usr/include/openssl-1.1
|
||||
|
|
1
synced
1
synced
|
@ -7,6 +7,7 @@
|
|||
.config/i3status-rust/config.toml
|
||||
.config/helix/config.toml
|
||||
.config/helix/languages.toml
|
||||
.config/tmux/tmux.conf
|
||||
.zshrc
|
||||
.zshenv
|
||||
.vitetris
|
||||
|
|
Loading…
Reference in a new issue