| Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
Fixes #742
|
|
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).
|
|
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).
|
|
|
|
|
|
|
|
AppVeyor's GCC no longer supports localtime_r().
We need to use localtime_s() on Windows.
|
|
|
|
AppVeyor's GCC no longer supports localtime_r().
We need to use localtime_s() on Windows.
|
|
|
|
|
|
Fixes #579
|
|
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.
|
|
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.
|
|
|
|
|