install: add btop

This commit is contained in:
2 * r + 2 * t
2025-03-10 20:56:07 +11:00
parent be2f1567f0
commit 8ef8657a39
3 changed files with 17 additions and 2 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ complete -c caelestia -n $not_seen -a 'wallpaper' -d 'Change the wallpaper'
complete -c caelestia -n $not_seen -a 'pip' -d 'Picture in picture utilities'
# Install
set -l commands all discord firefox fish foot fuzzel hypr safeeyes scripts shell gtk vscode
set -l commands all btop discord firefox fish foot fuzzel hypr safeeyes scripts shell gtk vscode
complete -c caelestia -n "$seen install && not $seen $commands" -a "$commands"
# Shell
+15
View File
@@ -0,0 +1,15 @@
#!/bin/fish
. (dirname (status filename))/util.fish
install-deps git btop
set -l dist $CONFIG/btop
# Update/Clone repo
update-repo btop $dist
# Install systemd service
setup-systemd-monitor btop $dist
log 'Done.'
+1 -1
View File
@@ -35,7 +35,7 @@ if test "$argv[1]" = scheme
end
if test "$argv[1]" = install
set -l valid_modules scripts discord firefox fish foot fuzzel hypr safeeyes shell gtk vscode
set -l valid_modules scripts btop discord firefox fish foot fuzzel hypr safeeyes shell gtk vscode
if test "$argv[2]" = all
for module in $valid_modules
$src/install/$module.fish $argv[3..]