mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-03 03:37:36 +00:00
wip: pre-split snapshot
This commit is contained in:
1 parent
b4f74342ff
commit
ab29365a3d
21 files changed
+321
-65
No files matched your search
@@ -0,0 +1 @@
|
||||
mise completion fish | source
|
||||
@@ -97,3 +97,8 @@ end
|
||||
bind "?" _atuin_ai_question_mark
|
||||
|
||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv fish)"
|
||||
|
||||
# Added by LM Studio CLI (lms)
|
||||
set -gx PATH $PATH /home/prad/.lmstudio/bin
|
||||
# End of LM Studio CLI section
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# Font Configuration
|
||||
font-size = 11
|
||||
font-family = VictorMono Nerd Font
|
||||
adjust-cell-height = 10%
|
||||
background-blur = true
|
||||
|
||||
# Window Configuration
|
||||
|
||||
@@ -171,14 +171,17 @@ o.bind("SUPER + CTRL + ALT + X", "Workspace x", hl.dsp.focus({ workspace = "name
|
||||
o.bind("SUPER + R", "Cycle window size", "omarchy-cycle-window-size")
|
||||
o.bind("SUPER + SHIFT + R", "Cycle window size back", "omarchy-cycle-window-size prev")
|
||||
|
||||
-- Alt+Shift+hjkl. Hyprland resizes by pixels, not by percent, so 100 px
|
||||
-- replaces the niri 10%.
|
||||
-- Hyprland resizes by pixels, not by percent, so 100 px replaces the niri
|
||||
-- 10%. ALT + SHIFT + H / L step the width (ALT + SHIFT + J / K move the
|
||||
-- window between monitors, above).
|
||||
o.bind("ALT + SHIFT + H", "Shrink window width", hl.dsp.window.resize({ x = -100, y = 0, relative = true }))
|
||||
o.bind("ALT + SHIFT + L", "Grow window width", hl.dsp.window.resize({ x = 100, y = 0, relative = true }))
|
||||
|
||||
hl.unbind("SUPER + CTRL + H") -- was: toggle window gaps (now Google Home; SUPER + comma shrinks width)
|
||||
hl.unbind("SUPER + CTRL + L") -- was: toggle window gaps
|
||||
hl.unbind("SUPER + CTRL + L") -- was: toggle window gaps (now LM Studio; SUPER + period grows width)
|
||||
hl.unbind("SUPER + CTRL + K") -- was: toggle window gaps
|
||||
hl.unbind("SUPER + CTRL + J") -- was: toggle window gaps
|
||||
|
||||
o.bind("SUPER + CTRL + L", "Grow window width", hl.dsp.window.resize({ x = 100, y = 0, relative = true }))
|
||||
o.bind("SUPER + CTRL + K", "Shrink window height", hl.dsp.window.resize({ x = 0, y = -100, relative = true }))
|
||||
o.bind("SUPER + CTRL + J", "Grow window height", hl.dsp.window.resize({ x = 0, y = 100, relative = true }))
|
||||
|
||||
@@ -238,13 +241,14 @@ o.bind("SUPER + CTRL + ALT + K", "Browsers", "omarchy-cycle-browser")
|
||||
o.bind("SUPER + CTRL + ALT + G", "Ghostty", "omarchy-cycle ghostty")
|
||||
o.bind("SUPER + CTRL + ALT + O", "Obsidian", "omarchy-cycle obsidian")
|
||||
o.bind("SUPER + CTRL + ALT + F", "File manager", "omarchy-launch-or-focus nautilus \"gtk-launch org.gnome.Nautilus\"")
|
||||
-- Fastmail and Beeper each live on their own scratch workspace (window rules
|
||||
-- in hypr/hyprland.lua); the toggle reveals it on the focused monitor and
|
||||
-- starts the app only when no window of it exists -- the web-app launcher
|
||||
-- would otherwise open a second window every time.
|
||||
-- Fastmail, Beeper, Google Home and LM Studio each live on their own scratch
|
||||
-- workspace (window rules in hypr/hyprland.lua); the toggle reveals it on the
|
||||
-- focused monitor and starts the app only when no window of it exists -- the
|
||||
-- web-app launcher would otherwise open a second window every time.
|
||||
o.bind("SUPER + CTRL + ALT + E", "Fastmail", "omarchy-toggle-scratch fastmail")
|
||||
o.bind("SUPER + CTRL + ALT + M", "Beeper", "omarchy-toggle-scratch beeper")
|
||||
o.bind("SUPER + CTRL + H", "Google Home", "omarchy-toggle-scratch home")
|
||||
o.bind("SUPER + CTRL + L", "LM Studio", "omarchy-toggle-scratch lmstudio")
|
||||
-- YouTube is a floating pinned window in the bottom-left corner (window rule
|
||||
-- in hypr/hyprland.lua). The summon launches it when no window exists,
|
||||
-- otherwise carries the window to the focused monitor and focuses it.
|
||||
|
||||
@@ -69,6 +69,8 @@ o.window([[^com\.fastmail\.Fastmail$]], { workspace = "special:fastmail silent"
|
||||
o.window([[^Beeper$]], { workspace = "special:beeper silent" })
|
||||
-- SUPER + CTRL + H: Google Home (Brave web app), on the focused monitor.
|
||||
o.window([[^brave-home\.google\.com__.*]], { workspace = "special:home silent" })
|
||||
-- SUPER + CTRL + L: LM Studio, on the focused monitor.
|
||||
o.window([[^ai\.elementlabs\.lmstudio$]], { workspace = "special:lmstudio silent" })
|
||||
|
||||
-- SUPER + CTRL + ALT + Y / SUPER + SHIFT + Y: the YouTube web app, summoned
|
||||
-- by ~/.local/bin/omarchy-summon. Not a scratch workspace: a floating,
|
||||
|
||||
@@ -68,11 +68,10 @@
|
||||
{
|
||||
"icon": "",
|
||||
"title": "omp",
|
||||
"shortcut": "Ctrl+Shift+A",
|
||||
"description": "omp agent in a full-height split on the right, 33%",
|
||||
"description": "omp sessions: this session's agent, every running one, quit",
|
||||
"category": "Tools",
|
||||
"aliases": ["agent", "ai"],
|
||||
"action": { "tmux": "split-window -h -f -l 33% -c '#{pane_current_path}' 'exec omp'" }
|
||||
"action": { "palette": "omp" }
|
||||
},
|
||||
{
|
||||
"icon": "",
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"title": "omp",
|
||||
"command": "~/.local/bin/pj-palette --omp",
|
||||
"grouped": true,
|
||||
"emptyText": "No omp sessions"
|
||||
}
|
||||
@@ -197,7 +197,8 @@ set -g @plugin 'eduwass/tmux-palette'
|
||||
# shortcut labels) lives in ~/.config/tmux-palette/.
|
||||
set -g @palette-key 'C-Space'
|
||||
# pj's task runner as a palette (pj-palette): quick actions + project tasks,
|
||||
# each run in a bottom split. prefix + t (Ghostty ctrl+shift+p / +space).
|
||||
# one-offs in a bottom split, dev servers / compose up in a background
|
||||
# <session>:<task> session popup. prefix + t (Ghostty ctrl+shift+p / +space).
|
||||
bind -N "Project tasks (pj)" t run-shell "~/.config/tmux/plugins/tmux-palette/bin/tmux-palette.sh tasks"
|
||||
|
||||
# Direct launchers, the kitty ctrl+shift chords (Ghostty sends prefix + key).
|
||||
@@ -205,7 +206,11 @@ bind -N "Project tasks (pj)" t run-shell "~/.config/tmux/plugins/tmux-palette/bi
|
||||
bind -N "Yazi in a new window" y new-window -c "#{pane_current_path}" "exec yazi"
|
||||
bind -N "Neovim in a new window" e new-window -c "#{pane_current_path}" "exec nvim"
|
||||
bind -N "Lazygit popup" g display-popup -E -w 90% -h 90% -d "#{pane_current_path}" lazygit
|
||||
bind -N "omp in a right split (33%)" a split-window -h -f -l 33% -c "#{pane_current_path}" "exec omp"
|
||||
# omp in a background session <session>:omp shown in a popup (pj-palette --bg,
|
||||
# listed under Running in the tasks palette). Inside any such popup, prefix + a
|
||||
# hides it instead, so ctrl+shift+a toggles.
|
||||
bind -N "omp popup (toggle)" a if -F "#{@pj_task}" detach-client \
|
||||
'run-shell -b "~/.local/bin/pj-palette --bg #{q:session_name}:omp #{q:pane_current_path} omp"'
|
||||
|
||||
# sessionx: fuzzy session switcher/creator on prefix + o (Ghostty
|
||||
# ctrl+shift+o). A query with no match goes to zoxide; uses fzf --tmux.
|
||||
|
||||
Reference in new issue
Block a user