Update readme

This commit is contained in:
Thomas Dehaeze 2019-04-01 18:13:54 +02:00
parent c9b1c5aa8c
commit 50fcefa58b
2 changed files with 2354 additions and 1721 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,13 @@
#+TITLE: Dotfiles - Manjaro Linux on Macbook Pro
#+SETUPFILE: https://fniessen.github.io/org-html-themes/setup/theme-readtheorg.setup
:DRAWER:
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="https://fniessen.github.io/org-html-themes/styles/readtheorg/css/htmlize.css"/>
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="https://fniessen.github.io/org-html-themes/styles/readtheorg/css/readtheorg.css"/>
#+HTML_HEAD: <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
#+HTML_HEAD: <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
#+HTML_HEAD: <script type="text/javascript" src="https://fniessen.github.io/org-html-themes/styles/lib/js/jquery.stickytableheaders.min.js"></script>
#+HTML_HEAD: <script type="text/javascript" src="https://fniessen.github.io/org-html-themes/styles/readtheorg/js/readtheorg.js"></script>
:END:
* Ressources
** Dotfiles
@ -86,19 +94,6 @@ yay -S hub
** Credential Helper setup with Pass
This is explained in a further part: [[*Integration with Git][Integration of Pass with Git]].
* TODO [#A] Dotfile Manager: yadm
https://github.com/TheLocehiliosan/yadm
** Installation
#+BEGIN_SRC bash :tangle ~/dotfiles-install.sh
yay -S yadm-git
#+END_SRC
** TODO [#A] Managing Yadm with Magit on Emacs
https://github.com/TheLocehiliosan/yadm/blob/09a018ea5a081923a8d39f5f0bb02b138284230a/yadm.md
** TODO [#A] Switch from YADM to litterate dotfiles
SCHEDULED: <2019-01-07 lun.>
* Terminal
https://github.com/thestinger/termite
** Termite
@ -644,9 +639,6 @@ https://github.com/skorokithakis/catt
| volumedown | Turn down volume by a DELTA increment |
| volumeup | Turn up volume by a DELTA increment |
*** TODO Cast from qutebrowser on youtube
This is explained here: [[*Chromecast integration][Chromecast integration]].
** TODO Popcorn Time or similar
** TODO [#C] Movie Collection Manager - Filebot
https://github.com/filebot/filebot
@ -772,12 +764,36 @@ https://robots.thoughtbot.com/weechat-for-slacks-irc-gateway
Use the command =/fset=
*** Multi-line messages
Solution is provided here: https://github.com/wee-slack/wee-slack/issues/118
It uses [[https://weechat.org/scripts/source/multiline.pl.html/][multiline.pl]] script.
Then alt-enter is bound to insert a new line:
#+begin_src conf
/set plugins.var.perl.multiline.magic_paste_only on
/key bind meta-ctrl-M /input insert \x0a
#+end_src
And enter is bound to =magic_enter= that directly sends the message if its one line, and if its multiple line, waits a little bit and then sends the message:
#+begin_src conf
/key bind ctrl-M /input magic_enter
#+end_src
*** Send message using =$EDITOR=
https://github.com/keith/edit-weechat
#+begin_src bash
mkdir -p ~/.weechat/python/autoload
cd ~/.weechat/python/autoload
wget https://raw.githubusercontent.com/keith/edit-weechat/master/edit.py
#+end_src
Then, on weechat, type =/edit=.
*** CheatSheet
| Command | Usage |
|----------+------------------|
| =Ctlr-N= | Next channel |
| =Ctlr-P= | Previous channel |
| =Esc-n= | Toggle nicklist |
| Command | Usage |
|-----------+------------------|
| =Ctlr-N= | Next channel |
| =Ctlr-P= | Previous channel |
| =Esc-n= | Toggle nicklist |
| =alt-ent= | New line |
*** Slack Integration
https://github.com/wee-slack/wee-slack
@ -1229,11 +1245,21 @@ Should I use i3 or systemd for that?
https://www.reddit.com/r/linux/comments/132gle/eli5_the_systemd_vs_initupstart_controversy/
** TODO [#C] Printer
https://wiki.archlinux.org/index.php/CUPS
http://localhost:631/
Web based administration: http://localhost:631/
=system-config-printer=
*** Check and Clear the Queue
Check the queue
#+begin_src bash
lpq
lpq -a # on all queues
#+end_src
*** TODO How to store pin number for the printer?
Clear the queue
#+begin_src bash
lprm # remove last entry only
lprm - # remove all entries
#+end_src
*** TODO CheatSheet
| Command | Usage |
@ -1246,7 +1272,7 @@ https://wiki.manjaro.org/index.php/Manjaro_Kernels
| Command | Usage |
|-------------------+--------------------------------|
| =mhwd-kernel -li= | Determine which kernel is used |
| == | Change current kernel |
| | Change current kernel |
** TODO [#C] Power Consumption
https://wiki.manjaro.org/index.php?title=Power_Savings
@ -1902,6 +1928,7 @@ https://wiki.archlinux.org/index.php/Keyboard_shortcuts
** Others
- [[https://github.com/tldr-pages/tldr][tldr]] - Community-driven man pages
- [[https://github.com/dutchcoders/transfer.sh][transfer.sh]] - upload and share files from the command line
- [[https://github.com/timvisee/ffsend][ffsend]] - share files from the command line
- https://github.com/chubin/wttr.in - weather in terminal
- https://github.com/michael-lazar/rtv
- trans =yay -S translate-shell=