From 4a308d2d90be36981db41a2ef50a4dfc9ca6681b Mon Sep 17 00:00:00 2001 From: mitchell Date: Thu, 30 Jul 2026 17:23:14 -0400 Subject: [PATCH] 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