aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Goncharow <alec@goncharow.dev>2024-01-04 20:28:09 -0500
committerAlec Goncharow <alec@goncharow.dev>2024-01-04 20:28:09 -0500
commit67d40a9139547bb61fe3aacb54491b6e40a3cab8 (patch)
tree3d0638be0d92ec4fc005119a51d8497f22492122
parentc3575e1f0448faf27d9d00042ed124028b82f26b (diff)
sync
-rw-r--r--.config/alacritty/alacritty.toml25
-rw-r--r--.config/sway/config4
-rw-r--r--.zshrc2
-rwxr-xr-xfunctions/zig.sh8
4 files changed, 37 insertions, 2 deletions
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).
@@ -222,8 +222,8 @@ 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
}