From 77efcc12feb776818b8c6e5f288759f87b3532c7 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 11 Aug 2025 19:28:05 +0300 Subject: [PATCH] autostart tmux in foot, not footclient --- etc/xdg/autostart/foot-tmux.desktop | 7 +++++++ etc/xdg/autostart/footclient-tmux.desktop | 6 ------ install | 7 ++++++- 3 files changed, 13 insertions(+), 7 deletions(-) create mode 100644 etc/xdg/autostart/foot-tmux.desktop delete mode 100644 etc/xdg/autostart/footclient-tmux.desktop 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."