{"id":22898932,"url":"https://github.com/dwarfmaster/notification","last_synced_at":"2025-07-27T04:03:06.652Z","repository":{"id":17686624,"uuid":"20492529","full_name":"dwarfmaster/notification","owner":"dwarfmaster","description":"Notification system for x11 based system using xcb.","archived":false,"fork":false,"pushed_at":"2016-01-30T18:14:44.000Z","size":94,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-15T03:14:49.494Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dwarfmaster.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-04T17:14:19.000Z","updated_at":"2024-10-30T18:11:53.000Z","dependencies_parsed_at":"2022-09-11T15:12:04.810Z","dependency_job_id":null,"html_url":"https://github.com/dwarfmaster/notification","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwarfmaster%2Fnotification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwarfmaster%2Fnotification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwarfmaster%2Fnotification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwarfmaster%2Fnotification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dwarfmaster","download_url":"https://codeload.github.com/dwarfmaster/notification/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248997079,"owners_count":21195799,"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":"2024-12-14T00:35:25.658Z","updated_at":"2025-04-15T03:14:58.393Z","avatar_url":"https://github.com/dwarfmaster.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Xcbnotif\nThis software is a simple notification displayer for X sessions. It must be\nlaunched once at the beggining of a session and stay in the background. It will\nread commands from the `/tmp/xcbnotif.fifo` fifo. Its configuration is in the\nfile `$HOME/.xcbnotif_config`.\n\n## Concepts\nA notification is a little window spawned on one corner of the screen. To draw\nnotification, you must write the right command onto the `/tmp/xcbnotif.fifo`\nfile. Colors and font are fixed at launch time by reading the config file. To\nrefer to a special type of notification (defined by colors and font), each\ntype is given a name (see configuration). A type is called a level.\n\nThis software won't listen for incoming notifications in dbus. If you want this\nfunctionnality, use another software as a link, like cow-notify [1].\n\n## Configuration\nIt has a tree-like configuration. A key is identified by a name and a namepath,\nfollowed by its value is after a colon. The value must not contain spaces. A\ntypical line could be `path1.path2.key : value`.\n\n### Tree\nThe values accepted are :\n- `global` : it is the namespace where the general config is done.\n  - `list` : a comma separated list of all the notification levels,\n      eg `urgent,normal`.\n  - `width` : the default width in pixel of a notification. It can be specified\n      for each levels.\n  - `gravity` : In which corner of the screen the notifications will be\n      displayed. Accepted values are `top_right`, `top_left`, `bottom_right`\n      and `bottom_left`.\n  - `padding` : namespace containings the details about padding from the\n      borders of the screen.\n    - `hori` : the horizontal padding in pixels.\n    - `vert` : the vertical padding in pixels.\n    - `space` : The space between two notifications.\n  - `gc` : the namespace for the default graphical details.\n    - `bg` : the color of the background.\n    - `fg` : the color of the text.\n    - `bc` : the color of the border.\n    - `width` : the width of the border.\n    - `font` : the font used for the text. It must be the pattern for an X core\n               font eg `-misc-fixed-*`. If no font is specified, the default\n               one is used : `-*-terminal-medium-r-*-*-14-*-*-*-*-*-iso8859-*`.\n- `//mode//` : the namespace to configure a special level. It must have been\n    first declared in `global.list`. The values set here override the default\n    ones setted in `global`.\n  - `gc` : level-specific graphic namespace. It contains accepts the same\n      entries as `global.gc`. If it contains an invalid valid, the program will\n      not create the level.\n  - `width` : Same as `global.width`, but for a specific level.\n\n### Colors\nThe colors can be written using three syntaxes :\n- `#x` : where x is in [0-9a-f]. It is a shade of grey.\n- `#rgb` : the rgb conponents, each in [0-9a-f].\n- `#rrggbb` : the rgb conponents, each in [0-9a-f], but with more precision.\n\n## Commands\nThere are five commands accepted :\n- `notif` : creates a new notification. It must have three arguments. The first\n    one is an integer stating the time in seconds the notification must stay on\n    the screen. The second one is the level of the notification. Finally, the\n    third one is the text of the notification. If the level does not exists,\n    the notifiation will not be printed.\n- `close` : close the newest notification.\n- `close_all` : close all the notifications.\n- `end` : close all the notifications and stops the server.\n- `kill` : same as `end`.\n\n[1] https://github.com/Cloudef/cow-notify\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwarfmaster%2Fnotification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdwarfmaster%2Fnotification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwarfmaster%2Fnotification/lists"}