All org dotfiles are now exportable as a website
This commit is contained in:
		
							parent
							
								
									ca6cddcd2d
								
							
						
					
					
						commit
						2f45a783fe
					
				@ -1,36 +1,9 @@
 | 
			
		||||
#+TITLE: Phundrak’s fish config
 | 
			
		||||
#+AUTHOR: Lucien "Phundrak” Cartier-Tilet
 | 
			
		||||
#+EMAIL: lucien@phundrak.com
 | 
			
		||||
#+OPTIONS: H:4 broken_links:mark email:t ^:{} auto-id:t
 | 
			
		||||
#+EXPORT_FILE_NAME: index.html
 | 
			
		||||
 | 
			
		||||
# ### LaTeX ####################################################################
 | 
			
		||||
#+LATEX_CLASS: article
 | 
			
		||||
#+LaTeX_CLASS_OPTIONS: [a4paper,twoside]
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{xltxtra,xcolor,hyperref,indentfirst}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage[total={17cm,24cm}]{geometry}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \setmainfont{Charis SIL}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \hypersetup{colorlinks=true,linkbordercolor=red,linkcolor=blue,pdfborderstyle={/S/U/W 1}}
 | 
			
		||||
 | 
			
		||||
# ### HTML #####################################################################
 | 
			
		||||
#+HTML_DOCTYPE: html5
 | 
			
		||||
#+INCLUDE: ~/org/config-website/headers.org
 | 
			
		||||
#+OPTIONS: auto-id:t
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak's fish config" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak's fish config" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta property="og:description" content="Description of the fish config file of Phundrak" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script src="https://kit.fontawesome.com/4d42d0c8c5.js"></script>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script src="https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js"></script>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="shortcut icon" href="https://cdn.phundrak.com/img/mahakala-128x128.png" type="img/png" media="screen" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="shortcut icon" href="https://cdn.phundrak.com/img/favicon.ico" type="image/x-icon" media="screen" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta property="og:image" content="https://cdn.phundrak.com/img/rich_preview.png" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="twitter:card" content="summary" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="twitter:site" content="@phundrak" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="twitter:creator" content="@phundrak" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <style>.org-svg{width:auto}</style>
 | 
			
		||||
#+INFOJS_OPT: view:info toc:1 home:https://phundrak.com/config toc:t
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="stylesheet" href="https://langue.phundrak.com/css/htmlize.min.css"/>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="stylesheet" href="https://langue.phundrak.com/css/main.css"/>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script src="https://langue.phundrak.com/js/jquery.min.js"></script>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script defer src="https://langue.phundrak.com/js/main.js"></script>
 | 
			
		||||
 | 
			
		||||
* Table of Contents                                        :TOC_4_gh:noexport:
 | 
			
		||||
  :PROPERTIES:
 | 
			
		||||
@ -61,11 +34,12 @@
 | 
			
		||||
    - [[#sudo][Sudo]]
 | 
			
		||||
    - [[#exit][Exit]]
 | 
			
		||||
    - [[#history][History]]
 | 
			
		||||
    - [[#song-download-from-youtube][Song download from YouTube]]
 | 
			
		||||
    - [[#youtube-dl-related-commands][~youtube-dl~ related commands]]
 | 
			
		||||
      - [[#song-download-from-youtube][Song download from YouTube]]
 | 
			
		||||
      - [[#videos-download-from-youtube][Videos download from YouTube]]
 | 
			
		||||
    - [[#mpv][MPV]]
 | 
			
		||||
    - [[#compression][Compression]]
 | 
			
		||||
    - [[#feh][Feh]]
 | 
			
		||||
    - [[#ls][ls]]
 | 
			
		||||
    - [[#network-management][Network Management]]
 | 
			
		||||
    - [[#wget][Wget]]
 | 
			
		||||
 | 
			
		||||
@ -499,7 +473,6 @@
 | 
			
		||||
    [[file:~/.local/bin/askpass][.local/bin/askpass]]). I also  made it so =please= is an  equivalent to =sudo
 | 
			
		||||
    -A= as a joke.
 | 
			
		||||
    #+BEGIN_SRC fish
 | 
			
		||||
      abbr sudo 'sudo -A'
 | 
			
		||||
      abbr please 'sudo -A'
 | 
			
		||||
    #+END_SRC
 | 
			
		||||
 | 
			
		||||
@ -522,15 +495,32 @@
 | 
			
		||||
      abbr hist history
 | 
			
		||||
    #+END_SRC
 | 
			
		||||
 | 
			
		||||
*** Song download from YouTube
 | 
			
		||||
*** ~youtube-dl~ related commands
 | 
			
		||||
    :PROPERTIES:
 | 
			
		||||
    :CUSTOM_ID: h-4bc663a9-b609-4c86-9a4d-a220013c67f9
 | 
			
		||||
    :CUSTOM_ID: h-177d56dc-39a6-4f4c-a7ba-179dd5c6cac8
 | 
			
		||||
    :END:
 | 
			
		||||
    When I  want to  download a song  from YouTube, I’ll  just use  the command
 | 
			
		||||
    =flac videoIdentifier= to get it through =youtube-dl=.
 | 
			
		||||
    #+BEGIN_SRC fish
 | 
			
		||||
      abbr flac 'youtube-dl -x --audio-format flac --audio-quality 0'
 | 
			
		||||
    #+END_SRC
 | 
			
		||||
**** Song download from YouTube
 | 
			
		||||
     :PROPERTIES:
 | 
			
		||||
     :CUSTOM_ID: h-4bc663a9-b609-4c86-9a4d-a220013c67f9
 | 
			
		||||
     :END:
 | 
			
		||||
     When I  want to  download a song  from YouTube, I’ll  just use  the command
 | 
			
		||||
     =flac videoIdentifier= to get it through =youtube-dl=.
 | 
			
		||||
     #+BEGIN_SRC fish
 | 
			
		||||
       abbr flac 'youtube-dl -x --audio-format flac --audio-quality 0 -o "~/Music/%(uploader)s/%(title)s.%(ext)s"'
 | 
			
		||||
     #+END_SRC
 | 
			
		||||
 | 
			
		||||
**** Videos download from YouTube
 | 
			
		||||
     :PROPERTIES:
 | 
			
		||||
     :CUSTOM_ID: h-e6e45b59-7620-4d17-ba32-67a33f39cc4b
 | 
			
		||||
     :END:
 | 
			
		||||
     I download a LOT of videos  from YouTube, generally educative videos that I
 | 
			
		||||
     do not want to lose to YouTube one day who will decide that such channel is
 | 
			
		||||
     unworthy of  their platform, or  if the  original author decides  to delete
 | 
			
		||||
     their videos  or whatever. So,  I use  the abbreviation ~ytdl~  to download
 | 
			
		||||
     either one video, or a whole YouTube channel.
 | 
			
		||||
     #+BEGIN_SRC fish
 | 
			
		||||
       abbr ytdl 'youtube-dl -f best -ciw -o "~/Videos/YouTube/%(uploader)s/%(upload_date)s - %(title)s.%(ext)s"'
 | 
			
		||||
     #+END_SRC
 | 
			
		||||
 | 
			
		||||
*** MPV
 | 
			
		||||
    :PROPERTIES:
 | 
			
		||||
@ -568,16 +558,6 @@
 | 
			
		||||
      abbr feh 'feh -Zx.'
 | 
			
		||||
    #+END_SRC
 | 
			
		||||
 | 
			
		||||
*** ls
 | 
			
		||||
    :PROPERTIES:
 | 
			
		||||
    :CUSTOM_ID: h-9980009d-3fc4-4e2e-861b-1af007212f8d
 | 
			
		||||
    :END:
 | 
			
		||||
    Yep, an  abbreviation of =ls=  called =lsl=. It allows  me to view  all the
 | 
			
		||||
    files in a directory as a list with detailed, human-readable information.
 | 
			
		||||
    #+BEGIN_SRC fish
 | 
			
		||||
      abbr lsl 'ls -ahl'
 | 
			
		||||
    #+END_SRC
 | 
			
		||||
 | 
			
		||||
*** Network Management
 | 
			
		||||
    :PROPERTIES:
 | 
			
		||||
    :CUSTOM_ID: h-5f9d4866-3086-4ed9-9ff3-d80a0af36593
 | 
			
		||||
 | 
			
		||||
@ -1,40 +1,10 @@
 | 
			
		||||
# -*- org-confirm-babel-evaluate: nil -*-
 | 
			
		||||
#+TITLE: Phundrak’s i3 config
 | 
			
		||||
#+AUTHOR: Lucien "Phundrak” Cartier-Tilet
 | 
			
		||||
#+EMAIL: lucien@phundrak.com
 | 
			
		||||
#+OPTIONS: H:4 email:t ^:{} auto-id:t
 | 
			
		||||
 | 
			
		||||
# ### LaTeX ####################################################################
 | 
			
		||||
#+LATEX_CLASS: article
 | 
			
		||||
#+LaTeX_CLASS_OPTIONS: [a4paper,twoside]
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{tocloft} \setlength{\cftchapnumwidth}{3em}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{xltxtra,fontspec,xunicode,svg}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage[total={17cm,24cm}]{geometry}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \setromanfont{Charis SIL}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{xcolor}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{hyperref}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \hypersetup{colorlinks=true,linkbordercolor=red,linkcolor=blue,pdfborderstyle={/S/U/W 1}}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{indentfirst}
 | 
			
		||||
 | 
			
		||||
# ### HTML #####################################################################
 | 
			
		||||
#+HTML_DOCTYPE: html5
 | 
			
		||||
#+INCLUDE: ~/org/config-website/headers.org
 | 
			
		||||
#+OPTIONS: auto-id:t
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak's i3 config" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak's i3 config" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta property="og:description" content="Description of the i3 config file of Phundrak" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script src="https://kit.fontawesome.com/4d42d0c8c5.js"></script>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script src="https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js"></script>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="shortcut icon" href="https://cdn.phundrak.com/img/mahakala-128x128.png" type="img/png" media="screen" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="shortcut icon" href="https://cdn.phundrak.com/img/favicon.ico" type="image/x-icon" media="screen" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta property="og:image" content="https://cdn.phundrak.com/img/rich_preview.png" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="twitter:card" content="summary" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="twitter:site" content="@phundrak" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="twitter:creator" content="@phundrak" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <style>.org-svg{width:auto}</style>
 | 
			
		||||
#+INFOJS_OPT: view:info toc:1 home:https://phundrak.com/config toc:t
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="stylesheet" href="https://langue.phundrak.com/css/htmlize.min.css"/>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="stylesheet" href="https://langue.phundrak.com/css/main.css"/>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script src="https://langue.phundrak.com/js/jquery.min.js"></script>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script defer src="https://langue.phundrak.com/js/main.js"></script>
 | 
			
		||||
 | 
			
		||||
* Table of Contents                                        :TOC_4_gh:noexport:
 | 
			
		||||
  :PROPERTIES:
 | 
			
		||||
@ -134,6 +104,8 @@
 | 
			
		||||
   | $term       | st                                                                       |
 | 
			
		||||
 | 
			
		||||
   #+NAME: variable-sh
 | 
			
		||||
   | variable    | value                                                                    |
 | 
			
		||||
   |-------------+--------------------------------------------------------------------------|
 | 
			
		||||
   | $exiti3     | i3-nagbar -t warning -m 'Leave i3?' -b 'Yes' 'i3-msg exit'               |
 | 
			
		||||
   | $lockscreen | Lucien Cartier-Tilet\n(Phuntsok Drak-pa)\n+33 (0)6 83 90 56 89           |
 | 
			
		||||
   | $rofiexec   | rofi -combi-modi 'window,drun' -show combi -mohh combi -m -1 -show-icons |
 | 
			
		||||
@ -150,18 +122,18 @@
 | 
			
		||||
   #+BEGIN_SRC python :var variables=variable-table :cache yes
 | 
			
		||||
     result = ''
 | 
			
		||||
     for line in variables:
 | 
			
		||||
         result += "set {0}\t{1}\n".format(line[0], line[1])
 | 
			
		||||
         result += "set {0}    {1}\n".format(line[0], line[1])
 | 
			
		||||
     return result
 | 
			
		||||
   #+END_SRC
 | 
			
		||||
 | 
			
		||||
   #+RESULTS[daefb71e1df094fad8f60b95c8b00730d5110ae3]: generate-variables
 | 
			
		||||
   : set $mod	Mod4
 | 
			
		||||
   : set $alt	Mod1
 | 
			
		||||
   : set $up	Up
 | 
			
		||||
   : set $down	Down
 | 
			
		||||
   : set $left	Left
 | 
			
		||||
   : set $right	Right
 | 
			
		||||
   : set $term	st
 | 
			
		||||
   #+RESULTS[58c517fe29b63f631ff0ba754d5d9ec4ea673388]: generate-variables
 | 
			
		||||
   : set $mod    Mod4
 | 
			
		||||
   : set $alt    Mod1
 | 
			
		||||
   : set $up    Up
 | 
			
		||||
   : set $down    Down
 | 
			
		||||
   : set $left    Left
 | 
			
		||||
   : set $right    Right
 | 
			
		||||
   : set $term    st
 | 
			
		||||
 | 
			
		||||
   Finally, some variables  hold some long strings for commands  I don’t want to
 | 
			
		||||
   have to type multiple times.
 | 
			
		||||
@ -169,17 +141,17 @@
 | 
			
		||||
   #+BEGIN_SRC python :var variables=variable-sh :cache yes
 | 
			
		||||
     result = ''
 | 
			
		||||
     for line in variables:
 | 
			
		||||
         result += "set {0}\t\"{1}\"\n".format(line[0], line[1])
 | 
			
		||||
         result += "set {0}    \"{1}\"\n".format(line[0], line[1])
 | 
			
		||||
     return result
 | 
			
		||||
   #+END_SRC
 | 
			
		||||
 | 
			
		||||
   #+RESULTS[caa4fad487ab743e5398c357542b25eaa2b792cf]: generate-variables2
 | 
			
		||||
   : set $exiti3	"i3-nagbar -t warning -m "Leave i3?" -b "Yes" "i3-msg exit""
 | 
			
		||||
   : set $lockscreen	"Lucien Cartier-Tilet\n(Phuntsok Drak-pa)\n+33 (0)6 83 90 56 89"
 | 
			
		||||
   : set $rofiexec	"rofi -combi-modi "window,drun" -show combi -mohh combi -m -1 -show-icons"
 | 
			
		||||
   : set $gnus	"emacsclient --create-frame --eval "(gnus)" -n"
 | 
			
		||||
   : set $ec	"emacsclient --create-frame -n"
 | 
			
		||||
   : set $walset	"wal -i ~/Pictures/Wallpapers -o wal-set"
 | 
			
		||||
   #+RESULTS[13a3244099ec9233a8b7003c1874b3c92cb19e34]: generate-variables2
 | 
			
		||||
   : set $exiti3    "i3-nagbar -t warning -m 'Leave i3?' -b 'Yes' 'i3-msg exit'"
 | 
			
		||||
   : set $lockscreen    "Lucien Cartier-Tilet\n(Phuntsok Drak-pa)\n+33 (0)6 83 90 56 89"
 | 
			
		||||
   : set $rofiexec    "rofi -combi-modi 'window,drun' -show combi -mohh combi -m -1 -show-icons"
 | 
			
		||||
   : set $gnus    "emacsclient --create-frame --eval '(gnus)' -n"
 | 
			
		||||
   : set $ec    "emacsclient --create-frame -n"
 | 
			
		||||
   : set $walset    "wal -i ~/Pictures/Wallpapers -o wal-set"
 | 
			
		||||
 | 
			
		||||
   Here is the configuration:
 | 
			
		||||
   #+BEGIN_SRC conf :noweb yes
 | 
			
		||||
@ -319,7 +291,7 @@
 | 
			
		||||
* Assigning windows to workspaces
 | 
			
		||||
  :PROPERTIES:
 | 
			
		||||
  :CUSTOM_ID: h-21870449-7730-4164-8add-167cb4e75218
 | 
			
		||||
  :HEADER-ARGS: :exports code
 | 
			
		||||
  :HEADER-ARGS: :exports code :tangle config##yadm.j2
 | 
			
		||||
  :HEADER-ARGS:python: :exports none :tangle no
 | 
			
		||||
  :END:
 | 
			
		||||
  I decided to bind some windows to some workspaces in order to have a better
 | 
			
		||||
@ -340,7 +312,7 @@
 | 
			
		||||
 | 
			
		||||
  The class table is used in the assignment in the i3 config file. For instance,
 | 
			
		||||
  Gimp’s assignment will look like this:
 | 
			
		||||
  #+BEGIN_SRC conf
 | 
			
		||||
  #+BEGIN_SRC conf :tangle no
 | 
			
		||||
    assign [class="Gimp*"] 6
 | 
			
		||||
  #+END_SRC
 | 
			
		||||
 | 
			
		||||
@ -353,7 +325,7 @@
 | 
			
		||||
  #+END_SRC
 | 
			
		||||
 | 
			
		||||
  Here is the configuration:
 | 
			
		||||
  #+BEGIN_SRC conf :noweb yes :tangle config##yadm.j2
 | 
			
		||||
  #+BEGIN_SRC conf :noweb yes
 | 
			
		||||
  <<generate-workspaces()>>
 | 
			
		||||
  #+END_SRC
 | 
			
		||||
 | 
			
		||||
@ -362,7 +334,7 @@
 | 
			
		||||
  have  two screens  — and  since this  is the  case when  I am  using only  one
 | 
			
		||||
  computer, Marpa, I can make it a conditional thanks to yadm’s jinja2 syntax.
 | 
			
		||||
 | 
			
		||||
  #+BEGIN_SRC conf :tangle config##yadm.j2
 | 
			
		||||
  #+BEGIN_SRC conf
 | 
			
		||||
    {% if YADM_HOSTNAME == 'Marpa' -%}
 | 
			
		||||
    workspace 10 output eDP-1
 | 
			
		||||
    {% endif -%}
 | 
			
		||||
@ -386,7 +358,7 @@
 | 
			
		||||
  #+BEGIN_SRC python :exports none :var table=[] :eval yes :tangle no
 | 
			
		||||
    results = ''
 | 
			
		||||
    for line in table:
 | 
			
		||||
        results += "bindsym {0}\t{1}\n".format(line[0], line[1])
 | 
			
		||||
        results += "bindsym {0}    {1}\n".format(line[0], line[1])
 | 
			
		||||
    return results
 | 
			
		||||
  #+END_SRC
 | 
			
		||||
 | 
			
		||||
@ -763,7 +735,7 @@
 | 
			
		||||
    #+NAME: internet-sh
 | 
			
		||||
    | shortcut     | command             | what it does                |
 | 
			
		||||
    |--------------+---------------------+-----------------------------|
 | 
			
		||||
    | $mod+c       | exec firefox        | Launch firefox              |
 | 
			
		||||
    | $mod+b       | exec firefox        | Launch browser              |
 | 
			
		||||
    | $mod+m       | exec $gnus          | Launch Gnus, my mail client |
 | 
			
		||||
    | Ctrl+Shift+d | exec discord-canary | Launch Discord              |
 | 
			
		||||
 | 
			
		||||
@ -913,7 +885,7 @@
 | 
			
		||||
    #+BEGIN_SRC conf
 | 
			
		||||
      {% if YADM_HOSTNAME == 'Marpa' -%}
 | 
			
		||||
      bindsym $mod+Ctrl+p xrandr --output HDMI-1 --mode 1024x768 --right-of eDP-1
 | 
			
		||||
      {% else %}
 | 
			
		||||
      {% else -%}
 | 
			
		||||
      bindsym $mod+Ctrl+p xrandr --output VGA1 --mode 1024x768 --right-of LVDS1
 | 
			
		||||
      {% endif -%}
 | 
			
		||||
    #+END_SRC
 | 
			
		||||
 | 
			
		||||
@ -1,41 +1,9 @@
 | 
			
		||||
#+TITLE: Phundrak’s executable scripts
 | 
			
		||||
#+AUTHOR: Lucien "Phundrak” Cartier-Tilet
 | 
			
		||||
#+EMAIL: phundrak@phundrak.fr
 | 
			
		||||
#+OPTIONS: H:4 broken_links:mark email:t ^:{} auto-id:t
 | 
			
		||||
 | 
			
		||||
# ### LaTeX ####################################################################
 | 
			
		||||
#+LATEX_CLASS: conlang
 | 
			
		||||
#+LaTeX_CLASS_OPTIONS: [a4paper,twoside]
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{tocloft} \setlength{\cftchapnumwidth}{3em}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{xltxtra,fontspec,xunicode,svg}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage[total={17cm,24cm}]{geometry}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \setromanfont{Charis SIL}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{xcolor}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{hyperref}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \hypersetup{colorlinks=true,linkbordercolor=red,linkcolor=blue,pdfborderstyle={/S/U/W 1}}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{multicol}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{indentfirst}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \sloppy
 | 
			
		||||
 | 
			
		||||
# ### HTML #####################################################################
 | 
			
		||||
#+HTML_DOCTYPE: html5
 | 
			
		||||
#+INCLUDE: ~/org/config-website/headers.org
 | 
			
		||||
#+OPTIONS: auto-id:t
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak's i3 config" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak's i3 config" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta property="og:description" content="Description of the i3 config file of Phundrak" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script src="https://kit.fontawesome.com/4d42d0c8c5.js"></script>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script src="https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js"></script>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="shortcut icon" href="https://cdn.phundrak.com/img/mahakala-128x128.png" type="img/png" media="screen" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="shortcut icon" href="https://cdn.phundrak.com/img/favicon.ico" type="image/x-icon" media="screen" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta property="og:image" content="https://cdn.phundrak.com/img/rich_preview.png" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="twitter:card" content="summary" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="twitter:site" content="@phundrak" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="twitter:creator" content="@phundrak" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <style>.org-svg{width:auto}</style>
 | 
			
		||||
#+INFOJS_OPT: view:info toc:1 home:https://phundrak.com/config toc:t
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="stylesheet" href="https://langue.phundrak.com/css/htmlize.min.css"/>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="stylesheet" href="https://langue.phundrak.com/css/main.css"/>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script src="https://langue.phundrak.com/js/jquery.min.js"></script>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script defer src="https://langue.phundrak.com/js/main.js"></script>
 | 
			
		||||
 | 
			
		||||
* Table of Contents                                        :TOC_4_gh:noexport:
 | 
			
		||||
  :PROPERTIES:
 | 
			
		||||
@ -51,6 +19,7 @@
 | 
			
		||||
- [[#dart-language-server][Dart Language Server]]
 | 
			
		||||
- [[#dmenu][Dmenu]]
 | 
			
		||||
- [[#emoji-picker][Emoji picker]]
 | 
			
		||||
- [[#lsl][lsl]]
 | 
			
		||||
- [[#polybar-launch][Polybar-launch]]
 | 
			
		||||
- [[#rofi-mount][Rofi-mount]]
 | 
			
		||||
  - [[#get-the-mountable-elements][Get the mountable elements]]
 | 
			
		||||
@ -364,6 +333,20 @@
 | 
			
		||||
 | 
			
		||||
  It is inspired from [[https://www.youtube.com/watch?v=UCEXY46t3OA][this video]] from [[https://lukesmith.xyz/][Luke Smith]], rewritten in Fish.
 | 
			
		||||
 | 
			
		||||
* lsl
 | 
			
		||||
  :PROPERTIES:
 | 
			
		||||
  :HEADER-ARGS: :tangle lsl :exports code
 | 
			
		||||
  :CUSTOM_ID: h-6bcdad54-20ce-40cc-8a4b-8d9c20fc5c95
 | 
			
		||||
  :END:
 | 
			
		||||
  ~lsl~ is a former abbreviation I used to use in fish. However, a recent update
 | 
			
		||||
  of this  abbreviation made it harder  to use as  is, and I believe  a function
 | 
			
		||||
  will better fulfil its role than an  abbreviation. As you’ll see, it is a very
 | 
			
		||||
  simple script:
 | 
			
		||||
  #+BEGIN_SRC fish
 | 
			
		||||
    #!/usr/bin/fish
 | 
			
		||||
    ls -ahlX --group-directories-first $argv | bat
 | 
			
		||||
  #+END_SRC
 | 
			
		||||
 | 
			
		||||
* Polybar-launch
 | 
			
		||||
  :PROPERTIES:
 | 
			
		||||
  :CUSTOM_ID: h-68587918-879b-42db-b304-901d01233f95
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										48
									
								
								README.org
									
									
									
									
									
								
							
							
						
						
									
										48
									
								
								README.org
									
									
									
									
									
								
							@ -1,41 +1,9 @@
 | 
			
		||||
#+TITLE: Phundrak’s dotfiles
 | 
			
		||||
#+AUTHOR: Lucien "Phundrak” Cartier-Tilet
 | 
			
		||||
#+EMAIL: lucien@phundrak.com
 | 
			
		||||
#+OPTIONS: H:4 broken_links:mark email:t ^:{} auto-id:t
 | 
			
		||||
 | 
			
		||||
# ### LaTeX ####################################################################
 | 
			
		||||
#+LATEX_CLASS: conlang
 | 
			
		||||
#+LaTeX_CLASS_OPTIONS: [a4paper,twoside]
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{tocloft} \setlength{\cftchapnumwidth}{3em}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{xltxtra,fontspec,xunicode,svg}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage[total={17cm,24cm}]{geometry}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \setromanfont{Charis SIL}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{xcolor}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{hyperref}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \hypersetup{colorlinks=true,linkbordercolor=red,linkcolor=blue,pdfborderstyle={/S/U/W 1}}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{multicol}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{indentfirst}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \sloppy
 | 
			
		||||
 | 
			
		||||
# ### HTML #####################################################################
 | 
			
		||||
#+HTML_DOCTYPE: html5
 | 
			
		||||
#+INCLUDE: ~/org/config-website/headers.org
 | 
			
		||||
#+OPTIONS: auto-id:t
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak's dotfiles" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak's dotfiles" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta property="og:description" content="Description of the dotfiles of Phundrak" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script src="https://kit.fontawesome.com/4d42d0c8c5.js"></script>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script src="https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js"></script>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="shortcut icon" href="https://cdn.phundrak.com/img/mahakala-128x128.png" type="img/png" media="screen" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="shortcut icon" href="https://cdn.phundrak.com/img/favicon.ico" type="image/x-icon" media="screen" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta property="og:image" content="https://cdn.phundrak.com/img/rich_preview.png" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="twitter:card" content="summary" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="twitter:site" content="@phundrak" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="twitter:creator" content="@phundrak" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <style>.org-svg{width:auto}</style>
 | 
			
		||||
#+INFOJS_OPT: view:info toc:1 home:https://phundrak.com/config toc:t
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="stylesheet" href="https://langue.phundrak.com/css/htmlize.min.css"/>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="stylesheet" href="https://langue.phundrak.com/css/main.css"/>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script src="https://langue.phundrak.com/js/jquery.min.js"></script>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script defer src="https://langue.phundrak.com/js/main.js"></script>
 | 
			
		||||
 | 
			
		||||
* Table of Contents                                        :TOC_4_gh:noexport:
 | 
			
		||||
  :PROPERTIES:
 | 
			
		||||
@ -104,11 +72,11 @@
 | 
			
		||||
    have on my main computer and my travel laptop.
 | 
			
		||||
 | 
			
		||||
  Most of the org  files you will find in this repos are  the actual source code
 | 
			
		||||
  of much  of my config  files. For instance,  the [[#h-c13d132f-9e69-4bb0-838b-29c7c5611f11][Execute bootstrap]]  subpart of
 | 
			
		||||
  this file  exports almost all  of its code snippets  to [[file:.config/yadm/bootstrap][.config/yadm/bootstrap]]
 | 
			
		||||
  thanks to =M-x org-babel-tangle= from within  Emacs. Below I will also present
 | 
			
		||||
  and comment some of my short config files  which do not deserve to have a full
 | 
			
		||||
  org file dedicated to them.
 | 
			
		||||
  of  much   of  my  config  files.   For  instance,  the  bootstrap   found  in
 | 
			
		||||
  [[file:installation.org][installation.org]]   exports    almost   all    of   its   code    snippets   to
 | 
			
		||||
  [[file:.config/yadm/bootstrap][.config/yadm/bootstrap]]  thanks to  =M-x org-babel-tangle=  from within  Emacs.
 | 
			
		||||
  Below I will also  present and comment some of my short  config files which do
 | 
			
		||||
  not deserve to have a full org file dedicated to them.
 | 
			
		||||
 | 
			
		||||
** Custom scripts in =PATH=
 | 
			
		||||
   :PROPERTIES:
 | 
			
		||||
@ -130,7 +98,7 @@
 | 
			
		||||
   #+begin_quote
 | 
			
		||||
   Emacs is a great operating system, it just lacks a good text editor.
 | 
			
		||||
   #+end_quote
 | 
			
		||||
   You can find my Emacs config, based  on Spacemacs, in my [[https://labs.phundrak.com/phundrak/dotfiles/.spacemacs][.spacemacs]] file, and
 | 
			
		||||
   You can find my Emacs config, based  on Spacemacs, in my [[https://labs.phundrak.com/phundrak/dotfiles/src/branch/master/.spacemacs][.spacemacs]] file, and
 | 
			
		||||
   my user configuration in my [[file:spacemacs.org][spacemacs.org]] file.
 | 
			
		||||
 | 
			
		||||
** Email signature
 | 
			
		||||
 | 
			
		||||
@ -1,41 +1,9 @@
 | 
			
		||||
#+TITLE: Install a Phundrak-flavored Arch Linux
 | 
			
		||||
#+AUTHOR: Lucien "Phundrak” Cartier-Tilet
 | 
			
		||||
#+EMAIL: lucien@phundrak.com
 | 
			
		||||
#+OPTIONS: H:4 broken_links:mark email:t ^:{} auto-id:t
 | 
			
		||||
 | 
			
		||||
# ### LaTeX ####################################################################
 | 
			
		||||
#+LATEX_CLASS: conlang
 | 
			
		||||
#+LaTeX_CLASS_OPTIONS: [a4paper,twoside]
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{tocloft} \setlength{\cftchapnumwidth}{3em}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{xltxtra,fontspec,xunicode,svg}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage[total={17cm,24cm}]{geometry}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \setromanfont{Charis SIL}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{xcolor}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{hyperref}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \hypersetup{colorlinks=true,linkbordercolor=red,linkcolor=blue,pdfborderstyle={/S/U/W 1}}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{multicol}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{indentfirst}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \sloppy
 | 
			
		||||
 | 
			
		||||
# ### HTML #####################################################################
 | 
			
		||||
#+HTML_DOCTYPE: html5
 | 
			
		||||
#+INCLUDE: ~/org/config-website/headers.org
 | 
			
		||||
#+OPTIONS: auto-id:t
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak-flavored Arch Linux" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak-flavored Arch Linux" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta property="og:description" content="How to install a Phundrak-flavored Arch Linux" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script src="https://kit.fontawesome.com/4d42d0c8c5.js"></script>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script src="https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js"></script>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="shortcut icon" href="https://cdn.phundrak.com/img/mahakala-128x128.png" type="img/png" media="screen" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="shortcut icon" href="https://cdn.phundrak.com/img/favicon.ico" type="image/x-icon" media="screen" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta property="og:image" content="https://cdn.phundrak.com/img/rich_preview.png" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="twitter:card" content="summary" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="twitter:site" content="@phundrak" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="twitter:creator" content="@phundrak" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <style>.org-svg{width:auto}</style>
 | 
			
		||||
#+INFOJS_OPT: view:info toc:1 home:https://phundrak.com/config toc:t
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="stylesheet" href="https://langue.phundrak.com/css/htmlize.min.css"/>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="stylesheet" href="https://langue.phundrak.com/css/main.css"/>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script src="https://langue.phundrak.com/js/jquery.min.js"></script>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script defer src="https://langue.phundrak.com/js/main.js"></script>
 | 
			
		||||
 | 
			
		||||
* Table of Contents                                        :TOC_4_gh:noexport:
 | 
			
		||||
  :PROPERTIES:
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										1
									
								
								org/config-website/.config/fish/README.org
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								org/config-website/.config/fish/README.org
									
									
									
									
									
										Symbolic link
									
								
							@ -0,0 +1 @@
 | 
			
		||||
/home/phundrak/.config/fish/README.org
 | 
			
		||||
							
								
								
									
										1
									
								
								org/config-website/.config/i3/README.org
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								org/config-website/.config/i3/README.org
									
									
									
									
									
										Symbolic link
									
								
							@ -0,0 +1 @@
 | 
			
		||||
/home/phundrak/.config/i3/README.org
 | 
			
		||||
							
								
								
									
										1
									
								
								org/config-website/.local/bin/README.org
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								org/config-website/.local/bin/README.org
									
									
									
									
									
										Symbolic link
									
								
							@ -0,0 +1 @@
 | 
			
		||||
/home/phundrak/.local/bin/README.org
 | 
			
		||||
							
								
								
									
										1
									
								
								org/config-website/README.org
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								org/config-website/README.org
									
									
									
									
									
										Symbolic link
									
								
							@ -0,0 +1 @@
 | 
			
		||||
/home/phundrak/README.org
 | 
			
		||||
							
								
								
									
										50
									
								
								org/config-website/headers.org
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										50
									
								
								org/config-website/headers.org
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,50 @@
 | 
			
		||||
# -*- mode: org; org-confirm-babel-evaluate: nil -*-
 | 
			
		||||
#+AUTHOR: Lucien Cartier-Tilet
 | 
			
		||||
#+EMAIL: lucien@phundrak.com
 | 
			
		||||
#+CREATOR: Lucien Cartier-Tilet
 | 
			
		||||
#+LANGUAGE: fr
 | 
			
		||||
 | 
			
		||||
# ### ORG OPTIONS ##############################################################
 | 
			
		||||
 | 
			
		||||
#+OPTIONS: H:4 broken_links:mark email:t ^:{} tex:dvisvgm
 | 
			
		||||
#+KEYWORDS: dotfiles linux emacs configuration phundrak drakpa
 | 
			
		||||
 | 
			
		||||
# ### LaTeX ####################################################################
 | 
			
		||||
 | 
			
		||||
#+LATEX_CLASS: conlang
 | 
			
		||||
#+LaTeX_CLASS_OPTIONS: [a4paper,twoside]
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{xltxtra}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage[total={17cm,24cm}]{geometry}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \setmainfont{Charis SIL}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{newunicodechar}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \newunicodechar{’}{'}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{xcolor}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{hyperref}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \hypersetup{colorlinks=true,linkbordercolor=red,linkcolor=blue,pdfborderstyle={/S/U/W 1}}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{indentfirst}
 | 
			
		||||
 | 
			
		||||
# ### HTML #####################################################################
 | 
			
		||||
 | 
			
		||||
#+HTML_DOCTYPE: html5
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta property="og:image" content="https://cdn.phundrak.com/img/rich_preview.png" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="twitter:card" content="summary" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="twitter:site" content="@phundrak" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="twitter:creator" content="@phundrak" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="stylesheet" href="https://langue.phundrak.com/css/main.css"/>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="stylesheet" href="https://langue.phundrak.com/css/htmlize.min.css"/>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="stylesheet" id="theme" href="https://langue.phundrak.com/css/dark.css"/>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="shortcut icon" href="https://cdn.phundrak.com/img/mahakala-128x128.png" type="img/png" media="screen" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="shortcut icon" href="https://cdn.phundrak.com/img/favicon.ico" type="image/x-icon" media="screen" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script defer src="https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js"></script>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script defer src="https://langue.phundrak.com/dart/main.dart.js"></script>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script defer src="https://kit.fontawesome.com/4d42d0c8c5.js"></script>
 | 
			
		||||
#+INFOJS_OPT: view:info home:https://phundrak.com/config toc:t
 | 
			
		||||
 | 
			
		||||
# ### MACROS ###################################################################
 | 
			
		||||
#+MACRO: newline @@latex:\hspace{0pt}\\@@ @@html:<br>@@
 | 
			
		||||
#+MACRO: newpage @@latex:\newpage@@
 | 
			
		||||
#+MACRO: latex-html @@latex:$1@@@@html:$2@@
 | 
			
		||||
#+MACRO: phon @@latex:/$1/@@@@html:/$1/@@@@ascii:/$1/@@
 | 
			
		||||
#+MACRO: v @@latex:\rotatebox[origin=c]{270}{$1}@@@@html:<span class=vertical>$1</span>@@
 | 
			
		||||
#+MACRO: begin-largetable @@html:<div class="largetable">@@
 | 
			
		||||
#+MACRO: end-largetable @@html:</div>@@
 | 
			
		||||
							
								
								
									
										1
									
								
								org/config-website/img
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								org/config-website/img
									
									
									
									
									
										Symbolic link
									
								
							@ -0,0 +1 @@
 | 
			
		||||
/home/phundrak/img
 | 
			
		||||
							
								
								
									
										1
									
								
								org/config-website/installation.org
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								org/config-website/installation.org
									
									
									
									
									
										Symbolic link
									
								
							@ -0,0 +1 @@
 | 
			
		||||
/home/phundrak/installation.org
 | 
			
		||||
							
								
								
									
										7
									
								
								org/config-website/sitemap.org
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								org/config-website/sitemap.org
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
			
		||||
#+TITLE: Sitemap for project config-website-org
 | 
			
		||||
 | 
			
		||||
- [[file:installation.org][Install a Phundrak-flavored Arch Linux]]
 | 
			
		||||
- [[file:spacemacs.org][Phundrak’s Spacemacs User Configuration]]
 | 
			
		||||
- [[file:README.org][Phundrak’s dotfiles]]
 | 
			
		||||
- [[file:tmux.org][Phundrak’s tmux config]]
 | 
			
		||||
- [[file:headers.org][headers]]
 | 
			
		||||
							
								
								
									
										1
									
								
								org/config-website/spacemacs.org
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								org/config-website/spacemacs.org
									
									
									
									
									
										Symbolic link
									
								
							@ -0,0 +1 @@
 | 
			
		||||
/home/phundrak/spacemacs.org
 | 
			
		||||
							
								
								
									
										1
									
								
								org/config-website/tmux.org
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								org/config-website/tmux.org
									
									
									
									
									
										Symbolic link
									
								
							@ -0,0 +1 @@
 | 
			
		||||
/home/phundrak/tmux.org
 | 
			
		||||
@ -1,41 +1,9 @@
 | 
			
		||||
#+title: Phundrak’s Spacemacs User Configuration
 | 
			
		||||
#+author: Lucien “Phundrak” Cartier-Tilet
 | 
			
		||||
#+email: lucien@phundrak.com
 | 
			
		||||
#+OPTIONS: toc:4 h:4 email:t ^:{} auto-id:t
 | 
			
		||||
#+startup: headlines
 | 
			
		||||
 | 
			
		||||
# ### LaTeX ####################################################################
 | 
			
		||||
#+LATEX_CLASS: article
 | 
			
		||||
#+LaTeX_CLASS_OPTIONS: [a4paper,twoside]
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{tocloft} \setlength{\cftchapnumwidth}{3em}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{xltxtra,fontspec,xunicode,svg}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage[total={17cm,24cm}]{geometry}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \setromanfont{Charis SIL}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{newunicodechar}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \newunicodechar{’}{'}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{xcolor}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{hyperref}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \hypersetup{colorlinks=true,linkbordercolor=red,linkcolor=blue,pdfborderstyle={/S/U/W 1}}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{indentfirst}
 | 
			
		||||
 | 
			
		||||
# ### HTML #####################################################################
 | 
			
		||||
#+HTML_DOCTYPE: html5
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta property="og:image" content="https://cdn.phundrak.com/img/rich_preview.png" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="twitter:card" content="summary" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="twitter:site" content="@phundrak" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="twitter:creator" content="@phundrak" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="stylesheet" href="https://langue.phundrak.com/css/main.css"/>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="stylesheet" href="https://langue.phundrak.com/css/htmlize.min.css"/>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="stylesheet" id="theme" href="https://langue.phundrak.com/css/dark.css"/>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="shortcut icon" href="https://cdn.phundrak.com/img/mahakala-128x128.png" type="img/png" media="screen" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="shortcut icon" href="https://cdn.phundrak.com/img/favicon.ico" type="image/x-icon" media="screen" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script defer src="https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js"></script>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script defer src="https://langue.phundrak.com/dart/main.dart.js"></script>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script defer src="https://kit.fontawesome.com/4d42d0c8c5.js"></script>
 | 
			
		||||
#+INCLUDE: ~/org/config-website/headers.org
 | 
			
		||||
#+OPTIONS: auto-id:t
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak’s Spacemacs User Configuration" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak’s Spacemacs User Configuration" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta property="og:description" content="Description of the Spacemacs user configuration of Phundrak" />
 | 
			
		||||
#+INFOJS_OPT: view:info toc:t ltoc:above
 | 
			
		||||
 | 
			
		||||
* User Initialization
 | 
			
		||||
  :PROPERTIES:
 | 
			
		||||
@ -1121,12 +1089,55 @@
 | 
			
		||||
    #+BEGIN_SRC emacs-lisp :noweb yes
 | 
			
		||||
      (setq org-publish-project-alist
 | 
			
		||||
            '(
 | 
			
		||||
              <<org-proj-config-html>>
 | 
			
		||||
              <<org-proj-config-static>>
 | 
			
		||||
              <<org-proj-config>>
 | 
			
		||||
              <<org-proj-lang-html>>
 | 
			
		||||
              <<org-proj-lang-pdf>>
 | 
			
		||||
              <<org-proj-lang-static>>
 | 
			
		||||
              <<org-proj-lang>>))
 | 
			
		||||
    #+END_SRC
 | 
			
		||||
 | 
			
		||||
**** Configuration website
 | 
			
		||||
     :PROPERTIES:
 | 
			
		||||
     :CUSTOM_ID: h-7559d45e-a1e8-4755-8c34-a95c80a592c7
 | 
			
		||||
     :END:
 | 
			
		||||
     #+NAME: org-proj-config-html
 | 
			
		||||
     #+BEGIN_SRC emacs-lisp :tangle no
 | 
			
		||||
       ("config-website-org"
 | 
			
		||||
        :base-directory "~/org/config-website/"
 | 
			
		||||
        :base-extension "org"
 | 
			
		||||
        :exclude "\\./\\(CONTRIB\\|head\\|temp\\|svg-ink\\).*"
 | 
			
		||||
        :publishing-directory "/ssh:Naro:~/www/phundrak.com/www/config"
 | 
			
		||||
        :recursive t
 | 
			
		||||
        :language "fr"
 | 
			
		||||
        :publishing-function org-html-publish-to-html
 | 
			
		||||
        :headline-levels 5
 | 
			
		||||
        :auto-sitemap t
 | 
			
		||||
        :auto-preamble t)
 | 
			
		||||
     #+END_SRC
 | 
			
		||||
 | 
			
		||||
     And lastly, we  have the component for  all the static files  needed to run
 | 
			
		||||
     the website:
 | 
			
		||||
     #+NAME: org-proj-config-static
 | 
			
		||||
     #+BEGIN_SRC emacs-lisp :tangle no
 | 
			
		||||
       ("config-website-static"
 | 
			
		||||
        :base-directory "~/org/config-website/"
 | 
			
		||||
        :base-extension "css\\|scss\\|dart\\|js\\|png\\|jpg\\|gif\\|svg\\|jpeg\\|ttf\\|woff\\|txt\\|epub\\|html"
 | 
			
		||||
        :publishing-directory "/ssh:Naro:~/www/phundrak.com/www/config"
 | 
			
		||||
        :recursive t
 | 
			
		||||
        :language "fr"
 | 
			
		||||
        :publishing-function org-publish-attachment)
 | 
			
		||||
     #+END_SRC
 | 
			
		||||
 | 
			
		||||
     The project is then defined like so:
 | 
			
		||||
     #+NAME: org-proj-config
 | 
			
		||||
     #+BEGIN_SRC emacs-lisp :tangle no
 | 
			
		||||
       ("config-website"
 | 
			
		||||
        :components ("config-website-org"
 | 
			
		||||
                     "config-website-static"))
 | 
			
		||||
     #+END_SRC
 | 
			
		||||
 | 
			
		||||
**** Linguistics website
 | 
			
		||||
     :PROPERTIES:
 | 
			
		||||
     :CUSTOM_ID: h-a54bbe09-960f-428e-9cbd-5dabb4bb8daa
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										36
									
								
								tmux.org
									
									
									
									
									
								
							
							
						
						
									
										36
									
								
								tmux.org
									
									
									
									
									
								
							@ -1,41 +1,9 @@
 | 
			
		||||
#+TITLE: Phundrak’s tmux config
 | 
			
		||||
#+AUTHOR: Lucien "Phundrak” Cartier-Tilet
 | 
			
		||||
#+EMAIL: phundrak@phundrak.fr
 | 
			
		||||
#+OPTIONS: H:4 broken_links:mark email:t ^:{} auto-id:t
 | 
			
		||||
 | 
			
		||||
# ### LaTeX ####################################################################
 | 
			
		||||
#+LATEX_CLASS: conlang
 | 
			
		||||
#+LaTeX_CLASS_OPTIONS: [a4paper,twoside]
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{tocloft} \setlength{\cftchapnumwidth}{3em}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{xltxtra,fontspec,xunicode,svg}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage[total={17cm,24cm}]{geometry}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \setromanfont{Charis SIL}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{xcolor}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{hyperref}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \hypersetup{colorlinks=true,linkbordercolor=red,linkcolor=blue,pdfborderstyle={/S/U/W 1}}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{multicol}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \usepackage{indentfirst}
 | 
			
		||||
#+LATEX_HEADER_EXTRA: \sloppy
 | 
			
		||||
 | 
			
		||||
# ### HTML #####################################################################
 | 
			
		||||
#+HTML_DOCTYPE: html5
 | 
			
		||||
#+INCLUDE: ~/org/config-website/headers.org
 | 
			
		||||
#+OPTIONS: auto-id:t
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak's tmux config" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak's tmux config" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta property="og:description" content="Description of the tmux config file of Phundrak" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script src="https://kit.fontawesome.com/4d42d0c8c5.js"></script>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script src="https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js"></script>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="shortcut icon" href="https://cdn.phundrak.com/img/mahakala-128x128.png" type="img/png" media="screen" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="shortcut icon" href="https://cdn.phundrak.com/img/favicon.ico" type="image/x-icon" media="screen" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta property="og:image" content="https://cdn.phundrak.com/img/rich_preview.png" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="twitter:card" content="summary" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="twitter:site" content="@phundrak" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <meta name="twitter:creator" content="@phundrak" />
 | 
			
		||||
#+HTML_HEAD_EXTRA: <style>.org-svg{width:auto}</style>
 | 
			
		||||
#+INFOJS_OPT: view:info toc:1 home:https://phundrak.com/config toc:t
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="stylesheet" href="https://langue.phundrak.com/css/htmlize.min.css"/>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <link rel="stylesheet" href="https://langue.phundrak.com/css/main.css"/>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script src="https://langue.phundrak.com/js/jquery.min.js"></script>
 | 
			
		||||
#+HTML_HEAD_EXTRA: <script defer src="https://langue.phundrak.com/js/main.js"></script>
 | 
			
		||||
 | 
			
		||||
* Table of Contents                                        :TOC_4_gh:noexport:
 | 
			
		||||
  :PROPERTIES:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user