From a040bfceb7408ce9bdac54832436729c008b683d Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Fri, 21 May 2021 14:36:38 +0200 Subject: [PATCH] [org] Whitespace Tabs to spaces, and tables realigned --- org/config/bin.org | 48 ++++++++++++++++++++-------------------- org/config/bootstrap.org | 8 +++---- org/config/emacs.org | 1 - org/config/fish.org | 10 ++++----- org/config/picom.org | 4 ++-- org/config/spacemacs.org | 2 +- 6 files changed, 36 insertions(+), 37 deletions(-) diff --git a/org/config/bin.org b/org/config/bin.org index f1a6a1e..7e2150c 100644 --- a/org/config/bin.org +++ b/org/config/bin.org @@ -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 diff --git a/org/config/bootstrap.org b/org/config/bootstrap.org index 2e4a6cc..863966b 100644 --- a/org/config/bootstrap.org +++ b/org/config/bootstrap.org @@ -667,10 +667,10 @@ We’ll 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 cargo’s ~check~ command | #+NAME: rust-components-gen diff --git a/org/config/emacs.org b/org/config/emacs.org index 1a31f0a..4bc5cd5 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -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 diff --git a/org/config/fish.org b/org/config/fish.org index 8e9acfb..cdeb72a 100644 --- a/org/config/fish.org +++ b/org/config/fish.org @@ -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, let’s set our user paths: #+BEGIN_SRC fish :noweb yes diff --git a/org/config/picom.org b/org/config/picom.org index f8f4294..0bf7a54 100644 --- a/org/config/picom.org +++ b/org/config/picom.org @@ -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; diff --git a/org/config/spacemacs.org b/org/config/spacemacs.org index 80618ca..fc547aa 100644 --- a/org/config/spacemacs.org +++ b/org/config/spacemacs.org @@ -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 |