feat: add keybinding for toggling alacritty opacity

This commit is contained in:
jabuxas 2024-11-16 13:11:51 -03:00
parent 442b1894dc
commit a9050672d8

View File

@ -16,7 +16,7 @@ import = ["~/.config/alacritty/white.toml"]
[window] [window]
# opacity = 0.9 opacity = 1
padding.x = 10 padding.x = 10
# padding.y = 10 # padding.y = 10
decorations = "Full" decorations = "Full"
@ -43,3 +43,8 @@ mouse.mods = "Control"
post_processing = true post_processing = true
persist = false persist = false
regex = "(ipfs:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news:|file:|git://|ssh:|ftp://)[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩‘]+" regex = "(ipfs:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news:|file:|git://|ssh:|ftp://)[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩‘]+"
[keyboard]
bindings = [
{ key = "T", mods = "Control|Shift", command = { program = "fish", args = ["/yang/scripts/toggle_opacity_alacritty.fish"] } }
]