Skip to content

Instantly share code, notes, and snippets.

@LevitatingBusinessMan
Last active October 30, 2023 12:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LevitatingBusinessMan/9b0793d69cf169a95b2c0b759ff239bb to your computer and use it in GitHub Desktop.
Save LevitatingBusinessMan/9b0793d69cf169a95b2c0b759ff239bb to your computer and use it in GitHub Desktop.
IRCBOX
#tmux at -t irssi || tmux new -s irssi irssi
# Starting is handled by tmux@irssi.service
tmux at -t irssi
[Desktop Entry]
Terminal=false
Type=Application
Name=IRC
Description=Remote IRC
Exec=alacritty -e mosh irc@192.168.1.104
[Unit]
Description=%i in a tmux session
[Service]
Type=forking
ExecStart=tmux new -ds %i %i
Restart=always
[Install]
WantedBy=default.target
@LevitatingBusinessMan
Copy link
Author

sudo loginctl enable-linger "$USER"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment