diff --git a/etc/xdg/autostart/foot-tmux.desktop b/etc/xdg/autostart/foot-tmux.desktop new file mode 100644 index 00000000..a6b48f7e --- /dev/null +++ b/etc/xdg/autostart/foot-tmux.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Type=Application +Exec=foot tmux +Icon=foot +Terminal=false +Name=Foot running tmux +Comment=OOM killing foot-server is fun diff --git a/etc/xdg/autostart/footclient-tmux.desktop b/etc/xdg/autostart/footclient-tmux.desktop deleted file mode 100644 index d5684aeb..00000000 --- a/etc/xdg/autostart/footclient-tmux.desktop +++ /dev/null @@ -1,6 +0,0 @@ -[Desktop Entry] -Type=Application -Exec=footclient tmux -Icon=foot -Terminal=false -Name=Foot Client running tmux diff --git a/install b/install index 836a7b04..8926f18f 100755 --- a/install +++ b/install @@ -210,6 +210,10 @@ if [ "$(id -u)" == "0" ]; then fi fi + # SECURITY WARNING, autostarts + (rm -v /etc/xdg/autostart/footclient-tmux.desktop &) + cp -v etc/xdg/autostart/foot-tmux.desktop /etc/xdg/autostart/ + # Enables laziness on checking whether or not apt is installed mkdir -vp /etc/apt/apt.conf.d/ # Enables progress bar and colours for apt/dpkg, which are helpful at @@ -257,7 +261,8 @@ if [ "$(id -u)" == "0" ]; then # Symlink cleanup if hash symlinks 2> /dev/null; then - symlinks -d /usr/local/bin + symlinks -d /etc/xdg/autostart/ + symlinks -d /usr/local/bin/ symlinks -d /usr/local/share/fonts/ else echo "WARNING! Executable named symlinks not found in PATH."