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