[org] Whitespace

Tabs to spaces, and tables realigned
This commit is contained in:
Lucien Cartier-Tilet 2021-05-21 14:36:38 +02:00
parent 6d3220e78c
commit a040bfceb7
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
6 changed files with 36 additions and 37 deletions

View File

@ -29,15 +29,15 @@ of said command running.
~set-screens~ is a custom script declared [[*set-screens][below]].
#+NAME: autostart-table
| Command | Arguments | Run once? |
|---------------+---------------------------------------+-----------|
| Command | Arguments | Run once? |
|-------------+-------------------------------------+-----------|
| ~mpc~ | ~stop~ | no |
| ~picom~ | | yes |
| ~set-screens~ | | no |
| ~picom~ | | yes |
| ~set-screens~ | | no |
| ~numlockx~ | ~on~ | yes |
| ~pumopm~ | | yes |
| ~xfce-polkit~ | | yes |
| ~nm-applet~ | | yes |
| ~pumopm~ | | yes |
| ~xfce-polkit~ | | yes |
| ~nm-applet~ | | yes |
| ~xwallpaper~ | ~--zoom (cat $HOME/.cache/wallpaper)~ | no |
| ~xss-lock~ | ~plock~ | yes |
| ~xrdb~ | ~-merge $HOME/.Xresources~ | no |
@ -732,27 +732,27 @@ associated to them, they will be downloaded as part of a single queue.
#+RESULTS: ytdl-arg-handling-gen
#+begin_example
case 4 ipv4
set -g IPV4
set -g IPV4
case 6 ipv6
set -g IPV6
set -g IPV6
case a batch-file
set -g FILE $value
set -g FILE $value
case c cache
set -g DOWNFILE $value
set -g DOWNFILE $value
case d directory
set -g ROOTDIR $value
set -g ROOTDIR $value
case e error-file
set -g ERRFILE $value
set -g ERRFILE $value
case f format
set -g FORMAT $value
set -g FORMAT $value
case l logs
set -g LOGFILE $value
set -g LOGFILE $value
case V verbose
set -g VERBOSE
set -g VERBOSE
case v version
_ytdl_version && exit
_ytdl_version && exit
case h help
_ytdl_help && exit
_ytdl_help && exit
#+end_example
The following shows how ~getopts~ is used to catch the options and switches
@ -790,22 +790,22 @@ passed to the script:
#+RESULTS: ytdl-arg-set-default-value-gen
#+begin_example
if set -q $DOWNFILE
set -g DOWNFILE $DOWNFILE_DEFAULT
set -g DOWNFILE $DOWNFILE_DEFAULT
end
if set -q $ROOTDIR
set -g ROOTDIR $ROOTDIR_DEFAULT
set -g ROOTDIR $ROOTDIR_DEFAULT
end
if set -q $ERRFILE
set -g ERRFILE $ERRFILE_DEFAULT
set -g ERRFILE $ERRFILE_DEFAULT
end
if set -q $FORMAT
set -g FORMAT $FORMAT_DEFAULT
set -g FORMAT $FORMAT_DEFAULT
end
if set -q $LOGFILE
set -g LOGFILE $LOGFILE_DEFAULT
set -g LOGFILE $LOGFILE_DEFAULT
end
if set -q $VERBOSE
set -g VERBOSE 1
set -g VERBOSE 1
end
#+end_example

View File

@ -667,10 +667,10 @@ Well need some utilities when developing Rust from Emacs, namely ~rustfmt~ an
We will also need some components for development purposes.
#+NAME: rust-components-table
| Component | Why |
|-----------+---------------------------------------------|
| rust-src | Rust documentation in Emacs |
| rls | LSP backend for Emacs |
| Component | Why |
|-----------+-------------------------------------------|
| rust-src | Rust documentation in Emacs |
| rls | LSP backend for Emacs |
| clippy | A better version of cargos ~check~ command |
#+NAME: rust-components-gen

View File

@ -32,7 +32,6 @@ still in the process of porting my [[file:spacemacs.org][Spacemacs]] configurati
(setq-default initial-major-mode 'emacs-lisp-mode)
(setq display-time-format "%Y-%m-%d %H:%M")
(display-time-mode 1) ; display time in modeline

View File

@ -240,11 +240,11 @@ my own executables, and some more.
#+RESULTS[8b780f78d3d321222408ba76c754c920d95b03ac]: generate-extra-paths
: $HOME/.pub-cache/bin \
: $HOME/.local/bin \
: $HOME/go/bin \
: $HOME/.cargo/bin \
: $HOME/.gem/ruby/2.6.0/bin \
: $HOME/.cabal/bin
: $HOME/.local/bin \
: $HOME/go/bin \
: $HOME/.cargo/bin \
: $HOME/.gem/ruby/2.6.0/bin \
: $HOME/.cabal/bin
So, lets set our user paths:
#+BEGIN_SRC fish :noweb yes

View File

@ -158,8 +158,8 @@ feature on or off. However, its behavior can be changed with
These values controls the opacity change between steps while fading in and out.
| Default value | ~0.028~ (fade-in), ~0.03~ (fade-out) |
| Min value | ~0.01~ |
| Max value | ~1.0~ |
| Min value | ~0.01~ |
| Max value | ~1.0~ |
#+BEGIN_SRC conf
fade-in-step = 0.09;
fade-out-step = 0.08;

View File

@ -114,7 +114,7 @@ of all the extra packages I use:
| nord-theme | An arctic, north-bluish clean and elegant Emacs theme. |
| s | The long lost Emacs string manipulation library. |
| sicp | Texinfo version of the [[https://mitpress.mit.edu/sites/default/files/sicp/index.html][SICP]] |
| visual-fill-column | allow the use of ~fill-column~ in ~visual-line-mode~ |
| visual-fill-column | allow the use of ~fill-column~ in ~visual-line-mode~ |
| wrap-region | easily wrap region with delimiters |
| wttrin | weather in Emacs |
| yasnippet-snippets | snippets for YaSnippet |