forked from ports/contrib
picom: fix man pages, they were blank
This commit is contained in:
parent
90cad2969b
commit
463310fd76
@ -1,8 +1,8 @@
|
|||||||
untrusted comment: verify with /etc/ports/contrib.pub
|
untrusted comment: verify with /etc/ports/contrib.pub
|
||||||
RWSagIOpLGJF31xsYuH4gERIRpDFLOqwr+ORuY7p/MRJa99f2J37KPXScGG9LCARzlTS12Cbdc9bqU7GkaBd7sCMtgFmYlVEaQE=
|
RWSagIOpLGJF3yBcDx+Lym0BBCi+MaK4+PCEfbTPZkrrT3W2O8lpPtexMgHc+7buXFfih0cDNvBGZWVox+MkZs5pEUd5sUbAhgk=
|
||||||
SHA256 (Pkgfile) = f8754617170830974dce1e919c2ca41a6a7f3581809d801f0e65390c190d09a0
|
SHA256 (Pkgfile) = d0d292792d520a6ad8627196c2d816023640fefca912949e55384412895d3dab
|
||||||
SHA256 (.footprint) = 9e8224213e85b3fd34cb7b657bfceb453e97c05758d1a08ffdcf2ca9e5b58bfa
|
SHA256 (.footprint) = 9e8224213e85b3fd34cb7b657bfceb453e97c05758d1a08ffdcf2ca9e5b58bfa
|
||||||
SHA256 (picom-v8.2.tar.gz) = 9d0c2533985e9670ff175e717a42b5bf1a2a00ccde5cac1e1009f5d6ee7912ec
|
SHA256 (picom-v8.2.tar.gz) = 9d0c2533985e9670ff175e717a42b5bf1a2a00ccde5cac1e1009f5d6ee7912ec
|
||||||
SHA256 (picom.conf) = ee6902929889b6cdef435d84f80f26eb1c39bef87c7a73e9bf0aa125f60eb2bc
|
SHA256 (picom.conf) = ee6902929889b6cdef435d84f80f26eb1c39bef87c7a73e9bf0aa125f60eb2bc
|
||||||
SHA256 (picom-trans.1) = e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
SHA256 (picom-trans.1) = 4751825e8946a4fe0d7d5ab975922d800f14d1fe794760d61ef79d19be29a42d
|
||||||
SHA256 (picom.1) = e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
SHA256 (picom.1) = 1606e43253b5c0bc7253f2b7dc1aa2e6702353e519336f225170303fe18e776e
|
||||||
|
@ -6,14 +6,14 @@
|
|||||||
|
|
||||||
name=picom
|
name=picom
|
||||||
version=8.2
|
version=8.2
|
||||||
release=1
|
release=2
|
||||||
source=(https://github.com/yshui/picom/archive/v$version/$name-v$version.tar.gz
|
source=(https://github.com/yshui/picom/archive/v$version/$name-v$version.tar.gz
|
||||||
picom.conf picom-trans.1 picom.1)
|
picom.conf picom-trans.1 picom.1)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
[ -e '/usr/bin/asciidoctor' ] && PKGMK_PICOM+=' -D build_docs=true'
|
[[ -e '/usr/bin/asciidoctor' ]] && PKGMK_PICOM+=' -D with_docs=true'
|
||||||
|
|
||||||
meson setup $name-$version build ${PKGMK_PICOM} \
|
meson setup build $name-$version ${PKGMK_PICOM} \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--buildtype=plain \
|
--buildtype=plain \
|
||||||
-D b_ndebug=true
|
-D b_ndebug=true
|
||||||
|
@ -0,0 +1,252 @@
|
|||||||
|
'\" t
|
||||||
|
.\" Title: picom-trans
|
||||||
|
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||||
|
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||||
|
.\" Date: 11/11/2020
|
||||||
|
.\" Manual: User Commands
|
||||||
|
.\" Source: picom v8.2
|
||||||
|
.\" Language: English
|
||||||
|
.\"
|
||||||
|
.TH "PICOM\-TRANS" "1" "11/11/2020" "picom v8\&.2" "User Commands"
|
||||||
|
.\" -----------------------------------------------------------------
|
||||||
|
.\" * Define some portability stuff
|
||||||
|
.\" -----------------------------------------------------------------
|
||||||
|
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
.\" http://bugs.debian.org/507673
|
||||||
|
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||||
|
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
.ie \n(.g .ds Aq \(aq
|
||||||
|
.el .ds Aq '
|
||||||
|
.\" -----------------------------------------------------------------
|
||||||
|
.\" * set default formatting
|
||||||
|
.\" -----------------------------------------------------------------
|
||||||
|
.\" disable hyphenation
|
||||||
|
.nh
|
||||||
|
.\" disable justification (adjust text to left margin only)
|
||||||
|
.ad l
|
||||||
|
.\" -----------------------------------------------------------------
|
||||||
|
.\" * MAIN CONTENT STARTS HERE *
|
||||||
|
.\" -----------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
.SH "NAME"
|
||||||
|
picom-trans \- an opacity setter tool
|
||||||
|
.SH "SYNOPSIS"
|
||||||
|
.sp
|
||||||
|
\fBpicom\-trans\fR [\-w \fIWINDOW_ID\fR] [\-n \fIWINDOW_NAME\fR] [\-c] [\-s] \fIOPACITY\fR
|
||||||
|
|
||||||
|
.SH "DESCRIPTION"
|
||||||
|
|
||||||
|
.sp
|
||||||
|
\fBpicom\-trans\fR is a bash script that sets \fI_NET_WM_WINDOW_OPACITY\fR attribute of a window using standard X11 command\-line utilities, including \fBxprop\fR(1) and \fBxwininfo\fR(1)\&. It is similar to \fBtransset\fR(1) or \fBtransset\-df\fR(1)\&.
|
||||||
|
|
||||||
|
.SH "OPTIONS"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-w\fR \fIWINDOW_ID\fR
|
||||||
|
.RS 4
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Specify the window id of the target window\&.
|
||||||
|
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fB\-n\fR \fIWINDOW_NAME\fR
|
||||||
|
.RS 4
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Specify and try to match a window name\&.
|
||||||
|
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fB\-c\fR
|
||||||
|
.RS 4
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Specify the currently active window as target\&. Only works if EWMH
|
||||||
|
\fI_NET_ACTIVE_WINDOW\fR
|
||||||
|
property exists on root window\&.
|
||||||
|
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fB\-s\fR
|
||||||
|
.RS 4
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Select target window with mouse cursor\&. This is the default if no window has been specified\&.
|
||||||
|
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fB\-o\fR \fIOPACITY\fR
|
||||||
|
.RS 4
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Specify the new opacity value for the window\&. This value can be anywhere from 1\-100\&. If it is prefixed with a plus or minus (+/\-), this will increment or decrement from the target window\(cqs current opacity instead\&.
|
||||||
|
|
||||||
|
.RE
|
||||||
|
|
||||||
|
.SH "EXAMPLES"
|
||||||
|
|
||||||
|
|
||||||
|
.sp
|
||||||
|
.RS 4
|
||||||
|
.ie n \{\
|
||||||
|
\h'-04'\(bu\h'+03'\c
|
||||||
|
.\}
|
||||||
|
.el \{\
|
||||||
|
.sp -1
|
||||||
|
.IP \(bu 2.3
|
||||||
|
.\}
|
||||||
|
|
||||||
|
Set the opacity of the window with specific window ID to 75%:
|
||||||
|
|
||||||
|
.sp
|
||||||
|
.if n \{\
|
||||||
|
.RS 4
|
||||||
|
.\}
|
||||||
|
.nf
|
||||||
|
picom\-trans \-w "$WINDOWID" 75
|
||||||
|
.fi
|
||||||
|
.if n \{\
|
||||||
|
.RE
|
||||||
|
.\}
|
||||||
|
.sp
|
||||||
|
.RE
|
||||||
|
.sp
|
||||||
|
.RS 4
|
||||||
|
.ie n \{\
|
||||||
|
\h'-04'\(bu\h'+03'\c
|
||||||
|
.\}
|
||||||
|
.el \{\
|
||||||
|
.sp -1
|
||||||
|
.IP \(bu 2.3
|
||||||
|
.\}
|
||||||
|
|
||||||
|
Set the opacity of the window with the name "urxvt" to 75%:
|
||||||
|
|
||||||
|
.sp
|
||||||
|
.if n \{\
|
||||||
|
.RS 4
|
||||||
|
.\}
|
||||||
|
.nf
|
||||||
|
picom\-trans \-n "urxvt" 75
|
||||||
|
.fi
|
||||||
|
.if n \{\
|
||||||
|
.RE
|
||||||
|
.\}
|
||||||
|
.sp
|
||||||
|
.RE
|
||||||
|
.sp
|
||||||
|
.RS 4
|
||||||
|
.ie n \{\
|
||||||
|
\h'-04'\(bu\h'+03'\c
|
||||||
|
.\}
|
||||||
|
.el \{\
|
||||||
|
.sp -1
|
||||||
|
.IP \(bu 2.3
|
||||||
|
.\}
|
||||||
|
|
||||||
|
Set current window to opacity of 75%:
|
||||||
|
|
||||||
|
.sp
|
||||||
|
.if n \{\
|
||||||
|
.RS 4
|
||||||
|
.\}
|
||||||
|
.nf
|
||||||
|
picom\-trans \-c 75
|
||||||
|
.fi
|
||||||
|
.if n \{\
|
||||||
|
.RE
|
||||||
|
.\}
|
||||||
|
.sp
|
||||||
|
.RE
|
||||||
|
.sp
|
||||||
|
.RS 4
|
||||||
|
.ie n \{\
|
||||||
|
\h'-04'\(bu\h'+03'\c
|
||||||
|
.\}
|
||||||
|
.el \{\
|
||||||
|
.sp -1
|
||||||
|
.IP \(bu 2.3
|
||||||
|
.\}
|
||||||
|
|
||||||
|
Select target window and set opacity to 75%:
|
||||||
|
|
||||||
|
.sp
|
||||||
|
.if n \{\
|
||||||
|
.RS 4
|
||||||
|
.\}
|
||||||
|
.nf
|
||||||
|
picom\-trans \-s 75
|
||||||
|
.fi
|
||||||
|
.if n \{\
|
||||||
|
.RE
|
||||||
|
.\}
|
||||||
|
.sp
|
||||||
|
.RE
|
||||||
|
.sp
|
||||||
|
.RS 4
|
||||||
|
.ie n \{\
|
||||||
|
\h'-04'\(bu\h'+03'\c
|
||||||
|
.\}
|
||||||
|
.el \{\
|
||||||
|
.sp -1
|
||||||
|
.IP \(bu 2.3
|
||||||
|
.\}
|
||||||
|
|
||||||
|
Increment opacity of current active window by 5%:
|
||||||
|
|
||||||
|
.sp
|
||||||
|
.if n \{\
|
||||||
|
.RS 4
|
||||||
|
.\}
|
||||||
|
.nf
|
||||||
|
picom\-trans \-c +5
|
||||||
|
.fi
|
||||||
|
.if n \{\
|
||||||
|
.RE
|
||||||
|
.\}
|
||||||
|
.sp
|
||||||
|
.RE
|
||||||
|
.sp
|
||||||
|
.RS 4
|
||||||
|
.ie n \{\
|
||||||
|
\h'-04'\(bu\h'+03'\c
|
||||||
|
.\}
|
||||||
|
.el \{\
|
||||||
|
.sp -1
|
||||||
|
.IP \(bu 2.3
|
||||||
|
.\}
|
||||||
|
|
||||||
|
Decrement opacity of current active window by 5%:
|
||||||
|
|
||||||
|
.sp
|
||||||
|
.if n \{\
|
||||||
|
.RS 4
|
||||||
|
.\}
|
||||||
|
.nf
|
||||||
|
picom\-trans \-c \-\- \-5
|
||||||
|
.fi
|
||||||
|
.if n \{\
|
||||||
|
.RE
|
||||||
|
.\}
|
||||||
|
.sp
|
||||||
|
.RE
|
||||||
|
.SH "BUGS"
|
||||||
|
|
||||||
|
.sp
|
||||||
|
Please submit bug reports to \m[blue]\fBhttps://github\&.com/yshui/picom\fR\m[]\&.
|
||||||
|
|
||||||
|
.SH "SEE ALSO"
|
||||||
|
|
||||||
|
.sp
|
||||||
|
\m[blue]\fB\fBpicom\fR(1)\fR\m[]\&\s-2\u[1]\d\s+2, \fBxprop\fR(1), \fBxwininfo\fR(1)
|
||||||
|
|
||||||
|
|
1384
picom/picom.1
1384
picom/picom.1
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user