summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Lilienthal <nathan@nixpulvis.com>2020-03-13 15:17:19 -0400
committerGitHub <noreply@github.com>2020-03-13 15:17:19 -0400
commitd20051b5e5a8ee3c8dcd75a87d375ac7611a9d2d (patch)
tree5060b314d8916e8a2556e37af3005008e94dc0e1
parent4000ec04d89b9bd77995960d2a9da8fcad55e003 (diff)
downloadalacritty-d20051b5e5a8ee3c8dcd75a87d375ac7611a9d2d.tar.gz
alacritty-d20051b5e5a8ee3c8dcd75a87d375ac7611a9d2d.zip
Capitalized the .desktop Filename (#3425)
Follow free desktop file naming conventions.
-rw-r--r--CHANGELOG.md2
-rw-r--r--INSTALL.md2
-rw-r--r--alacritty/Cargo.toml2
-rwxr-xr-xci/before_deploy.sh2
-rw-r--r--extra/linux/Alacritty.desktop (renamed from extra/linux/alacritty.desktop)0
-rw-r--r--extra/linux/redhat/alacritty.spec6
-rw-r--r--extra/linux/snap/snapcraft.yaml4
7 files changed, 10 insertions, 8 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9e241586..cd4c2a0f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Minimum Rust version has been bumped to 1.37.0
- Added Rust features `x11` and `wayland` to pick backends, with both enabled by default
+- Capitalized the default Alacritty.desktop file
+- Capitalized the Alacritty.desktop file
### Changed
diff --git a/INSTALL.md b/INSTALL.md
index 5e2ad16d..e50cab29 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -233,7 +233,7 @@ system menus. To install the desktop entry for Alacritty, run
```sh
sudo cp target/release/alacritty /usr/local/bin # or anywhere else in $PATH
sudo cp extra/logo/alacritty-term.svg /usr/share/pixmaps/Alacritty.svg
-sudo desktop-file-install extra/linux/alacritty.desktop
+sudo desktop-file-install extra/linux/Alacritty.desktop
sudo update-desktop-database
```
diff --git a/alacritty/Cargo.toml b/alacritty/Cargo.toml
index 05574363..bfa36c24 100644
--- a/alacritty/Cargo.toml
+++ b/alacritty/Cargo.toml
@@ -68,7 +68,7 @@ section = "rust"
priority = "optional"
assets = [
["../target/release/alacritty", "usr/bin/", "755"],
- ["../extra/linux/alacritty.desktop", "usr/share/applications/", "644"],
+ ["../extra/linux/Alacritty.desktop", "usr/share/applications/", "644"],
["../extra/logo/alacritty-term.svg", "usr/share/pixmaps/Alacritty.svg", "644"],
["../extra/completions/alacritty.bash", "usr/share/bash-completion/completions/alacritty", "644"],
["../extra/completions/alacritty.fish", "usr/share/fish/completions/alacritty.fish", "644"],
diff --git a/ci/before_deploy.sh b/ci/before_deploy.sh
index 8d508bab..23112e9d 100755
--- a/ci/before_deploy.sh
+++ b/ci/before_deploy.sh
@@ -4,7 +4,7 @@
aux_files=("extra/completions/alacritty.bash"
"extra/completions/alacritty.fish"
"extra/completions/_alacritty"
- "extra/linux/alacritty.desktop"
+ "extra/linux/Alacritty.desktop"
"extra/alacritty.info"
"alacritty.yml")
diff --git a/extra/linux/alacritty.desktop b/extra/linux/Alacritty.desktop
index 5cfd3913..5cfd3913 100644
--- a/extra/linux/alacritty.desktop
+++ b/extra/linux/Alacritty.desktop
diff --git a/extra/linux/redhat/alacritty.spec b/extra/linux/redhat/alacritty.spec
index c098309c..75c00280 100644
--- a/extra/linux/redhat/alacritty.spec
+++ b/extra/linux/redhat/alacritty.spec
@@ -31,7 +31,7 @@ cargo build --release
%install
install -p -D -m755 target/release/alacritty %{buildroot}%{_bindir}/alacritty
-install -p -D -m644 extra/linux/alacritty.desktop %{buildroot}%{_datadir}/applications/alacritty.desktop
+install -p -D -m644 extra/linux/Alacritty.desktop %{buildroot}%{_datadir}/applications/Alacritty.desktop
install -p -D -m644 extra/logo/alacritty-term.svg %{buildroot}%{_datadir}/pixmaps/Alacritty.svg
install -p -D -m644 alacritty.yml %{buildroot}%{_datadir}/alacritty/alacritty.yml
tic -xe alacritty,alacritty-direct \
@@ -42,11 +42,11 @@ install -p -D -m644 extra/completions/alacritty.fish %{buildroot}%{_datadir}/fis
install -p -D -m644 extra/alacritty.man %{buildroot}%{_mandir}/man1/alacritty.1
%check
-desktop-file-validate %{buildroot}%{_datadir}/applications/alacritty.desktop
+desktop-file-validate %{buildroot}%{_datadir}/applications/Alacritty.desktop
%files
%{_bindir}/alacritty
-%{_datadir}/applications/alacritty.desktop
+%{_datadir}/applications/Alacritty.desktop
%{_datadir}/pixmaps/Alacritty.svg
%{_datadir}/alacritty/alacritty.yml
%{_datadir}/terminfo/a/alacritty*
diff --git a/extra/linux/snap/snapcraft.yaml b/extra/linux/snap/snapcraft.yaml
index cce691df..5b9394a6 100644
--- a/extra/linux/snap/snapcraft.yaml
+++ b/extra/linux/snap/snapcraft.yaml
@@ -24,8 +24,8 @@ parts:
plugin: dump
source: .
stage:
- - extra/linux/alacritty.desktop
+ - extra/linux/Alacritty.desktop
apps:
alacritty:
command: env XDG_RUNTIME_DIR= XDG_CONFIG_HOME=$SNAP_USER_DATA XDG_DATA_DIRS=$SNAP_DATA PATH=$SNAP/bin:$PATH SNAP= alacritty
- desktop: alacritty.desktop
+ desktop: Alacritty.desktop