summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/backlight31
-rw-r--r--examples/comprehensive30
-rw-r--r--examples/crtc-detection30
-rw-r--r--examples/crtc-searching30
-rw-r--r--examples/current-settings30
-rw-r--r--examples/lisp-esque.conf11
-rw-r--r--examples/logarithmic10
-rw-r--r--examples/stored-settings30
-rw-r--r--examples/threaded31
-rw-r--r--examples/xmobar10
-rw-r--r--examples/xpybar10
11 files changed, 253 insertions, 0 deletions
diff --git a/examples/backlight b/examples/backlight
index 59673bb..525948b 100644
--- a/examples/backlight
+++ b/examples/backlight
@@ -5,6 +5,37 @@
# The example with oscillate the backlight between 50 %
# and 100 % but include any manual adjustments.
+
+# This file is dual-licensed under GNU General Public License
+# version 3 and GNU Free Documentation License version 1.3.
+
+
+# Copyright © 2014 Mattias Andrée (maandree@member.fsf.org)
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+# Copyright © 2014 Mattias Andrée (maandree@member.fsf.org)
+#
+# Permission is granted to copy, distribute and/or modify this document
+# under the terms of the GNU Free Documentation License, Version 1.3
+# or any later version published by the Free Software Foundation;
+# with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+# You should have received a copy of the GNU General Public License
+# along with this software package. If not, see <http://www.gnu.org/licenses/>.
+
+
import math
diff --git a/examples/comprehensive b/examples/comprehensive
index 0ffa42d..6535dad 100644
--- a/examples/comprehensive
+++ b/examples/comprehensive
@@ -9,6 +9,36 @@
# nor does it parse options other than -r from ad-hoc settigns, or
# use monitor identifiation.
+
+# This file is dual-licensed under GNU General Public License
+# version 3 and GNU Free Documentation License version 1.3.
+
+
+# Copyright © 2014 Mattias Andrée (maandree@member.fsf.org)
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+# Copyright © 2014 Mattias Andrée (maandree@member.fsf.org)
+#
+# Permission is granted to copy, distribute and/or modify this document
+# under the terms of the GNU Free Documentation License, Version 1.3
+# or any later version published by the Free Software Foundation;
+# with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+# You should have received a copy of the GNU General Public License
+# along with this software package. If not, see <http://www.gnu.org/licenses/>.
+
import os
diff --git a/examples/crtc-detection b/examples/crtc-detection
index 9b3b2ed..91e8d0e 100644
--- a/examples/crtc-detection
+++ b/examples/crtc-detection
@@ -4,6 +4,36 @@
# in to the computer, and applied their proper calibration.
+# This file is dual-licensed under GNU General Public License
+# version 3 and GNU Free Documentation License version 1.3.
+
+
+# Copyright © 2014 Mattias Andrée (maandree@member.fsf.org)
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+# Copyright © 2014 Mattias Andrée (maandree@member.fsf.org)
+#
+# Permission is granted to copy, distribute and/or modify this document
+# under the terms of the GNU Free Documentation License, Version 1.3
+# or any later version published by the Free Software Foundation;
+# with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+# You should have received a copy of the GNU General Public License
+# along with this software package. If not, see <http://www.gnu.org/licenses/>.
+
+
# The colour temperature to apply.
temp = 6500
diff --git a/examples/crtc-searching b/examples/crtc-searching
index 36b56fb..1a00fa9 100644
--- a/examples/crtc-searching
+++ b/examples/crtc-searching
@@ -7,6 +7,36 @@
# but `Screen.crtc_count` is much more effective.
+# This file is dual-licensed under GNU General Public License
+# version 3 and GNU Free Documentation License version 1.3.
+
+
+# Copyright © 2014 Mattias Andrée (maandree@member.fsf.org)
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+# Copyright © 2014 Mattias Andrée (maandree@member.fsf.org)
+#
+# Permission is granted to copy, distribute and/or modify this document
+# under the terms of the GNU Free Documentation License, Version 1.3
+# or any later version published by the Free Software Foundation;
+# with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+# You should have received a copy of the GNU General Public License
+# along with this software package. If not, see <http://www.gnu.org/licenses/>.
+
+
# We want to use the ad-hoc mode options.
uses_adhoc_opts = True
diff --git a/examples/current-settings b/examples/current-settings
index 62d5e7d..07a06e9 100644
--- a/examples/current-settings
+++ b/examples/current-settings
@@ -4,6 +4,36 @@
# can be read and transitioned from.
+# This file is dual-licensed under GNU General Public License
+# version 3 and GNU Free Documentation License version 1.3.
+
+
+# Copyright © 2014 Mattias Andrée (maandree@member.fsf.org)
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+# Copyright © 2014 Mattias Andrée (maandree@member.fsf.org)
+#
+# Permission is granted to copy, distribute and/or modify this document
+# under the terms of the GNU Free Documentation License, Version 1.3
+# or any later version published by the Free Software Foundation;
+# with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+# You should have received a copy of the GNU General Public License
+# along with this software package. If not, see <http://www.gnu.org/licenses/>.
+
+
uses_adhoc_opts = True
'''
:bool `True` if the configuration script parses the ad-hoc settings
diff --git a/examples/lisp-esque.conf b/examples/lisp-esque.conf
index 86a3175..4e6a8e1 100644
--- a/examples/lisp-esque.conf
+++ b/examples/lisp-esque.conf
@@ -4,6 +4,17 @@
; This configuration file requires the LISP-esque example
; configuration scripts
+
+; Copyright © 2014 Mattias Andrée (maandree@member.fsf.org)
+;
+; Permission is granted to copy, distribute and/or modify this document
+; under the terms of the GNU Free Documentation License, Version 1.3
+; or any later version published by the Free Software Foundation;
+; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+; You should have received a copy of the GNU General Public License
+; along with this software package. If not, see <http://www.gnu.org/licenses/>.
+
+
; Both ; (semicolon) and # (pound) start commands ending the end of the line
; If you know LISP, you might find this to be a bit different,
diff --git a/examples/logarithmic b/examples/logarithmic
index 7113534..731b27d 100644
--- a/examples/logarithmic
+++ b/examples/logarithmic
@@ -4,6 +4,16 @@
# curve linearisation to make the colour curves logarithmic.
+# Copyright © 2014 Mattias Andrée (maandree@member.fsf.org)
+#
+# Permission is granted to copy, distribute and/or modify this document
+# under the terms of the GNU Free Documentation License, Version 1.3
+# or any later version published by the Free Software Foundation;
+# with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+# You should have received a copy of the GNU General Public License
+# along with this software package. If not, see <http://www.gnu.org/licenses/>.
+
+
import math
# Use linear RGB.
diff --git a/examples/stored-settings b/examples/stored-settings
index cc87cff..95180b6 100644
--- a/examples/stored-settings
+++ b/examples/stored-settings
@@ -3,6 +3,36 @@
# This example demonstrates how settings can be stored
# and be transition from later.
+
+# This file is dual-licensed under GNU General Public License
+# version 3 and GNU Free Documentation License version 1.3.
+
+
+# Copyright © 2014 Mattias Andrée (maandree@member.fsf.org)
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+# Copyright © 2014 Mattias Andrée (maandree@member.fsf.org)
+#
+# Permission is granted to copy, distribute and/or modify this document
+# under the terms of the GNU Free Documentation License, Version 1.3
+# or any later version published by the Free Software Foundation;
+# with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+# You should have received a copy of the GNU General Public License
+# along with this software package. If not, see <http://www.gnu.org/licenses/>.
+
import os
import time
diff --git a/examples/threaded b/examples/threaded
index 68914ec..9b0cab0 100644
--- a/examples/threaded
+++ b/examples/threaded
@@ -3,6 +3,37 @@
# This example demonstrates how you can make a
# multithreaded configurations script
+
+# This file is dual-licensed under GNU General Public License
+# version 3 and GNU Free Documentation License version 1.3.
+
+
+# Copyright © 2014 Mattias Andrée (maandree@member.fsf.org)
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+# Copyright © 2014 Mattias Andrée (maandree@member.fsf.org)
+#
+# Permission is granted to copy, distribute and/or modify this document
+# under the terms of the GNU Free Documentation License, Version 1.3
+# or any later version published by the Free Software Foundation;
+# with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+# You should have received a copy of the GNU General Public License
+# along with this software package. If not, see <http://www.gnu.org/licenses/>.
+
+
import threading
diff --git a/examples/xmobar b/examples/xmobar
index 427d4b5..19148b1 100644
--- a/examples/xmobar
+++ b/examples/xmobar
@@ -4,6 +4,16 @@
# Sun's elevation and to what degree it is day time.
+# Copyright © 2014 Mattias Andrée (maandree@member.fsf.org)
+#
+# Permission is granted to copy, distribute and/or modify this document
+# under the terms of the GNU Free Documentation License, Version 1.3
+# or any later version published by the Free Software Foundation;
+# with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+# You should have received a copy of the GNU General Public License
+# along with this software package. If not, see <http://www.gnu.org/licenses/>.
+
+
# Geographical coodinates.
# (KTH building D computer laboratories in this example.)
latitude, longitude = 59.3472, 18.0728
diff --git a/examples/xpybar b/examples/xpybar
index f403f15..b515b04 100644
--- a/examples/xpybar
+++ b/examples/xpybar
@@ -4,6 +4,16 @@
# Sun's elevation and to what degree it is day time.
+# Copyright © 2014 Mattias Andrée (maandree@member.fsf.org)
+#
+# Permission is granted to copy, distribute and/or modify this document
+# under the terms of the GNU Free Documentation License, Version 1.3
+# or any later version published by the Free Software Foundation;
+# with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+# You should have received a copy of the GNU General Public License
+# along with this software package. If not, see <http://www.gnu.org/licenses/>.
+
+
# Geographical coodinates.
# (KTH building D computer laboratories in this example.)
latitude, longitude = 59.3472, 18.0728