summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2017-09-11 11:24:25 (EDT)
committer P. J. McDermott <pj@pehjota.net>2017-09-11 11:24:25 (EDT)
commit9ee1c5e75093ff598675690dd687e964f296b46d (patch)
treee453550ce0ca8ed1973b31eb0873cd122bab4b59
parent1f4edf9f18bc665df5e09caad1b24244bbf3b43c (diff)
downloadfluxbox-9ee1c5e75093ff598675690dd687e964f296b46d.zip
fluxbox-9ee1c5e75093ff598675690dd687e964f296b46d.tar.gz
fluxbox-9ee1c5e75093ff598675690dd687e964f296b46d.tar.bz2
Sort .fluxbox/init with a filter
fluxbox rearranges the lines in this file.
-rw-r--r--.gitattributes.d/fluxbox1
-rw-r--r--.gitconfig.d/fluxbox3
-rwxr-xr-x.gitignore.d/fluxbox4
3 files changed, 8 insertions, 0 deletions
diff --git a/.gitattributes.d/fluxbox b/.gitattributes.d/fluxbox
new file mode 100644
index 0000000..853f33f
--- /dev/null
+++ b/.gitattributes.d/fluxbox
@@ -0,0 +1 @@
+/.fluxbox/init filter=fluxbox-init
diff --git a/.gitconfig.d/fluxbox b/.gitconfig.d/fluxbox
new file mode 100644
index 0000000..aa47fd0
--- /dev/null
+++ b/.gitconfig.d/fluxbox
@@ -0,0 +1,3 @@
+[filter "fluxbox-init"]
+ clean = sort
+ smudge = cat
diff --git a/.gitignore.d/fluxbox b/.gitignore.d/fluxbox
index a03616a..00be213 100755
--- a/.gitignore.d/fluxbox
+++ b/.gitignore.d/fluxbox
@@ -16,6 +16,10 @@
!/bin/batmon
!/bin/volmon
!/.fehbg
+!/.gitattributes.d/
+!/.gitattributes.d/fluxbox
+!/.gitconfig.d/
+!/.gitconfig.d/fluxbox
!/.gitignore.d/
!/.gitignore.d/fluxbox