package screenpager::Pref_0;

# PUBLIC at `http://reluk.ca/sys/computer/workstation/etc/xdg/screenpager/` because project
# Screenpager refers to it there.  http://reluk.ca/project/Screenpager/introduction.html
use strict; use warnings;

=pod

=head1 DESCRIPTION

User preferences for screenpager.

Screenpager looks for a copy of this file at the following locations,
in order of precedence:

  $ENV{'HOME'}/.config/screenpager/Pref_0.pm
  /etc/xdg/screenpager/Pref_0.pm

=cut


    # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    # Appearance and behaviour of on-screen (summary) display.
    #
    our %display =
    (
      # font => '-monotype-arial black-medium-r-normal--*-320-*-*-p-*-iso8859-1',
      ## Fails after port from Havoc to Primeval (2020-6), though Arial Black *is* there
      ## according to `fc-match`.  As a temporary workaround, then:
        font => '-*-helvetica-bold-r-*-*-*-400-100-100-*-*-iso10646-*', # Chosen via `xfontsel -scaled`.
          # Changing?  Sync `~/sys/libexec/mouse-ping`.
          # FIX: allow the font specification to be omitted and so fall to the default of `osd_cat`.

        fill_colour => '#AFA', # For glyphs.
          # osd_cat is messed up here.  to get yellow, I specify cyan.  See also
          # screenpager::_osd, where vertical offset progresses backwards.  But both of
          # these work as expected when I call osd_cat from ~/system/bin/mouse-ping.

        outline_colour => 'black', # For glyphs.
        outline_thickness => 2, # (pixels) For glyphs.

        duration => 4, # seconds # default for "display on"
    );



1;