// Copyright (C) 2026 Danilo M. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. import QtQuick import "../.." // The clipboard history kept by `wl-paste --watch cliphist store`, which // autostart runs. Nothing runs here while the drawer is closed: the page // reads cliphist when it opens. Module { name: "clipboard" label: "Clipboard" // fa-clipboard, present in Inconsolata Nerd Font. icon: "" page: Component { Page { id: pg title: "Clipboard" ClipboardPage { width: parent.width // Page wraps its content in a ScrollView. The list is // virtualized and scrolls itself, so it takes exactly the // visible height and the outer view never scrolls. height: pg.height - 57 onCopied: pg.dismiss() } } } }