# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # r21 (::personal): QoL find-pointer module on the r20 sources. # r22 (::personal): QoL clipboard-keys module (Super+C/V copy and paste in every app). EAPI=8 inherit meson DESCRIPTION="Independent custom Wayfire plugins for window actions, Show Desktop, workspace backgrounds, the screensaver, finding the pointer and clipboard keys" HOMEPAGE="https://www.hedronfire.com/" SRC_URI="https://www.hedronfire.com/distfiles/wayfire-plugins-custom-0.1.0-r20.tar.xz" S="${WORKDIR}/wayfire-plugins-custom-0.1.0-r20" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" IUSE="+window-actions +panel-desktop +workspace-backgrounds +screensaver +find-pointer +clipboard-keys test" REQUIRED_USE="|| ( window-actions panel-desktop workspace-backgrounds screensaver find-pointer clipboard-keys )" RESTRICT="mirror !test? ( test )" RDEPEND=" >=gui-wm/wayfire-0.11.0-r19:0= gui-libs/wf-config:= gui-libs/wlroots:0.20= workspace-backgrounds? ( >=gui-wm/wayfire-0.11.0-r29:0= x11-libs/cairo x11-libs/gdk-pixbuf:2 ) screensaver? ( >=gui-wm/wayfire-0.11.0-r73:0= ) ! Screensaver." fi if use find-pointer; then elog "Find the pointer: add find-pointer to [core] plugins ('pyr defaults --apply' does it)," elog "then press Ctrl twice." fi if use clipboard-keys; then elog "Copy and paste everywhere: add clipboard-keys to [core] plugins ('pyr defaults --apply'" elog "does it), log out and back in, then use Super+C and Super+V in any app. Terminals" elog "get Ctrl+Shift+C/V; list another terminal's app id in [clipboard-keys] terminals." fi if use window-actions; then elog "The window-state plugin is now window-actions (libwindow-actions.so). In wayfire.ini," elog "replace window-state with window-actions in [core] plugins and delete any" elog "[window-state] section, then log out and back in so the panel, dock and session" elog "daemon reconnect. Activity placements now live in the session daemon's" elog "activities.json; ~/.local/state/wayfire/layouts.db* is no longer used and can be deleted." fi }