From 4a308d2d90be36981db41a2ef50a4dfc9ca6681b Mon Sep 17 00:00:00 2001 From: mitchell Date: Thu, 30 Jul 2026 17:23:14 -0400 Subject: [PATCH 1/4] chore(sway): update media keys & mouse accel; cleanup wezterm/nvim --- nvim/dot-config/nvim/lua/plugins/editor.lua | 17 ----------------- sway/dot-config/sway/config | 17 +++++++++++------ wezterm/dot-wezterm.lua | 2 -- 3 files changed, 11 insertions(+), 25 deletions(-) diff --git a/nvim/dot-config/nvim/lua/plugins/editor.lua b/nvim/dot-config/nvim/lua/plugins/editor.lua index cb222e5..28794e2 100644 --- a/nvim/dot-config/nvim/lua/plugins/editor.lua +++ b/nvim/dot-config/nvim/lua/plugins/editor.lua @@ -85,21 +85,4 @@ return { vim.g["pencil#map#suspend_af"] = "K" end, }, - { - "folke/zen-mode.nvim", - opts = { - window = { backdrop = 0.95, options = { number = false } }, - plugins = { twilight = { enabled = false } }, - }, - keys = { - { "z", "ZenMode", desc = "Zen Mode", silent = true }, - }, - }, - { - "folke/twilight.nvim", - opts = {}, - keys = { - { "l", "Twilight", desc = "Twilight", silent = true }, - }, - }, } diff --git a/sway/dot-config/sway/config b/sway/dot-config/sway/config index 5f99c88..10148e8 100644 --- a/sway/dot-config/sway/config +++ b/sway/dot-config/sway/config @@ -60,6 +60,10 @@ gaps inner 8 # You can also configure each device individually. # Read `man 5 sway-input` for more information about this section. +input type:pointer { + accel_profile "flat" +} + ### Key bindings # # Basics: @@ -223,12 +227,12 @@ bindsym $mod+r mode "resize" bindsym --locked XF86AudioLowerVolume exec $ipc volume-down bindsym --locked XF86AudioMute exec $ipc volume-mute - # Special keys to control media via playerctl - bindsym --locked XF86AudioPlay exec playerctl play-pause - bindsym --locked XF86AudioPause exec playerctl play-pause - bindsym --locked XF86AudioPrev exec playerctl previous - bindsym --locked XF86AudioNext exec playerctl next - bindsym --locked XF86AudioStop exec playerctl stop + # Special keys to control media + bindsym --locked XF86AudioPlay exec $ipc media toggle + bindsym --locked XF86AudioPause exec $ipc media pause + bindsym --locked XF86AudioPrev exec $ipc media previous + bindsym --locked XF86AudioNext exec $ipc media next + bindsym --locked XF86AudioStop exec $ipc media stop # Special keys to adjust brightness via brightnessctl bindsym --locked XF86MonBrightnessUp exec $ipc brightness-up @@ -240,6 +244,7 @@ bindsym $mod+r mode "resize" include /etc/sway/config.d/* +exec systemctl --user start ssh-agent.service exec noctalia include ~/.config/sway/noctalia diff --git a/wezterm/dot-wezterm.lua b/wezterm/dot-wezterm.lua index 528d18d..7e3154b 100644 --- a/wezterm/dot-wezterm.lua +++ b/wezterm/dot-wezterm.lua @@ -10,8 +10,6 @@ if is_darwin() then config.default_prog = { "/opt/homebrew/bin/fish", "-l" } end -config.window_decorations = "RESIZE" - config.color_scheme = 'Kanagawa (Gogh)' config.window_background_opacity = is_darwin() and 0.85 or 0.95 From 2fda7c26217b1e2d8f10327854f45660c358a51f Mon Sep 17 00:00:00 2001 From: mitchell Date: Sun, 2 Aug 2026 16:21:05 -0400 Subject: [PATCH 2/4] chore(fish/sway): improve ssh-agent setup and auto-center on float --- fish/dot-config/fish/conf.d/define_global_variables.fish | 2 ++ fish/dot-config/fish/conf.d/import_sources.fish | 2 -- sway/dot-config/sway/config | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/fish/dot-config/fish/conf.d/define_global_variables.fish b/fish/dot-config/fish/conf.d/define_global_variables.fish index 28ddab7..13a65ce 100644 --- a/fish/dot-config/fish/conf.d/define_global_variables.fish +++ b/fish/dot-config/fish/conf.d/define_global_variables.fish @@ -14,6 +14,8 @@ set -gx PNPM_HOME $HOME/.local/share/pnpm set -gx LIBVIRT_DEFAULT_URI 'qemu:///system' +set -gx SSH_AUTH_SOCK $XDG_RUNTIME_DIR/ssh-agent.socket + if test (uname) = Darwin set -gx ANDROID_HOME $HOME/Library/Android/Sdk else diff --git a/fish/dot-config/fish/conf.d/import_sources.fish b/fish/dot-config/fish/conf.d/import_sources.fish index 580613f..1b9a8d8 100644 --- a/fish/dot-config/fish/conf.d/import_sources.fish +++ b/fish/dot-config/fish/conf.d/import_sources.fish @@ -1,5 +1,3 @@ -ssh_agent_startup - test -e /opt/homebrew/bin/brew and /opt/homebrew/bin/brew shellenv | source - diff --git a/sway/dot-config/sway/config b/sway/dot-config/sway/config index 10148e8..83e45b5 100644 --- a/sway/dot-config/sway/config +++ b/sway/dot-config/sway/config @@ -172,7 +172,7 @@ input type:pointer { bindsym $mod+f fullscreen # Toggle the current focus between tiling and floating mode - bindsym $mod+Shift+space floating toggle + bindsym $mod+Shift+space floating toggle; move position center # Swap focus between the tiling area and the floating area bindsym $mod+Mod1+space focus mode_toggle @@ -244,7 +244,6 @@ bindsym $mod+r mode "resize" include /etc/sway/config.d/* -exec systemctl --user start ssh-agent.service exec noctalia include ~/.config/sway/noctalia From 70a2041378c1779d12a3cd6fb30596a007f1ae33 Mon Sep 17 00:00:00 2001 From: mitchell Date: Sun, 2 Aug 2026 16:42:15 -0400 Subject: [PATCH 3/4] chore(utils): use mise in all distros and switch commit generator to LMC --- fish/dot-config/fish/functions/commit.fish | 4 ++-- install_utils | 13 +++++++++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/fish/dot-config/fish/functions/commit.fish b/fish/dot-config/fish/functions/commit.fish index 6f8f6fe..14e7ee8 100644 --- a/fish/dot-config/fish/functions/commit.fish +++ b/fish/dot-config/fish/functions/commit.fish @@ -1,3 +1,3 @@ -function commit -d 'Commit staged changes using Opencode' - opencode run Commit the staged changes with conventional style. +function commit -d 'Generate commit message for staged changes using LMC' + git diff --staged | lmc --new --git-message --stdin --model qwen3.6-35b-a3b end diff --git a/install_utils b/install_utils index 5e7bc18..f54741c 100755 --- a/install_utils +++ b/install_utils @@ -37,12 +37,13 @@ base_pkgs=( zoxide git-delta stow + mise ) # OS specific arrays mac_pkgs=("${base_pkgs[@]}" fd yazi) -arch_pkgs=("${base_pkgs[@]}" fd yazi ttf-nerd-fonts-symbols ttf-nerd-fonts-symbols-common ttf-nerd-fonts-symbols-mono) -debian_pkgs=("${base_pkgs[@]}" fd-find extrepo) +arch_pkgs=("${base_pkgs[@]}" fd yazi ttf-nerd-fonts-symbols ttf-nerd-fonts-symbols-common ttf-nerd-fonts-symbols-mono usage) +debian_pkgs=("${base_pkgs[@]}" fd-find) fedora_pkgs=("${base_pkgs[@]}" fd-find) case "$distro" in @@ -80,12 +81,16 @@ debian | ubuntu) log 'Installing packages with APT' sudo apt-get --quiet --yes update sudo apt-get --quiet --yes upgrade + sudo apt-get --quiet --yes install extrepo + sudo extrepo enable mise + sudo apt-get --quiet --yes update sudo apt-get --quiet --yes install "${debian_pkgs[@]}" ;; fedora | rhel | rocky | almalinux | centos) log 'Installing packages with DNF' - sudo dnf upgrade --assumeyes - sudo dnf install --assumeyes --skip-broken "${fedora_pkgs[@]}" + sudo dnf --assumeyes upgrade + sudo dnf --assumeyes copr enable jdxcode/mise + sudo dnf --assumeyes install --skip-broken "${fedora_pkgs[@]}" ;; *) echo 'Your OS is unsupported. Supported: Arch, Debian, Fedora, Mac (Brew)' From c2cc95fd8191474933efe2142ec73a8676658479 Mon Sep 17 00:00:00 2001 From: mitchell Date: Sun, 23 Aug 2026 18:58:46 -0400 Subject: [PATCH 4/4] feat(sway): add floating window shortcut --- README.md | 2 +- sway/dot-config/sway/config | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3494208..102fcad 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ This repo contains my preferred configurations for: Installs various CLI utilities based on OS availability. Supports Arch, Debian, Fedora, and macOS (brew). I recommend quickly reading what you're getting. -### `install_arch` +### `archiso/install_arch` Dependencies diff --git a/sway/dot-config/sway/config b/sway/dot-config/sway/config index 83e45b5..ffbcb66 100644 --- a/sway/dot-config/sway/config +++ b/sway/dot-config/sway/config @@ -173,6 +173,7 @@ input type:pointer { # Toggle the current focus between tiling and floating mode bindsym $mod+Shift+space floating toggle; move position center + bindsym $mod+Control+space floating enable; move position center; resize set 65 ppt 100 ppt # Swap focus between the tiling area and the floating area bindsym $mod+Mod1+space focus mode_toggle