mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-10-05 13:07:21 +02:00
autostart tmux in foot, not footclient
This commit is contained in:
parent
8f5628ea1c
commit
77efcc12fe
7
etc/xdg/autostart/foot-tmux.desktop
Normal file
7
etc/xdg/autostart/foot-tmux.desktop
Normal file
@ -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
|
@ -1,6 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Type=Application
|
|
||||||
Exec=footclient tmux
|
|
||||||
Icon=foot
|
|
||||||
Terminal=false
|
|
||||||
Name=Foot Client running tmux
|
|
7
install
7
install
@ -210,6 +210,10 @@ if [ "$(id -u)" == "0" ]; then
|
|||||||
fi
|
fi
|
||||||
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
|
# Enables laziness on checking whether or not apt is installed
|
||||||
mkdir -vp /etc/apt/apt.conf.d/
|
mkdir -vp /etc/apt/apt.conf.d/
|
||||||
# Enables progress bar and colours for apt/dpkg, which are helpful at
|
# Enables progress bar and colours for apt/dpkg, which are helpful at
|
||||||
@ -257,7 +261,8 @@ if [ "$(id -u)" == "0" ]; then
|
|||||||
|
|
||||||
# Symlink cleanup
|
# Symlink cleanup
|
||||||
if hash symlinks 2> /dev/null; then
|
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/
|
symlinks -d /usr/local/share/fonts/
|
||||||
else
|
else
|
||||||
echo "WARNING! Executable named symlinks not found in PATH."
|
echo "WARNING! Executable named symlinks not found in PATH."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user