From 67d40a9139547bb61fe3aacb54491b6e40a3cab8 Mon Sep 17 00:00:00 2001 From: Alec Goncharow Date: Thu, 4 Jan 2024 20:28:09 -0500 Subject: sync --- .config/alacritty/alacritty.toml | 25 +++++++++++++++++++++++++ .config/sway/config | 4 ++-- .zshrc | 2 ++ functions/zig.sh | 8 ++++++++ 4 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 .config/alacritty/alacritty.toml diff --git a/.config/alacritty/alacritty.toml b/.config/alacritty/alacritty.toml new file mode 100644 index 0000000..9b1683f --- /dev/null +++ b/.config/alacritty/alacritty.toml @@ -0,0 +1,25 @@ +[font] +size = 11.25 + +[font.bold] +family = "FiraMono" +style = "Bold" + +[font.italic] +family = "FiraMono" +style = "Italic" + +[font.normal] +family = "FiraMono" +style = "Regular" + +[[keyboard.bindings]] +action = "SpawnNewInstance" +key = "Return" +mods = "Alt|Shift" + +[window] +opacity = 0.95 + +[colors.primary] +background = "#062625" diff --git a/.config/sway/config b/.config/sway/config index 38fe443..988aa33 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -16,7 +16,7 @@ set $mod Mod1 # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. -font pango:JetBrains Mono 8 +font pango:Fira Mono 8 # This font is widely installed, provides lots of unicode glyphs, right-to-left # text rendering and scalability on retina/hidpi displays (thanks to pango). @@ -221,9 +221,9 @@ gaps inner 10 gaps outer 0 for_window { - [class="firefox"] border none [class="firefox"] border none [app_id="firefox"] border none + [class="steam"] border none [class="Godot"] floating enable [window_role="pop-up"] floating enable [window_role="bubble"] floating enable diff --git a/.zshrc b/.zshrc index 59ca780..4fd5309 100644 --- a/.zshrc +++ b/.zshrc @@ -131,6 +131,8 @@ unset key alias cat=bat alias find=fd +alias pls='sudo $(history -p !!)' +alias jai="~/jai/bin/jai" export PATH=~/bin:$PATH export PATH=~/.local/bin:$PATH export EDITOR=nvim diff --git a/functions/zig.sh b/functions/zig.sh index 49b437a..922b804 100755 --- a/functions/zig.sh +++ b/functions/zig.sh @@ -19,6 +19,14 @@ zr () { zig build run "$@" } +zrf () { + zig build run -Doptimize=ReleaseFast "$@" +} + +zrfs () { + zig build run -Doptimize=ReleaseFast --summary all "$@" +} + zrs() { zig build run "$@" --summary all } -- cgit v1.2.3-70-g09d2