Correct indent of file

This commit is contained in:
Thomas Dehaeze 2019-03-05 22:07:56 +01:00
parent 6db055f77a
commit a30a32a57b

View File

@ -214,17 +214,88 @@ set completion-ignore-case on
:END: :END:
#+BEGIN_SRC conf #+BEGIN_SRC conf
text/plain; nvim %s text/plain; nvim %s
audio/*; /usr/bin/xdg-open %s ; copiousoutput audio/*; /usr/bin/xdg-open %s ; copiousoutput
video/*; setsid mpv --quiet %s &; copiousoutput video/*; setsid mpv --quiet %s &; copiousoutput
image/*; ~/scripts/openfile.sh %s; image/*; ~/scripts/openfile.sh %s;
application/pdf; ~/scripts/openfile.sh %s; application/pdf; ~/scripts/openfile.sh %s;
text/html; qutebrowser %s; -n "$DISPLAY"; nametemplate=%s.html; text/html; qutebrowser %s; -n "$DISPLAY"; nametemplate=%s.html;
text/html; w3m -I %{charset} -T text/html; copiousoutput; text/html; w3m -I %{charset} -T text/html; copiousoutput;
text/calendar; khal import --batch -a home %s && khal printics %s; copiousoutput; text/calendar; khal import --batch -a home %s && khal printics %s; copiousoutput;
application/ics; khal import --batch -a home %s && khal printics %s; copiousoutput; application/ics; khal import --batch -a home %s && khal printics %s; copiousoutput;
#+END_SRC #+END_SRC
** Libreoffice
#+begin_src conf
application/docx; libreoffice %s --nologo &; copiousoutput;
application/doc; libreoffice --nologo %s &; copiousoutput;
application/vnd.oasis.opendocument.database; libreoffice --nologo --base '%s'; copiousoutput
application/vnd.oasis.opendocument.chart; libreoffice --nologo --calc '%s'; copiousoutput
application/vnd.oasis.opendocument.spreadsheet; libreoffice --nologo --calc '%s'; copiousoutput
application/vnd.oasis.opendocument.spreadsheet-template; libreoffice --nologo --calc '%s'; copiousoutput
application/vnd.oasis.opendocument.graphics; libreoffice --nologo --draw '%s'; copiousoutput
application/vnd.oasis.opendocument.graphics-template; libreoffice --nologo --draw '%s'; copiousoutput
application/vnd.oasis.opendocument.presentation; libreoffice --nologo --impress '%s'; copiousoutput
application/vnd.oasis.opendocument.presentation-template; libreoffice --nologo --impress '%s'; copiousoutput
application/vnd.oasis.opendocument.formula; libreoffice --nologo --math '%s'; copiousoutput
application/vnd.oasis.opendocument.text; libreoffice --nologo --writer '%s'; copiousoutput
application/vnd.oasis.opendocument.text-master; libreoffice --nologo -global '%s'; copiousoutput
application/vnd.oasis.opendocument.text-template; libreoffice --nologo --writer '%s'; copiousoutput
application/vnd.oasis.opendocument.text-web; libreoffice --nologo -web '%s'; copiousoutput
application/vnd.sun.xml.base; libreoffice --nologo --writer '%s'; copiousoutput
application/vnd.sun.xml.calc; libreoffice --nologo --calc '%s'; copiousoutput
application/vnd.sun.xml.calc.template; libreoffice --nologo --calc '%s'; copiousoutput
application/vnd.sun.xml.draw; libreoffice --nologo --draw '%s'; copiousoutput
application/vnd.sun.xml.draw.template; libreoffice --nologo --draw '%s'; copiousoutput
application/vnd.stardivision.calc; libreoffice --nologo --calc '%s'; copiousoutput
application/vnd.stardivision.chart; libreoffice --nologo --calc '%s'; copiousoutput
application/vnd.stardivision.draw; libreoffice --nologo --draw '%s'; copiousoutput
application/vnd.stardivision.impress; libreoffice --nologo --impress '%s'; copiousoutput
application/vnd.stardivision.math; libreoffice --nologo --math '%s'; copiousoutput
application/vnd.stardivision.writer-global; libreoffice --nologo --writer '%s'; copiousoutput
application/vnd.stardivision.writer; libreoffice --nologo --writer '%s'; copiousoutput
application/vnd.sun.xml.impress; libreoffice --nologo --impress '%s'; copiousoutput
application/vnd.sun.xml.impress.template; libreoffice --nologo --impress '%s'; copiousoutput
application/vnd.sun.xml.math; libreoffice --nologo --math '%s'; copiousoutput
application/vnd.sun.xml.writer; libreoffice --nologo --writer '%s'; copiousoutput
application/vnd.sun.xml.writer.global; libreoffice --nologo -global '%s'; copiousoutput
application/vnd.sun.xml.writer.template; libreoffice --nologo --writer '%s'; copiousoutput
text/csv; libreoffice --nologo --calc '%s'; copiousoutput
text/spreadsheet; libreoffice --nologo --calc '%s'; copiousoutput
application/x-quattropro; libreoffice --nologo --calc '%s'; copiousoutput
application/x-dbf; libreoffice --nologo --calc '%s'; copiousoutput
application/vnd.ms-excel.sheet.macroEnabled.12; libreoffice --nologo --calc '%s'; copiousoutput
application/vnd.ms-excel.template.macroEnabled.12; libreoffice --nologo --calc '%s'; copiousoutput
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; libreoffice --nologo --calc '%s'; copiousoutput
application/vnd.openxmlformats-officedocument.spreadsheetml.template; libreoffice --nologo --calc '%s'; copiousoutput
application/vnd.lotus-1-2-3; libreoffice --nologo --calc '%s'; copiousoutput
application/vnd.ms-excel; libreoffice --nologo --calc '%s'; copiousoutput
application/msexcel; libreoffice --nologo --calc '%s'; copiousoutput
application/x-dbase; libreoffice --nologo --calc '%s'; copiousoutput
text/x-csv; libreoffice --nologo --calc '%s'; copiousoutput
application/vnd.ms-powerpoint.presentation.macroEnabled.12; libreoffice --nologo --impress '%s'; copiousoutput
application/vnd.ms-powerpoint.slideshow.macroEnabled.12; libreoffice --nologo --impress '%s'; copiousoutput
application/vnd.ms-powerpoint.template.macroEnabled.12; libreoffice --nologo --impress '%s'; copiousoutput
application/vnd.openxmlformats-officedocument.presentationml.presentation; libreoffice --nologo --impress '%s'; copiousoutput
application/vnd.openxmlformats-officedocument.presentationml.slideshow; libreoffice --nologo --impress '%s'; copiousoutput
application/vnd.openxmlformats-officedocument.presentationml.template; libreoffice --nologo --impress '%s'; copiousoutput
application/vnd.ms-powerpoint; libreoffice --nologo --impress '%s'; copiousoutput
application/mspowerpoint; libreoffice --nologo --impress '%s'; copiousoutput
text/mathml; libreoffice --nologo --math '%s'; copiousoutput
application/rtf; libreoffice --nologo --writer '%s'; copiousoutput
application/x-t602; libreoffice --nologo --writer '%s'; copiousoutput
application/vnd.wordperfect; libreoffice --nologo --writer '%s'; copiousoutput
application/vnd.ms-word.document.macroEnabled.12; libreoffice --nologo --writer '%s'; copiousoutput
application/vnd.ms-word.template.macroEnabled.12; libreoffice --nologo --writer '%s'; copiousoutput
application/vnd.openxmlformats-officedocument.wordprocessingml.document; libreoffice --nologo --writer '%s'; copiousoutput
application/vnd.openxmlformats-officedocument.wordprocessingml.template; libreoffice --nologo --writer '%s'; copiousoutput
application/vnd.ms-works; libreoffice --nologo --writer '%s'; copiousoutput
application/msword; libreoffice --nologo --writer '%s'; copiousoutput
application/wordperfect; libreoffice --nologo --writer '%s'; copiousoutput
text/rtf; libreoffice --nologo --writer '%s'; copiousoutput
#+end_src
* urlview * urlview
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/.urlview :header-args: :tangle ~/.urlview
@ -403,7 +474,7 @@ default-cache-ttl 60480000
:END: :END:
#+BEGIN_SRC conf #+BEGIN_SRC conf
[global] [global]
frame_width = 3 frame_width = 3
frame_color = "#282828" frame_color = "#282828"
font = SauceCodePro Nerd Font 10 font = SauceCodePro Nerd Font 10
@ -547,8 +618,8 @@ default-cache-ttl 60480000
# Limit icons size. # Limit icons size.
max_icon_size=40 max_icon_size=40
# TODO - How to use these shortcuts? # TODO - How to use these shortcuts?
[shortcuts] [shortcuts]
# Shortcuts are specified as [modifier+][modifier+]...key # Shortcuts are specified as [modifier+][modifier+]...key
# Available modifiers are "ctrl", "mod1" (the alt-key), "mod2", # Available modifiers are "ctrl", "mod1" (the alt-key), "mod2",
# "mod3" and "mod4" (windows-key). # "mod3" and "mod4" (windows-key).
@ -556,122 +627,122 @@ default-cache-ttl 60480000
# Close notification. # Close notification.
close = mod1+backspace close = mod1+backspace
[urgency_low] [urgency_low]
# IMPORTANT: colors have to be defined in quotation marks. # IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment. # Otherwise the "#" and following would be interpreted as a comment.
background = "#263238" background = "#263238"
foreground = "#556064" foreground = "#556064"
timeout = 10 timeout = 10
[urgency_normal] [urgency_normal]
background = "#263238" background = "#263238"
foreground = "#F9FAF9" foreground = "#F9FAF9"
timeout = 10 timeout = 10
[urgency_critical] [urgency_critical]
background = "#D62929" background = "#D62929"
foreground = "#F9FAF9" foreground = "#F9FAF9"
timeout = 0 timeout = 0
# Every section that isn't one of the above is interpreted as a rules to # Every section that isn't one of the above is interpreted as a rules to
# override settings for certain messages. # override settings for certain messages.
# Messages can be matched by "appname", "summary", "body", "icon", "category", # Messages can be matched by "appname", "summary", "body", "icon", "category",
# "msg_urgency" and you can override the "timeout", "urgency", "foreground", # "msg_urgency" and you can override the "timeout", "urgency", "foreground",
# "background", "new_icon" and "format". # "background", "new_icon" and "format".
# Shell-like globbing will get expanded. # Shell-like globbing will get expanded.
# #
# SCRIPTING # SCRIPTING
# You can specify a script that gets run when the rule matches by # You can specify a script that gets run when the rule matches by
# setting the "script" option. # setting the "script" option.
# The script will be called as follows: # The script will be called as follows:
# script appname summary body icon urgency # script appname summary body icon urgency
# where urgency can be "LOW", "NORMAL" or "CRITICAL". # where urgency can be "LOW", "NORMAL" or "CRITICAL".
# #
# NOTE: if you don't want a notification to be displayed, set the format # NOTE: if you don't want a notification to be displayed, set the format
# to "". # to "".
# NOTE: It might be helpful to run dunst -print in a terminal in order # NOTE: It might be helpful to run dunst -print in a terminal in order
# to find fitting options for rules. # to find fitting options for rules.
#[espeak] #[espeak]
# summary = "*" # summary = "*"
# script = dunst_espeak.sh # script = dunst_espeak.sh
#[script-test] #[script-test]
# summary = "*script*" # summary = "*script*"
# script = dunst_test.sh # script = dunst_test.sh
#[ignore] #[ignore]
# # This notification will not be displayed # # This notification will not be displayed
# summary = "foobar" # summary = "foobar"
# format = "" # format = ""
#[signed_on] #[signed_on]
# appname = Pidgin # appname = Pidgin
# summary = "*signed on*" # summary = "*signed on*"
# urgency = low # urgency = low
#[signed_off] #[signed_off]
# appname = Pidgin # appname = Pidgin
# summary = *signed off* # summary = *signed off*
# urgency = low # urgency = low
#[says] #[says]
# appname = Pidgin # appname = Pidgin
# summary = *says* # summary = *says*
# urgency = critical # urgency = critical
#[twitter] #[twitter]
# appname = Pidgin # appname = Pidgin
# summary = *twitter.com* # summary = *twitter.com*
# urgency = normal # urgency = normal
[New Mail] [New Mail]
appname = mbsync appname = mbsync
category = email.arrived category = email.arrived
urgency = normal urgency = normal
background = "#2F899E" background = "#2F899E"
foreground = "#FFA247" foreground = "#FFA247"
#[mute.sh] #[mute.sh]
# appname = mute # appname = mute
# category = mute.sound # category = mute.sound
# script = mute.sh # script = mute.sh
#[JDownloader] #[JDownloader]
# appname = JDownloader # appname = JDownloader
# category = JD # category = JD
# background = "#FFA247" # background = "#FFA247"
# foreground = "#FFFFFF" # foreground = "#FFFFFF"
#[newsbeuter] #[newsbeuter]
# summary = *Feeds* # summary = *Feeds*
# background = "#A8EB41" # background = "#A8EB41"
# foreground = "#FFFFFF" # foreground = "#FFFFFF"
#[irc] #[irc]
# appname = weechat # appname = weechat
# timeout = 0 # timeout = 0
# background = "#0033bb" # background = "#0033bb"
# foreground = "#dddddd" # foreground = "#dddddd"
#[weechat hl] #[weechat hl]
# appname = weechat # appname = weechat
# category = weechat.HL # category = weechat.HL
# background = "#FF5C47" # background = "#FF5C47"
# foreground = "#FFFFFF" # foreground = "#FFFFFF"
#[weechat pn] #[weechat pn]
# appname = weechat # appname = weechat
# category = weechat.PM # category = weechat.PM
# background = "#D53B84" # background = "#D53B84"
# foreground = "#FFFFFF" # foreground = "#FFFFFF"
#[CMUS] #[CMUS]
# appname = CMUS # appname = CMUS
# category = cmus # category = cmus
# background = "#6C4AB7" # background = "#6C4AB7"
# foreground = "#FFE756" # foreground = "#FFE756"
#+END_SRC #+END_SRC
* feh * feh
@ -1474,7 +1545,7 @@ offline_mode=false
:END: :END:
#+BEGIN_SRC conf #+BEGIN_SRC conf
conky.config = { conky.config = {
alignment = 'top_left', alignment = 'top_left',
background = false, background = false,
border_width = 0, border_width = 0,
@ -1540,15 +1611,15 @@ conky.config = {
update_interval_on_battery = 1, update_interval_on_battery = 1,
use_spacer = 'none', use_spacer = 'none',
use_xft = true use_xft = true
} }
conky.text = [[ conky.text = [[
$color5${hr 2} $color5${hr 2}
${alignc}${color0}${font SauceCodePro Nerd Font:pixelsize=80}${time %I:%M}$font ${alignc}${color0}${font SauceCodePro Nerd Font:pixelsize=80}${time %I:%M}$font
${alignc}${time %d}$color ${time %B} ${time %Y} ${alignc}${time %d}$color ${time %B} ${time %Y}
]] ]]
#+END_SRC #+END_SRC
* Scrot * Scrot
:PROPERTIES: :PROPERTIES:
@ -1584,19 +1655,20 @@ scrot_dir=$HOME/Pictures
:END: :END:
#+BEGIN_SRC conf #+BEGIN_SRC conf
[geometry] [geometry]
posx=560 posx=560
posy=65 posy=65
sizex=578 sizex=578
sizey=591 sizey=591
[nitrogen] [nitrogen]
view=list view=list
recurse=false recurse=false
sort=alpha sort=alpha
icon_caps=false icon_caps=false
dirs=/home/tdehaeze/Pictures/wallpapers; dirs=/home/tdehaeze/Pictures/wallpapers;
#+END_SRC #+END_SRC
* Pass Git Helper * Pass Git Helper
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/.config/pass-git-helper/git-pass-mapping.ini :header-args: :tangle ~/.config/pass-git-helper/git-pass-mapping.ini
@ -1667,26 +1739,27 @@ pathbar_mode_buttons=0
:END: :END:
#+BEGIN_SRC conf #+BEGIN_SRC conf
[general] [general]
status_path = "~/.config/vdirsyncer/status/" status_path = "~/.config/vdirsyncer/status/"
[pair google_calendar] [pair google_calendar]
a = "google_calendar_remote" a = "google_calendar_remote"
b = "google_calendar_local" b = "google_calendar_local"
collections = ["dehaeze.thomas@gmail.com", "8kjmhe2ar0abnm054ill1fb0gc@group.calendar.google.com"] collections = ["dehaeze.thomas@gmail.com", "8kjmhe2ar0abnm054ill1fb0gc@group.calendar.google.com"]
conflict_resolution = "a wins" conflict_resolution = "a wins"
[storage google_calendar_remote] [storage google_calendar_remote]
type = "google_calendar" type = "google_calendar"
token_file = "~/.config/dotfiles/private/token_file" token_file = "~/.config/dotfiles/private/token_file"
client_id = "188415318767-802h28ig8gromo0f72blrbg6cgcop6m8.apps.googleusercontent.com" client_id = "188415318767-802h28ig8gromo0f72blrbg6cgcop6m8.apps.googleusercontent.com"
client_secret = "***REMOVED***" client_secret = "***REMOVED***"
[storage google_calendar_local] [storage google_calendar_local]
type = "filesystem" type = "filesystem"
path = "~/.calendars/google/" path = "~/.calendars/google/"
fileext = ".ics" fileext = ".ics"
#+END_SRC #+END_SRC
* Viewnior * Viewnior
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/.config/viewnior/viewnior.conf :header-args: :tangle ~/.config/viewnior/viewnior.conf