Skip to content

Commit

Permalink
Add alacritty
Browse files Browse the repository at this point in the history
Default linux terminal isn't great, and all the others don't seem to
work well. Let's use this instead.
  • Loading branch information
gmcgibbon committed Nov 29, 2024
1 parent bd4eb37 commit a32ac79
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 1 deletion.
1 change: 1 addition & 0 deletions Bootstrapfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ gui do
install "localsend"
install "pinta"
install "xournalpp"
install "alacritty"

macos do
install "iterm2"
Expand Down
4 changes: 4 additions & 0 deletions bootstrap/lib/bootstrap/package/sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,7 @@ xournalpp:
name: Xournal++.Xournal++
macos:
name: xournal++

alacritty:
ubuntu:
snap: true
10 changes: 9 additions & 1 deletion test/bootstrap/fedora_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ class FedoraTest < TestCase
test "installs xournalpp" do
assert_dnf_installed("xournalpp")
end

test "installs alacritty" do
assert_dnf_installed("alacritty")
end
else
test "does not install flux" do
assert_dnf_not_installed("fluxgui")
Expand Down Expand Up @@ -161,9 +165,13 @@ class FedoraTest < TestCase
assert_dnf_not_installed("pinta")
end

test "installs xournalpp" do
test "does not install xournalpp" do
assert_dnf_not_installed("xournalpp")
end

test "does not install alacritty" do
assert_dnf_not_installed("alacritty")
end
end

private
Expand Down
8 changes: 8 additions & 0 deletions test/bootstrap/macos_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ class MacosTest < TestCase
test "installs xournalpp" do
assert_brew_cask_installed("xournal++")
end

test "installs alacritty" do
assert_brew_cask_installed("alacritty")
end
else
test "does not install iterm2" do
assert_brew_cask_not_installed("iterm2")
Expand Down Expand Up @@ -176,6 +180,10 @@ class MacosTest < TestCase
test "does not install xournalpp" do
assert_brew_cask_not_installed("xournal++")
end

test "does not install alacritty" do
assert_brew_cask_not_installed("alacritty")
end
end

private
Expand Down
8 changes: 8 additions & 0 deletions test/bootstrap/ubuntu_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ class UbuntuTest < TestCase
test "installs xournalpp" do
assert_apt_installed("xournalpp")
end

test "installs alacritty" do
assert_snap_installed("alacritty")
end
else
test "does not install flux" do
assert_apt_not_installed("fluxgui")
Expand Down Expand Up @@ -164,6 +168,10 @@ class UbuntuTest < TestCase
test "does not install xournalpp" do
assert_apt_not_installed("xournalpp")
end

test "does not install alacritty" do
assert_snap_not_installed("alacritty")
end
end

private
Expand Down
4 changes: 4 additions & 0 deletions test/bootstrap/windows_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ class WindowsTest < TestCase
assert_winget_installed("Xournal++.Xournal++")
end

test "installs alacritty" do
assert_winget_installed("alacritty")
end

private

def assert_winget_installed(package_name)
Expand Down

0 comments on commit a32ac79

Please sign in to comment.