mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 11:32:42 +00:00
chore(config): add Bun aliases, update GROQ key, and refine Hyprland keybindings including scratchpad toggle and workspace animation settings
This commit is contained in:
1 parent
8a510bec89
commit
63309de72f
4 files changed
+26
-5
No files matched your search
@@ -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'
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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 ────────────────────────────────────────────────────────────────
|
||||
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in new issue
Block a user