package screenpager::Config_1; # 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 The configuration file for Screenpager, which it expects to find at `/etc/xdg/screenpager/Config_1.pm`. =cut # Screen bounds. Each entry corresponds to a screen. The first entry is the west, or leftmost # screen. All values are in pixels. The top margin is the distance to the edge of the desktop, # which is zero unless the screen is has a vertical offset. # our @screen = ({ width => 1920, height => 1080, # margin_top => 615 ## TEST: margin_top => 0, }, # These match the Y values of `/etc/X11/xorg.conf.d/80_layouts.conf`. { width => 1080, height => 1920, margin_top => 535, }, { width => 1080, height => 1920, margin_top => 0, }, { width => 1080, height => 1920, margin_top => 0, }, { width => 1440, height => 900, margin_top => 25, }, { width => 1440, height => 900, margin_top => 268, }); # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Whether to launch an extra on-screen display. Set to 0 to launch a single OSD # process, or 1 to launch two processes in parallel. If you notice the OSD is # sometimes clipped at the bottom, then set this to 1. This is a workaround # for a bug in osd_cat. # our $double_osd = 0; # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Screenpager's swap desktop, used for holding swapped-out windows. Create a new # virtual desktop for this purpose using your window manager and record its number # here. Desktops are numbered from zero. # our $swap_desktop = 2; # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # The directory to use for temporary files, given without a trailing slash. # # our $temp_dir = '/tmp'; ## Fails now that kernel parameter `fs.protected_regular` is enabled. See `/var/tmp/open/.keep`. our $temp_dir = '/var/tmp/open'; # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Validity of configuration. The default of 0 disables screenpager. Set to 1 when # the configuration in the rest of this file (above) is correct. # my $valid = 1; ##### I m p l e m e n t a t i o n ######################################################## $valid or die 'screenpager: invalid configuration in ' . __FILE__ . "\n"; 1;