rofi, clipmenu, feh, i3status-rust and the laptop's model module wrote files into i3's config.d, naming no dependency on the window manager. They now contribute their lines; i3 places them under a line naming each module, and config.d is the operator's alone. The catalogue-wide test composes the contributions as the controller does and checks the whole with i3 -C.
71 lines
2.0 KiB
JSON
71 lines
2.0 KiB
JSON
{
|
|
"module": "feh",
|
|
"version": "1",
|
|
"capabilities": [
|
|
"package-manager"
|
|
],
|
|
"requires": [
|
|
"x11-display"
|
|
],
|
|
"tools": [
|
|
"feh_set",
|
|
"feh_current"
|
|
],
|
|
"shell": [
|
|
{
|
|
"for": "xinitrc",
|
|
"slot": "normal",
|
|
"code": "# The wallpaper (module feh, novox/hq ADR 0208): the declared one, set once per session.\n\"$HOME/.fehbg\"\n"
|
|
}
|
|
],
|
|
"resources": [
|
|
{
|
|
"id": "package",
|
|
"type": "package",
|
|
"package": "feh"
|
|
},
|
|
{
|
|
"id": "wallpapers",
|
|
"type": "archive",
|
|
"path": "${machine:account-home}/.local/share/feh/wallpapers",
|
|
"owner": "${machine:account}",
|
|
"artifact": "wallpapers"
|
|
},
|
|
{
|
|
"id": "fehbg",
|
|
"type": "file",
|
|
"path": "${machine:account-home}/.fehbg",
|
|
"owner": "${machine:account}",
|
|
"mode": "0755",
|
|
"content": "#!/bin/sh\n# The wallpaper (module feh, novox/hq ADR 0208). Owned by the mesh: replaced at every push. The\n# session's start runs it, and so may anything that wants the declared wallpaper back. The image is\n# the module's own, in ~/.local/share/feh/wallpapers. feh_set changes the wallpaper for a session\n# without touching this file.\nfeh --no-fehbg --bg-fill \"$HOME/.local/share/feh/wallpapers/default.jpg\"\n"
|
|
}
|
|
],
|
|
"build": {
|
|
"artifacts": [
|
|
{
|
|
"name": "wallpapers",
|
|
"kind": "archive",
|
|
"from": "wallpaper"
|
|
},
|
|
{
|
|
"name": "tools",
|
|
"kind": "bundle",
|
|
"language": "go",
|
|
"system": "arch",
|
|
"from": "cmd/feh-tools",
|
|
"binary": "feh-tools",
|
|
"loads": [
|
|
"feh-tools"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"contributions": [
|
|
{
|
|
"seat": "node-display-session",
|
|
"kind": "config",
|
|
"content": "# The wallpaper's key (module feh, novox/hq ADR 0208). Owned by the mesh: replaced at every push.\n# It puts the declared wallpaper back, after a monitor change or a wallpaper set for the session.\nbindsym $mod+Shift+b exec --no-startup-id ~/.fehbg\n"
|
|
}
|
|
]
|
|
}
|