[bin] Add pumopm to startup, new sshbind, deprecate polybar-launch

This commit adds PumoPM back to the autostart script. Its transition to a
systemd unit isn’t complete yet.

`sshbind' has been added as a shorthand for an `ssh' command.

Since I do not use polybar anymore, `polybar-launch' has been deprecated.
This commit is contained in:
Lucien Cartier-Tilet 2020-10-09 18:06:52 +02:00
parent 51474c0054
commit ae0b14d962
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -96,6 +96,7 @@
#+NAME: autostart-table
| Command | Arguments | Run once? |
|----------------------------+-----------------------------------------------------------------+-----------|
| ~pumopm~ | | yes |
| ~xfce-polkit~ | | yes |
| ~picom~ | ~--experimental-backends~ | yes |
| ~xidlehook~ | ~--not-when-audio --not-when-fullscreen --timer 3600 i3lock ''~ | yes |
@ -412,7 +413,7 @@
:END:
~pinfo~ is a utility that shows system information
* Polybar-launch
* Polybar-launch (Deprecated)
:PROPERTIES:
:HEADER-ARGS: :shebang "#!/usr/bin/env fish" :mkdirp yes :tangle ~/.local/bin/polybar-launch
:CUSTOM_ID: Polybar-launch-36789edc
@ -1178,6 +1179,19 @@
end
#+END_SRC
* sshbind
:PROPERTIES:
:HEADER-ARGS: :shebang "#!/usr/bin/env fish" :mkdirp yes :tangle ~/.local/bin/sshbind
:CUSTOM_ID: sshbind-756fabb1
:END:
Something that I did not know for quite some time but that is actually crazy
useful about SSH is its ability to bind locally the port of a remote machine,
and vice versa. The syntax is actually very simple, but I prefer a more
intuitive way of writing it. Its usage is ~sshbind PORT FROMHOST TOHOST~.
#+BEGIN_SRC fish
ssh -L $argv[1]:$argv[3]:$argv[1] $argv[2] -N
#+END_SRC
* Starwars
:PROPERTIES:
:HEADER-ARGS: :shebang "#!/usr/bin/env fish" :mkdirp yes :tangle ~/.local/bin/starwars