mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-18 13:55:23 -05:00
Changed path to standard /usr/bin/..., registered as an x-terminal-emulator alternative
This commit is contained in:
parent
42d8989916
commit
fc04bc1e6d
5 changed files with 16 additions and 1 deletions
|
@ -36,6 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- New `mouse.url.modifiers` option to specify keyboard modifiers for opening URLs on click
|
||||
- Binaries for macOS, Windows and Debian-based systems are now published with GitHub releases
|
||||
- The keys F16-F24 have been added as options for key bindings
|
||||
- DEB file adds Alacritty as option to `update-alternatives --config x-terminal-emulator`
|
||||
|
||||
### Changed
|
||||
|
||||
|
@ -45,6 +46,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- Moved `hide_cursor_when_typing` to `mouse.hide_when_typing`
|
||||
- Mouse bindings now ignore additional modifiers
|
||||
- Extra padding is now spread evenly around the terminal grid
|
||||
- DEB file installs to `usr/bin` instead of `usr/local/bin`
|
||||
|
||||
### Removed
|
||||
|
||||
|
|
|
@ -96,13 +96,14 @@ depends = "$auto"
|
|||
section = "rust"
|
||||
priority = "optional"
|
||||
assets = [
|
||||
["target/release/alacritty", "usr/local/bin/", "755"],
|
||||
["target/release/alacritty", "usr/bin/", "755"],
|
||||
["alacritty.desktop", "usr/share/applications/", "644"],
|
||||
["alacritty-completions.bash", "usr/share/bash-completion/completions/alacritty", "644"],
|
||||
["alacritty-completions.fish", "usr/share/fish/completions/alacritty.fish", "644"],
|
||||
["alacritty-completions.zsh", "usr/share/zsh/vendor-completions/_alacritty", "644"],
|
||||
["alacritty.info", "usr/share/terminfo/a/alacritty", "644"],
|
||||
]
|
||||
maintainer-scripts = "debian"
|
||||
|
||||
[patch.crates-io]
|
||||
servo-freetype-sys = { path = "servo-freetype-proxy" }
|
||||
|
|
|
@ -222,6 +222,12 @@ cargo install cargo-deb
|
|||
cargo deb --install
|
||||
```
|
||||
|
||||
To choose a default terminal app, use Debian's `update-alternatives`.
|
||||
|
||||
```sh
|
||||
update-alternatives --config x-terminal-emulator
|
||||
```
|
||||
|
||||
## Manual Page
|
||||
|
||||
Installing the manual page requires the additional dependency `gzip`.
|
||||
|
|
3
debian/postinst
vendored
Normal file
3
debian/postinst
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /usr/bin/alacritty 20
|
3
debian/prerm
vendored
Normal file
3
debian/prerm
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
update-alternatives --remove x-terminal-emulator /usr/bin/alacritty
|
Loading…
Reference in a new issue