From 63309de72f0f85dbf9eb32d69c51e7694b89e010 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Sat, 29 Aug 2026 11:21:11 -0400 Subject: [PATCH] chore(config): add Bun aliases, update GROQ key, and refine Hyprland keybindings including scratchpad toggle and workspace animation settings --- dot_config/fish/conf.d/20-aliases.fish | 10 +++++++++- dot_config/fish/conf.d/secrets.fish | 2 +- dot_config/hypr/bindings.lua | 12 +++++++++--- dot_config/hypr/looknfeel.lua | 7 +++++++ 4 files changed, 26 insertions(+), 5 deletions(-) diff --git a/dot_config/fish/conf.d/20-aliases.fish b/dot_config/fish/conf.d/20-aliases.fish index 0bcc271..ea45a52 100644 --- a/dot_config/fish/conf.d/20-aliases.fish +++ b/dot_config/fish/conf.d/20-aliases.fish @@ -12,7 +12,14 @@ alias e.y 'yazi ~/.local/share/chezmoi/dot_config/yazi' alias e.t 'nvim ~/.local/share/chezmoi/dot_config/tmux/tmux.conf' alias e.v 'yazi ~/.config/nvim/lua' -alias hx helix +# Bun +alias br 'bun run' +alias br.d 'bun run dev' +alias br.b 'bun run build' +alias br.t 'bun run test' +alias bi 'bun install' +alias bg 'bun install -g' +alias bx 'bunx' # Quick directory jumps alias cdc 'cd ~/.config && yazi' @@ -23,6 +30,7 @@ alias cds 'cd ~/.local/share/services && ls' alias cdw 'cd ~/Downloads && yazi' # Tools +alias hx helix alias dd lazydocker alias gg lazygit alias ff 'exec fish' diff --git a/dot_config/fish/conf.d/secrets.fish b/dot_config/fish/conf.d/secrets.fish index 56c9a55..3a461da 100644 --- a/dot_config/fish/conf.d/secrets.fish +++ b/dot_config/fish/conf.d/secrets.fish @@ -4,7 +4,7 @@ set -gx PGDATABASE 'postgresql://prad:dv@localhost:5432/devdb' set -gx GITLAB_TOKEN 'glpat-CUmtwRHJl1gkFZKXnOPiEG86MQp1OjEH.01.0w0405m5v' set -gx OPPER_API_KEY 'op-5S93K4PP2AIQXVY1Y1Q5' set -gx OPENAI_API_KEY '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' -set -gx GROQ_API_KEY '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' +set -gx GROQ_API_KEY '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' set -gx WEBAWESOME_NPM_TOKEN 'my_LVaJupQwmJKhgm1lMa' set -gx TAVILY_API_KEY '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' set -gx FINANCIAL_DATASETS_API_KEY '338132a1-4349-443a-9a39-47a4c4f1e55f' diff --git a/dot_config/hypr/bindings.lua b/dot_config/hypr/bindings.lua index f6ae03b..6cfcb46 100644 --- a/dot_config/hypr/bindings.lua +++ b/dot_config/hypr/bindings.lua @@ -59,6 +59,12 @@ hl.unbind("SUPER + CTRL + K") -- was: Herdr keybindings o.bind("SUPER + CTRL + J", "Next workspace", hl.dsp.focus({ workspace = "e+1" })) o.bind("SUPER + CTRL + K", "Previous workspace", hl.dsp.focus({ workspace = "e-1" })) +-- Scratchpad. Omarchy's SUPER + S is taken by the region screenshot below, so +-- the special-workspace toggle lands here. SUPER + ALT + S (send window to +-- the scratchpad) is still the Omarchy default and needs no line. +hl.unbind("SUPER + CTRL + S") -- was: share menu +o.bind("SUPER + CTRL + S", "Toggle scratchpad", hl.dsp.workspace.toggle_special("scratchpad")) + -- Workspaces 1 to 5 on the home row of the left half: ALT to focus, -- ALT + SHIFT to send the window there. No Omarchy default uses ALT with a -- letter, so nothing is unbound. @@ -135,12 +141,12 @@ o.bind("SUPER + SHIFT + G", "Goliath", { launch = "kitty --title=goliath ssh -t -- ─── Screenshots ──────────────────────────────────────────────────────────── -hl.unbind("SUPER + S") -- was: toggle scratchpad +hl.unbind("SUPER + S") -- was: toggle scratchpad (now SUPER + CTRL + S) hl.unbind("SUPER + SHIFT + S") -- was: Google Maps -hl.unbind("SUPER + CTRL + S") -- was: share menu o.bind("SUPER + S", "Screenshot region", "omarchy-capture-screenshot region") o.bind("SUPER + SHIFT + S", "Screenshot window", "omarchy-capture-screenshot windows") -o.bind("SUPER + CTRL + S", "Screenshot monitor", "omarchy-capture-screenshot fullscreen") +-- Monitor capture moved off SUPER + CTRL + S when the scratchpad took that key. +o.bind("SUPER + SHIFT + ALT + S", "Screenshot monitor", "omarchy-capture-screenshot fullscreen") -- ─── Session ──────────────────────────────────────────────────────────────── diff --git a/dot_config/hypr/looknfeel.lua b/dot_config/hypr/looknfeel.lua index 84e7fa6..4d71efc 100644 --- a/dot_config/hypr/looknfeel.lua +++ b/dot_config/hypr/looknfeel.lua @@ -33,6 +33,13 @@ -- }, -- }) +-- The Spectra theme re-enables the workspace slide (its hyprland.lua sets +-- `workspaces` enabled with the "flow" bezier), overriding Omarchy's default +-- `hl.animation({ leaf = "workspaces", enabled = false })`. This file loads +-- after the theme, so turn it back off here. workspacesIn/workspacesOut are +-- not overridden anywhere, so they inherit this. +hl.animation({ leaf = "workspaces", enabled = false }) + -- https://wiki.hypr.land/Configuring/Basics/Variables/#layout -- hl.config({ -- layout = {