# 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). # r23 (::personal): QoL hold-super, raise-on-release and open-here modules. # r24 (::personal): QoL batch 7: clipboard-keys keeps each copy, so it still pastes after its app quits. # r25 (::personal): QoL raise-on-release: after a drag, the window you drop on keeps focus. EAPI=8 inherit meson DESCRIPTION="Independent custom Wayfire plugins for window actions, Show Desktop, workspace backgrounds, the screensaver, finding the pointer, clipboard keys, holding Super for shortcuts, raise on release and opening windows where you work" 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 +hold-super +raise-on-release +open-here test" REQUIRED_USE="|| ( window-actions panel-desktop workspace-backgrounds screensaver find-pointer clipboard-keys hold-super raise-on-release open-here )" 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 hold-super; then elog "Hold Super for the shortcuts: add hold-super to [core] plugins ('pyr defaults --apply'" elog "does it), log out and back in, then hold Super alone for a moment." fi if use raise-on-release; then elog "Raise on release: add raise-on-release to [core] plugins and take BTN_LEFT out of" elog "core/focus_buttons ('pyr defaults --apply' does both where focus_buttons is Wayfire's default)." fi if use open-here; then elog "Open here: add open-here to [core] plugins ('pyr defaults --apply' does it) and log in again;" elog "new windows then open on the monitor under the pointer, at their app's last size." 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 }