{"id":25096593,"url":"https://github.com/jceb/srandrd","last_synced_at":"2025-04-17T12:42:37.101Z","repository":{"id":44521609,"uuid":"59050771","full_name":"jceb/srandrd","owner":"jceb","description":"srandrd - simple randr daemon","archived":false,"fork":false,"pushed_at":"2023-08-13T07:56:34.000Z","size":69,"stargazers_count":136,"open_issues_count":1,"forks_count":12,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-22T21:02:21.808Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://bitbucket.org/portix/srandrd","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jceb.png","metadata":{"files":{"readme":"README.adoc","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-05-17T19:04:15.000Z","updated_at":"2025-02-02T12:03:27.000Z","dependencies_parsed_at":"2022-08-30T00:50:17.777Z","dependency_job_id":"c6995539-a93b-4168-918b-2787feb71426","html_url":"https://github.com/jceb/srandrd","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jceb%2Fsrandrd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jceb%2Fsrandrd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jceb%2Fsrandrd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jceb%2Fsrandrd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jceb","download_url":"https://codeload.github.com/jceb/srandrd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249342146,"owners_count":21254229,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-07T16:49:05.705Z","updated_at":"2025-04-17T12:42:37.082Z","avatar_url":"https://github.com/jceb.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"// See LICENSE for copyright and license details\n// vim: set ft=asciidoc:\nSRANDRD(1)\n==========\n:doctype: manpage\n\n== NAME\n\nsrandrd - simple randr daemon\n\n== SYNOPSIS\n\n*srandrd* ['OPTIONS'] 'COMMAND|list'\n\n*list*::\n\tList outputs and EDIDs and terminate\n\n== OPTIONS\n\n*-h*::\n\tPrint help and exit\n*-n*::\n\tDon't fork to background\n*-V*::\n    Show version information and exit\n*-v*::\n    Verbose output\n*-e*::\n    Emit connected devices at startup\n*-1*::\n    One-shot mode; exit after emitting connected devices (implies *-e*)\n\n== DESCRIPTION\n\nsrandrd(1) is a tool that executes a command on xrandr output change\nevents, i.e. if a monitor is plugged or unplugged. By default srandrd\nforks to background and exits if the xserver exits.\n\nThe following variables are defined:\n\n'SRANDRD_OUTPUT' defines the name of the graphics card output / port\nthat triggered the event, e.g. 'DVI-0'.\n\n'SRANDRD_EVENT' defines the event that happened.  It's one of the\nfollowing:\n\n----\n[connected|disconnected|unknown]\n----\n\n'SRANDRD_EDID' defines a semi-unique identifier of the monitor that has\nbeen connected.  The identifier is usually not unique (the same) within\na monitor series.  The identifier has this format:\n\n----\nVENDOR[4]PRODUCT[4]SERIAL[8]\n----\n\n'SRANDRD_SCREENID' defines the xinerama screen id (if available).  The\nidentifier has this format:\n\n----\nXINERAMA_SCREENID[1..n]\n----\n\n== EXAMPLE\n\nAn example usage could be\n\n----\nsrandrd display_handler\n----\n\nwhere display_handler being the following script\n\n----\n#!/bin/sh\n\ncase \"${SRANDRD_OUTPUT} ${SRANDRD_EVENT}\" in\n  \"DVI-0 connected\") xrandr --output DVI-0 --auto --right-of LVDS;;\n  \"VGA-0 connected\") xrandr --output VGA-0 --auto --left-of LVDS;;\nesac\n----\n\n== RESOURCES\n\ngithub: https://github.com/jceb/srandrd\n\n== RELATED\n\nscreenconfig: https://github.com/jceb/screenconfig\n\n== AUTHOR\n\n* Jan Christoph Ebersbach \u003cjceb@e-jc.de\u003e\n* Stefan Bolte \u003cportix@gmx.net\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjceb%2Fsrandrd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjceb%2Fsrandrd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjceb%2Fsrandrd/lists"}