add btop as well, fix titles, rm rm

This commit is contained in:
Aminda Suomalainen 2026-01-23 09:05:44 +02:00
parent 79a64276f7
commit d156060514
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
3 changed files with 9 additions and 2 deletions

View File

@ -0,0 +1,7 @@
[Desktop Entry]
Type=Application
Exec=footclient -m -T btop btop
Icon=foot
Terminal=false
Name=btop system monitor
Comment=sysadmin laziness

View File

@ -3,5 +3,5 @@ Type=Application
Exec=footclient -T htop htop
Icon=foot
Terminal=false
Name=System log
Name=htop system monitor
Comment=sysadmin laziness

View File

@ -335,8 +335,8 @@ if [ "$(id -u)" == "0" ]; then
fi
# SECURITY WARNING, autostarts
(rm -v /etc/xdg/autostart/footclient-tmux.desktop &)
cp -v etc/xdg/autostart/foot-tmux.desktop /etc/xdg/autostart/
cp -v etc/xdg/autostart/footclient-btop.desktop /etc/xdg/autostart/
cp -v etc/xdg/autostart/footclient-htop.desktop /etc/xdg/autostart/
if hash journalctl 2> /dev/null; then