Commit Graph
700 Commits
Author SHA1 Message Date
Jon Lund Steffensen e8ff48cf11 Merge pull request #753 from WhyNotHugo/systemd-tweaks
Tweak systemd service files to avoid early startup failures
2020-06-14 09:23:15 -07:00
Hugo Osvaldo Barrera 6ceecc4aeb Add a FAQ entry on issues with running via systemd
Fixes #742
2020-06-14 11:31:42 +02:00
Hugo Osvaldo Barrera 8bc937a700 Change services to by wanted by graphical-session
The previous value (`default.target`) meant that redshift got started
when a user session began, at which point we can't expect a graphic
session to be up and running (eg: Xorg or Wayland may have not even been
invoked yet).

Setting `WantedBy=graphical-session.target` ensures that, when the
service is enable, it'll only get run when starting a graphical session
(again, either Xorg or Wayland, whatever DE's may be used).
2020-06-14 11:31:42 +02:00
Hugo Osvaldo Barrera c1026be5bb Set redshift to run after graphical-sesion.target
The previous reference (`display-manager.service`) is not something
that's included with systemd. While it may be present on some user's
system (because they created it, or some specific package includes it),
it can't be expected to be present.

On the other hand, `graphical-session.target` is included with systemd,
and can be expected to be there, and be triggered when starting a
graphical session.

This guarantees that redshift will only run AFTER a graphic session is
up (eg: either Xorg or Wayland are up).
2020-06-14 11:31:42 +02:00
Jon Lund Steffensen 2e68682cf5 Merge branch 'pull/751' 2020-06-13 19:08:25 -07:00
ariasuni a6746a6e6f Use real 3rd-level headers in README so that you can link to them 2020-06-13 19:04:17 -07:00
ariasuni d3662db94f List some alternatives to Redshift on Wayland 2020-06-13 19:04:17 -07:00
Jon Lund Steffensen 9390a1fb17 Merge pull request #740 from kakurasan/appveyor_localtime_s
src/redshift.c: Use localtime_s() on Windows
2020-06-13 18:59:26 -07:00
Jon Lund Steffensen 3013a1bb9c Merge pull request #761 from jonls/jonls/remove-travis-macos-workaround
Fix all CI builds
2020-06-13 18:56:37 -07:00
Jon Lund Steffensen afb806f0bf Try to remove brew upgrade python 2020-06-13 18:46:29 -07:00
Masanori Kakura d87a28a6f5 src/redshift.c: Use localtime_s() on Windows
AppVeyor's GCC no longer supports localtime_r().
We need to use localtime_s() on Windows.
2020-06-13 18:25:58 -07:00
Jon Lund Steffensen ae9982925e Remove Travis macOS workaround 2020-06-13 18:19:20 -07:00
Masanori Kakura 1da93dcd7d src/redshift.c: Use localtime_s() on Windows
AppVeyor's GCC no longer supports localtime_r().
We need to use localtime_s() on Windows.
2019-10-02 22:24:22 +09:00
Jon Lund Steffensen 04760afe31 Merge pull request #710 from hubvu/suspend-feature
Fix #386: added more suspend durations as requested
2019-03-04 08:40:16 -08:00
hubvu 2e91da281e Fix #386: added more suspend durations as requested 2019-03-03 18:59:38 +00:00
Jon Lund Steffensen eb1b106b53 Merge pull request #679 from jonls/ini-hash-comment
Fixes #578: Allow hash as comment character
2018-10-20 20:23:23 -07:00
Jon Lund Steffensen f7fbbb04c3 Fixes #578: Allow hash as comment character 2018-10-20 20:04:50 -07:00
Jon Lund Steffensen 915eb99877 Merge pull request #678 from jonls/contributing-docs
Fixes to documentation on contributing
2018-10-20 19:57:59 -07:00
Jon Lund Steffensen d1e95ac14b Fixes to documentation on contributing
Fixes #579
2018-10-20 19:42:10 -07:00
Jon Lund Steffensen dbd93e25ba Merge pull request #673 from clefebvre/symbolic-status-icons
Status icon: Prefer symbolic icons when available
2018-10-20 14:17:31 -07:00
Jon Lund Steffensen 4b048932b1 Merge pull request #661 from kakurasan/nls_config_h
Fix "Some translated strings are still in English" issue
2018-10-13 09:59:44 -07:00
Clement Lefebvre dca8334646 Status icon: Prefer symbolic icons when available
Use 'redshift-status-on-symbolic' and 'redshift-statys-off-symbolic'
if available.

If these icons are not present in the icon theme, fallback to
'redshift-status-on' and 'redshift-status-off'.

Symbolic icons are the only way for themes to properly support
both light and dark panels with grey icons. If the icon name ends
with -symbolic, GTK renders the foreground color of the icon based
on the color of the panel behind it.
2018-10-02 13:36:41 +01:00
Masanori Kakura 74a5295da0 Fix "Some translated strings are still in English" issue
ENABLE_NLS is always undefined in some files and
some translatable messages in these files are always displayed
in English. This commit fixes the issue.
2018-08-29 21:58:05 +09:00
Jon Lund Steffensen ca8362c19e Merge pull request #641 from jonls/delete-de-mo
Fix #609: Delete de.mo file
2018-08-12 14:55:03 -07:00
Jon Lund Steffensen 2b3460c1cb Merge pull request #648 from jonls/issue-templates
Add issue templates
2018-08-12 14:47:58 -07:00
Jon Lund Steffensen 07b4ef220c Merge pull request #649 from jonls/update-dot-files
Update dot files
2018-08-12 14:39:02 -07:00
Jon Lund Steffensen 799dfcb229 Merge pull request #634 from benvdh/master
Update rpm spec file to version 1.12
2018-08-12 14:27:31 -07:00
Jon Lund Steffensen a3c10e1b8e Fix #609: Delete de.mo file 2018-08-12 14:25:16 -07:00
Jon Lund Steffensen 5cd7b602e7 Add issue templates 2018-08-12 14:24:54 -07:00
Jon Lund Steffensen bbcfa3048b Add .editorconfig 2018-08-12 14:23:43 -07:00
Jon Lund Steffensen 60f45972a5 Update gitignore 2018-08-12 14:23:43 -07:00
Jon Lund Steffensen bfd9d984f3 Merge pull request #644 from kakurasan/travis_automake_mac
Travis: Fix automake on macOS
2018-08-12 14:11:47 -07:00
Masanori Kakura 797bde1e3c Travis: Fix automake on macOS
Temporary workaround for distuninstallcheck error.
2018-08-12 15:27:00 +09:00
Ben 12ec4e1930 Update rpm spec file to version 1.12 2018-07-08 17:43:18 +02:00
Jon Lund Steffensen 910c4c6aab Merge pull request #610 from kakurasan/xdg-spec-data
README, man, apparmor: Update configuration file path
2018-07-05 21:11:47 -07:00
Jon Lund Steffensen 01139a15bf Merge branch 'release-1.12' 2018-05-20 19:03:13 -07:00
Jon Lund Steffensen 6061bde1bf Update NEWS 2018-05-20 18:47:53 -07:00
Jon Lund Steffensen 7a263836d9 Bump version to 1.12 2018-05-20 18:20:10 -07:00
Jon Lund Steffensen 958b143ede Import translations from launchpad 2018-05-20 18:17:20 -07:00
Jon Lund Steffensen 2da3bf2680 Fix issue where quartz did not mark as unavailable 2018-05-20 17:55:45 -07:00
Masanori Kakura 001d4aeffa README, man, apparmor: Update configuration file path
Because of commit 9ff0501.
2018-05-07 22:49:17 +09:00
Jon Lund Steffensen 802607625e Merge pull request #608 from kakurasan/xdg-spec
Fix #606
2018-05-06 15:52:21 -07:00
Masanori Kakura 9ff0501e78 config-ini: Properly respect XDG_CONFIG_HOME base directory specification
If redshift.conf is not found, fall back to formerly used path.
2018-05-04 22:58:54 +09:00
Jon Lund Steffensen 36e7877b0f Merge pull request #600 from kakurasan/travis_python3_mac
Travis: Run "brew upgrade python" to install Python 3 on macOS
2018-04-26 09:51:34 -07:00
Masanori Kakura b2e3fd06bb Travis: Run "brew upgrade python" to install Python 3 on macOS
As of March 2018, Travis CI fails on macOS:

Error: python 2.7.14 is already installed
To upgrade to 3.6.4_4, run `brew upgrade python`

This commit fixes the issue.
2018-03-23 23:00:12 +09:00
Jon Lund Steffensen 91e1d30a6f Merge pull request #550 from mwstobo/enable-disable-hooks
Fix #335: Set period to none when disabled
2017-12-12 20:39:37 -08:00
Matt Stobo a4d89c7d6b Fix #335: Set period to none when disabled
This allows for hooks to be run when redshift is disabled
2017-10-30 19:38:41 -04:00
Jon Lund Steffensen b210813c7f Merge pull request #542 from jonls/options-refactor
options: Split up parse functions
2017-10-19 17:08:01 -07:00
Jon Lund Steffensen 8197f35943 options: Split parse functions 2017-10-19 15:52:16 -07:00
Jon Lund Steffensen d6b5fc1d1c Merge pull request #539 from jonls/update-po
Update translation files
2017-10-18 13:18:38 -07:00