mirror of
https://github.com/mitchell/dotfiles.git
synced 2026-08-31 14:49:37 +00:00
chore(sway): update media keys & mouse accel; cleanup wezterm/nvim
This commit is contained in:
parent
8dc22335bc
commit
4a308d2d90
3 changed files with 11 additions and 25 deletions
|
|
@ -85,21 +85,4 @@ return {
|
||||||
vim.g["pencil#map#suspend_af"] = "K"
|
vim.g["pencil#map#suspend_af"] = "K"
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"folke/zen-mode.nvim",
|
|
||||||
opts = {
|
|
||||||
window = { backdrop = 0.95, options = { number = false } },
|
|
||||||
plugins = { twilight = { enabled = false } },
|
|
||||||
},
|
|
||||||
keys = {
|
|
||||||
{ "<leader>z", "<cmd>ZenMode<cr>", desc = "Zen Mode", silent = true },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"folke/twilight.nvim",
|
|
||||||
opts = {},
|
|
||||||
keys = {
|
|
||||||
{ "<leader>l", "<cmd>Twilight<cr>", desc = "Twilight", silent = true },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -60,6 +60,10 @@ gaps inner 8
|
||||||
# You can also configure each device individually.
|
# You can also configure each device individually.
|
||||||
# Read `man 5 sway-input` for more information about this section.
|
# Read `man 5 sway-input` for more information about this section.
|
||||||
|
|
||||||
|
input type:pointer {
|
||||||
|
accel_profile "flat"
|
||||||
|
}
|
||||||
|
|
||||||
### Key bindings
|
### Key bindings
|
||||||
#
|
#
|
||||||
# Basics:
|
# Basics:
|
||||||
|
|
@ -223,12 +227,12 @@ bindsym $mod+r mode "resize"
|
||||||
bindsym --locked XF86AudioLowerVolume exec $ipc volume-down
|
bindsym --locked XF86AudioLowerVolume exec $ipc volume-down
|
||||||
bindsym --locked XF86AudioMute exec $ipc volume-mute
|
bindsym --locked XF86AudioMute exec $ipc volume-mute
|
||||||
|
|
||||||
# Special keys to control media via playerctl
|
# Special keys to control media
|
||||||
bindsym --locked XF86AudioPlay exec playerctl play-pause
|
bindsym --locked XF86AudioPlay exec $ipc media toggle
|
||||||
bindsym --locked XF86AudioPause exec playerctl play-pause
|
bindsym --locked XF86AudioPause exec $ipc media pause
|
||||||
bindsym --locked XF86AudioPrev exec playerctl previous
|
bindsym --locked XF86AudioPrev exec $ipc media previous
|
||||||
bindsym --locked XF86AudioNext exec playerctl next
|
bindsym --locked XF86AudioNext exec $ipc media next
|
||||||
bindsym --locked XF86AudioStop exec playerctl stop
|
bindsym --locked XF86AudioStop exec $ipc media stop
|
||||||
|
|
||||||
# Special keys to adjust brightness via brightnessctl
|
# Special keys to adjust brightness via brightnessctl
|
||||||
bindsym --locked XF86MonBrightnessUp exec $ipc brightness-up
|
bindsym --locked XF86MonBrightnessUp exec $ipc brightness-up
|
||||||
|
|
@ -240,6 +244,7 @@ bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
|
|
||||||
|
exec systemctl --user start ssh-agent.service
|
||||||
exec noctalia
|
exec noctalia
|
||||||
|
|
||||||
include ~/.config/sway/noctalia
|
include ~/.config/sway/noctalia
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,6 @@ if is_darwin() then
|
||||||
config.default_prog = { "/opt/homebrew/bin/fish", "-l" }
|
config.default_prog = { "/opt/homebrew/bin/fish", "-l" }
|
||||||
end
|
end
|
||||||
|
|
||||||
config.window_decorations = "RESIZE"
|
|
||||||
|
|
||||||
config.color_scheme = 'Kanagawa (Gogh)'
|
config.color_scheme = 'Kanagawa (Gogh)'
|
||||||
|
|
||||||
config.window_background_opacity = is_darwin() and 0.85 or 0.95
|
config.window_background_opacity = is_darwin() and 0.85 or 0.95
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue