From 503aec3302f436b5c477d357f99ccec83d8eab11 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Wed, 27 Jan 2021 19:03:11 +0100 Subject: [PATCH] [Paru, Bin, Index] Reorganize headers, add dired script, paru conf --- org/config/bin.org | 15 ++++++++++++++- org/config/index.org | 37 +++++++++++++++++++++++++++++++------ 2 files changed, 45 insertions(+), 7 deletions(-) diff --git a/org/config/bin.org b/org/config/bin.org index 870d701..aac47ee 100644 --- a/org/config/bin.org +++ b/org/config/bin.org @@ -433,7 +433,20 @@ Back to the main body of the script, we can now launch the functions sequenciall adjust_device #+END_SRC -* Emacsmail +* Emacs stuff +:PROPERTIES: +:CUSTOM_ID: Emacs-stuff-8e76efd4 +:END: +** Dired +:PROPERTIES: +:CUSTOM_ID: Emacs-stuff-Dired-2eeca9da +:HEADER-ARGS: :shebang "#!/bin/bash" :mkdirp yes :tangle ~/.local/bin/dired +:END: +#+BEGIN_SRC bash + emacsclient -c -e "(dired \"$@\")" +#+END_SRC + +** Emacsmail :PROPERTIES: :HEADER-ARGS: :shebang "#!/bin/bash" :mkdirp yes :tangle ~/.local/bin/emacsmail :CUSTOM_ID: Emacsmail-afffb7cd diff --git a/org/config/index.org b/org/config/index.org index 259dcae..7391337 100644 --- a/org/config/index.org +++ b/org/config/index.org @@ -58,13 +58,13 @@ AwesomeWM is the TWM I use the most on my computer between itself and i3. My con :END: The i3 configuration is detailed in its corresponding README which you can find [[file:i3.org][here]]. Be aware I do not use i3 anymore, and I will not update it until I may someday use it again. This was deprecated on August 22nd, 2020. -** Polybar config (Deprecated) +**** Polybar config (Deprecated) :PROPERTIES: :CUSTOM_ID: Features-Polybar_config_(Deprecated)-c8f95774 :END: My annotated polybar config can be found [[file:polybar.org][here]], if you wish to use it. Be aware I do not use polybar anymore, and I will not update it until I may someday use it again. This was deprecated on August 22nd, 2020. -** Graphical tweaks +** Theme and graphical tweaks :PROPERTIES: :CUSTOM_ID: Features-Graphical_tweaks-9879f6b0 :END: @@ -300,12 +300,22 @@ You can find my Rustfmt configuration [[file:rustfmt.org][here]]. :END: I have written some scripts that help me daily accomplish some simple tasks, like mounting and unmounting a drive or Android device, an emoji picker, a utility to set up my Wacom tablet, and so on. You can find them stored in my [[file:bin.org][bin.org]] file along with their detailed explanation in the README placed in the same folder —which is actually their source code once the org-mode file gets tangled. -** Fish configuration with useful abbreviations +** Terminal configuration +:PROPERTIES: +:CUSTOM_ID: Features-Terminal-configuration-9662b145 +:END: +*** Fish configuration with useful abbreviations :PROPERTIES: :CUSTOM_ID: Features-Fish_configuration_with_useful_abbreviations-c71ffba0 :END: You can also find in my Fish shell configuration in my [[file:~/org/config-website/fish.org][fish.org]] file, which contains my usual abbreviations. +*** Tmux configuration +:PROPERTIES: +:CUSTOM_ID: Features-Tmux_configuration-ce76e030 +:END: +You can find my tmux configuration in [[file:tmux.org][tmux.org]]. It depends on the submodule [[https://github.com/gpakosz/.tmux.git][.tmux]] by [[https://pempek.net/][Gregory Pakosz]]. + ** And some minor configuration files :PROPERTIES: :CUSTOM_ID: Features-And_some_minor_configuration_files-d5cec319 @@ -341,11 +351,26 @@ And object files and output binaries generated by =gcc= and the likes aren’t w ,*.o #+END_SRC -** Tmux configuration +*** Paru :PROPERTIES: -:CUSTOM_ID: Features-Tmux_configuration-ce76e030 +:CUSTOM_ID: Features-And-some-minor-configuration-files-Paru-1f3ef49e :END: -You can find my tmux configuration in [[file:tmux.org][tmux.org]]. It depends on the submodule [[https://github.com/gpakosz/.tmux.git][.tmux]] by [[https://pempek.net/][Gregory Pakosz]]. +~paru~ is an AUR helper for Arch Linux which aims to be a replacement for ~yay~. A couple of the options you will see below aim at restoring the behavior of ~yay~ in ~paru~. I also activated the sudo loop so I don’t have to enter my password if one package takes too much time to compile and/or compress. I know it can be a security issue if someone ever get access to my computer while paru is running, but if it ever happens it will be already concerning enough they managed to. I also make use of [[file:bin.org::#Emacs-stuff-Dired-2eeca9da][my custom script dired]] so I can use Emacs’ Dired as the file manager for ~paru~. +#+BEGIN_SRC conf-space :tangle ~/.config/paru/paru.conf + [options] + BottomUp + Devel + DevelSuffixes = -git -cvs -svn -bzr -darcs -always + NewsOnUpgrade + PgpFetch + Provides + RemoveMake + SudoLoop + UpgradeMenu + + [bin] + FileManager = dired +#+END_SRC * Dependencies :PROPERTIES: