Compare commits

...

2 Commits

5 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,7 @@
[Desktop Entry]
Type=Application
Exec=footclient -T DNS journalctl --no-hostname --follow -u unbound -u systemd-resolved
Icon=foot
Terminal=false
Name=DNS log
Comment=sysadmin laziness

View File

@ -0,0 +1,7 @@
[Desktop Entry]
Type=Application
Exec=footclient -T Network journalctl --no-hostname --follow -u NetworkManager -u systemd-networkd -u wpa_supplicant -u iwd
Icon=foot
Terminal=false
Name=Network log
Comment=sysadmin laziness

View File

@ -0,0 +1,7 @@
[Desktop Entry]
Type=Application
Exec=footclient -T Time journalctl --no-hostname --follow -u chrony -u chronyd -u systemd-timesyncd -u ntp -u ntpd
Icon=foot
Terminal=false
Name=Time log
Comment=sysadmin laziness

View File

@ -0,0 +1,7 @@
[Desktop Entry]
Type=Application
Exec=footclient -T System journalctl --no-hostname --follow
Icon=foot
Terminal=false
Name=System log
Comment=sysadmin laziness

View File

@ -213,6 +213,12 @@ if [ "$(id -u)" == "0" ]; then
# SECURITY WARNING, autostarts
(rm -v /etc/xdg/autostart/footclient-tmux.desktop &)
cp -v etc/xdg/autostart/foot-tmux.desktop /etc/xdg/autostart/
if hash journalctl 2> /dev/null; then
cp -v etc/xdg/autostart/footclient-journal.desktop /etc/xdg/autostart/
cp -v etc/xdg/autostart/footclient-journal-dns.desktop /etc/xdg/autostart/
cp -v etc/xdg/autostart/footclient-journal-network.desktop /etc/xdg/autostart/
cp -v etc/xdg/autostart/footclient-journal-time.desktop /etc/xdg/autostart/
fi
# Enables laziness on checking whether or not apt is installed
mkdir -vp /etc/apt/apt.conf.d/