commit
Add MIT licence and keep it out of ~/.config
Co-Authored-By: Sandrone <[email protected]>
diff --git a/.gitignore b/.gitignore
index e5333f1..da5ede5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,6 +4,7 @@
!/.gitignore
!/.github/
!/README.md
+!/LICENSE
!/screenshot.png
!/install*
!/bashrc
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..b414b04
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2026 Clove Twilight
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/install-config.sh b/install-config.sh
index 27842d2..fad083c 100755
--- a/install-config.sh
+++ b/install-config.sh
@@ -41,7 +41,7 @@ fi
# Every "!/name" line in .gitignore is a tracked config, minus the repo's own
# files and the assets that install-assets.sh handles.
mapfile -t ITEMS < <(sed -n 's|^!/\([^/]*\)/\{0,1\}$|\1|p' "$REPO/.gitignore" |
- grep -v -x -E '\.gitignore|\.github|README\.md|screenshot\.png|install.*|icons|binaries|sddm|bashrc')
+ grep -v -x -E '\.gitignore|\.github|README\.md|LICENSE|screenshot\.png|install.*|icons|binaries|sddm|bashrc')
# place <src> <dest> <label>: copy src to dest. An old link into the repo is
# swapped for a copy, an identical copy is left alone, anything else is