repo: add editorconfig && format
This commit is contained in:
parent
9fe34a4377
commit
9f9fe8cb8f
8 changed files with 31 additions and 10 deletions
21
.editorconfig
Normal file
21
.editorconfig
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# EditorConfig is awesome: https://EditorConfig.org
|
||||||
|
|
||||||
|
# top-most EditorConfig file
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
# Ignore diffs/patches
|
||||||
|
[*.{diff,patch}]
|
||||||
|
end_of_line = unset
|
||||||
|
insert_final_newline = unset
|
||||||
|
trim_trailing_whitespace = unset
|
||||||
|
|
||||||
|
# Nix
|
||||||
|
[*.nix]
|
||||||
|
indent_size = 2
|
||||||
|
indent_style = space
|
|
@ -61,10 +61,10 @@
|
||||||
|
|
||||||
# start some nice programs
|
# start some nice programs
|
||||||
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
||||||
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
|
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
|
||||||
[ -x "$f" ] && . "$f"
|
[ -x "$f" ] && . "$f"
|
||||||
done
|
done
|
||||||
unset f
|
unset f
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# https://wiki.archlinux.org/title/Cursor_themes#Change_X_shaped_default_cursor
|
# https://wiki.archlinux.org/title/Cursor_themes#Change_X_shaped_default_cursor
|
||||||
|
|
Loading…
Reference in a new issue