mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 19:32:43 +00:00
chore(config): clean up and reorganize configuration files
This commit is contained in:
1 parent
0da56bed45
commit
fba17a9a56
25 files changed
+34
-598
No files matched your search
@@ -16,6 +16,7 @@ function fish_user_key_bindings
|
||||
# prompt back in place (or below any output) afterwards. ctrl-a:
|
||||
# omp-session resumes or starts omp for the repo (same in zsh); when it
|
||||
# opens the omp-sessions cable and it is cancelled, it steps back up.
|
||||
# ctrl-n: always a new omp session.
|
||||
bind -M $mode ctrl-e '_tv_inline git-files; commandline -f repaint'
|
||||
bind -M $mode ctrl-b purple repaint
|
||||
bind -M $mode ctrl-y clip-last
|
||||
@@ -23,6 +24,7 @@ function fish_user_key_bindings
|
||||
bind -M $mode ctrl-o _gho_bind
|
||||
bind -M $mode ctrl-p _pj_bind
|
||||
bind -M $mode ctrl-a 'omp-session; commandline -f repaint'
|
||||
bind -M $mode ctrl-n 'omp; commandline -f repaint'
|
||||
bind -M $mode ctrl-w 'atuin ai inline; commandline -f repaint'
|
||||
# ctrl-z at the prompt: fg the only background job, or pick one from
|
||||
# the jobs tv cable when there are several (_jobs_bind).
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
# Font Configuration
|
||||
font-size = 12.5
|
||||
font-size = 13
|
||||
font-family = Victor Mono NF
|
||||
background-blur = true
|
||||
|
||||
# Window Configuration
|
||||
window-decoration = false
|
||||
window-padding-x = 12
|
||||
window-padding-y = 12
|
||||
window-padding-x = 0
|
||||
window-padding-y = 0
|
||||
background-opacity = 0.9
|
||||
|
||||
# Cursor Configuration
|
||||
@@ -37,6 +37,10 @@ gtk-titlebar = false
|
||||
|
||||
quit-after-last-window-closed = false
|
||||
quit-after-last-window-closed-delay = 5m
|
||||
# Every window and tab attaches to the tmux session "main", creating it
|
||||
# when missing, so closing Ghostty detaches instead of killing the shells.
|
||||
command = tmux new-session -A -s main
|
||||
|
||||
# Shell integration
|
||||
shell-integration = detect
|
||||
shell-integration-features = cursor,sudo,title,no-cursor
|
||||
|
||||
@@ -273,7 +273,7 @@ hl.unbind("SUPER + P") -- was: pseudo window
|
||||
hl.unbind("SUPER + SPACE") -- was: pseudo window
|
||||
|
||||
-- Omarchy's SUPER + SPACE is ALT + SPACE, so the key is free in Omarchy.
|
||||
o.bind("ALT + SPACE", "Toggle Launcher", "omarchy-menu toggle launcher")
|
||||
-- o.bind("ALT + SPACE", "Toggle Launcher", "omarchy-menu toggle launcher")
|
||||
|
||||
-- Mod+Shift+Return was the vicinae window switcher. ScrollOverview on
|
||||
-- ALT + TAB below takes that job, so SUPER + SHIFT + RETURN keeps its default
|
||||
|
||||
@@ -31,6 +31,10 @@ hl.config({
|
||||
decoration = {
|
||||
rounding = 0,
|
||||
|
||||
-- Backdrop behind every scratch (special) workspace: the desktop under it
|
||||
-- is darkened by this fraction.
|
||||
dim_special = 0.33,
|
||||
|
||||
blur = {
|
||||
enabled = true,
|
||||
-- Cheaper than the themes' size 6 / 3 passes; with only terminals
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
-- See https://wiki.hypr.land/Configuring/Basics/Monitors/
|
||||
-- List current monitors and supported resolutions with: hyprctl monitors all
|
||||
|
||||
local omarchy_gdk_scale = 2
|
||||
local omarchy_monitor_scale = 2
|
||||
local omarchy_gdk_scale = 3
|
||||
local omarchy_monitor_scale = 3.2
|
||||
|
||||
hl.env("GDK_SCALE", tostring(omarchy_gdk_scale))
|
||||
hl.monitor({ output = "", mode = "preferred", position = "auto", scale = omarchy_monitor_scale })
|
||||
|
||||
-- Apple Studio Display on the left, laptop panel (eDP-1) on the right.
|
||||
-- Logical widths at scale 2: 5120/2 = 2560, so eDP-1 starts at x=2560.
|
||||
hl.monitor({ output = "DP-4", mode = "5120x2880@60", position = "0x0", scale = 2 })
|
||||
hl.monitor({ output = "eDP-1", mode = "2560x1600@180", position = "2560x0", scale = 2 })
|
||||
-- Laptop panel (eDP-1) on the left, Apple Studio Display on the right.
|
||||
-- Logical widths at scale 2: 2560/2 = 1280, so DP-4 starts at x=1280.
|
||||
hl.monitor({ output = "eDP-1", mode = "2560x1600@180", position = "0x0", scale = 2 })
|
||||
hl.monitor({ output = "DP-4", mode = "5120x2880@60", position = "1280x0", scale = 2 })
|
||||
|
||||
-- Configure a specific monitor.
|
||||
-- hl.monitor({ output = "DP-2", mode = "2560x1440@144", position = "0x0", scale = 1 })
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
# ── base.conf · shared ──
|
||||
font_family VictorMono Nerd Font
|
||||
font_size 13.0
|
||||
bold_italic_font auto
|
||||
window_padding_width 8
|
||||
hide_window_decorations yes
|
||||
|
||||
@@ -104,3 +104,12 @@ set -g message-style "bg=default,fg=blue"
|
||||
set -g message-command-style "bg=default,fg=blue"
|
||||
set -g mode-style "bg=blue,fg=black"
|
||||
setw -g clock-mode-colour blue
|
||||
|
||||
# Plugins (tpm, cloned by .chezmoiexternal.toml). prefix + I installs,
|
||||
# prefix + U updates, prefix + alt + u removes unlisted ones.
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'vaaleyard/tmux-dotbar'
|
||||
|
||||
# Keep at the very bottom.
|
||||
run '~/.config/tmux/plugins/tpm/tpm'
|
||||
@@ -16,7 +16,7 @@ _zle-run() {
|
||||
$cmd </dev/tty
|
||||
zle reset-prompt
|
||||
}
|
||||
for _cmd in purple clip-last omp-session yy lazygit; do
|
||||
for _cmd in purple clip-last omp-session omp yy lazygit; do
|
||||
zle -N "run-$_cmd" _zle-run
|
||||
done
|
||||
unset _cmd
|
||||
@@ -85,6 +85,8 @@ bindkey '^P' pj-inline
|
||||
# ctrl-a: omp-session resumes or starts omp for the repo; after a cancelled
|
||||
# omp-sessions picker it moves the cursor back up itself.
|
||||
bindkey '^A' run-omp-session
|
||||
# ctrl-n: always a new omp session.
|
||||
bindkey '^N' run-omp
|
||||
# ctrl-f: yazi; yy cd's to yazi's exit dir on quit.
|
||||
bindkey '^F' run-yy
|
||||
bindkey '^G' run-lazygit
|
||||
|
||||
Reference in new issue
Block a user