Just clipboard
This commit is contained in:
@@ -3,4 +3,4 @@
|
|||||||
# omarchy:group=menu
|
# omarchy:group=menu
|
||||||
# omarchy:examples=omarchy menu clipboard
|
# omarchy:examples=omarchy menu clipboard
|
||||||
|
|
||||||
omarchy-shell shell toggle omarchy.clipboard-picker "{}"
|
omarchy-shell shell toggle omarchy.clipboard
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
hl.layer_rule({ match = { namespace = "omarchy-bar" }, no_anim = true, animation = "none" })
|
hl.layer_rule({ match = { namespace = "omarchy-bar" }, no_anim = true, animation = "none" })
|
||||||
|
|
||||||
-- Launcher, image selector, emoji picker, and clipboard overlays should also pop without animation.
|
-- Launcher, image selector, emoji picker, and clipboard overlays should also pop without animation.
|
||||||
hl.layer_rule({ match = { namespace = "^(omarchy-menu|omarchy-launcher|omarchy-image-selector|omarchy-emoji-picker|omarchy-clipboard-picker)$" }, no_anim = true, animation = "none" })
|
hl.layer_rule({ match = { namespace = "^(omarchy-menu|omarchy-launcher|omarchy-image-selector|omarchy-emoji-picker|omarchy-clipboard)$" }, no_anim = true, animation = "none" })
|
||||||
|
|
||||||
-- Bar settings floats centered with a sensible default size instead of
|
-- Bar settings floats centered with a sensible default size instead of
|
||||||
-- tiling — it's a transient dialog, not a workspace surface.
|
-- tiling — it's a transient dialog, not a workspace surface.
|
||||||
|
|||||||
@@ -13,4 +13,4 @@ end
|
|||||||
o.bind("SUPER + C", "Universal copy", send_shortcut_once("CTRL", "Insert"))
|
o.bind("SUPER + C", "Universal copy", send_shortcut_once("CTRL", "Insert"))
|
||||||
o.bind("SUPER + V", "Universal paste", send_shortcut_once("SHIFT", "Insert"))
|
o.bind("SUPER + V", "Universal paste", send_shortcut_once("SHIFT", "Insert"))
|
||||||
o.bind("SUPER + X", "Universal cut", send_shortcut_once("CTRL", "X"))
|
o.bind("SUPER + X", "Universal cut", send_shortcut_once("CTRL", "X"))
|
||||||
o.bind("SUPER + CTRL + V", "Clipboard manager", "omarchy-shell shell toggle omarchy.clipboard-picker \"{}\"")
|
o.bind("SUPER + CTRL + V", "Clipboard manager", "omarchy-shell shell toggle omarchy.clipboard")
|
||||||
|
|||||||
@@ -13,8 +13,10 @@ for config_file in "${config_files[@]}"; do
|
|||||||
sed -i \
|
sed -i \
|
||||||
-e 's/omarchy\.app-launcher/omarchy.launcher/g' \
|
-e 's/omarchy\.app-launcher/omarchy.launcher/g' \
|
||||||
-e 's/omarchy\.battery-monitor/omarchy.battery/g' \
|
-e 's/omarchy\.battery-monitor/omarchy.battery/g' \
|
||||||
|
-e 's/omarchy\.clipboard-picker/omarchy.clipboard/g' \
|
||||||
-e 's/omarchy-app-launcher/omarchy-launcher/g' \
|
-e 's/omarchy-app-launcher/omarchy-launcher/g' \
|
||||||
-e 's/omarchy-battery-monitor/omarchy-battery/g' \
|
-e 's/omarchy-battery-monitor/omarchy-battery/g' \
|
||||||
|
-e 's/omarchy-clipboard-picker/omarchy-clipboard/g' \
|
||||||
-e 's/\[app-launcher\]/[launcher]/g' \
|
-e 's/\[app-launcher\]/[launcher]/g' \
|
||||||
-e 's/app-launcher\./launcher./g' \
|
-e 's/app-launcher\./launcher./g' \
|
||||||
"$config_file"
|
"$config_file"
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ User-installed plugins live alongside these conceptually but on disk under
|
|||||||
| Launcher | `omarchy.launcher` | `overlay` | `launcher/Launcher.qml` |
|
| Launcher | `omarchy.launcher` | `overlay` | `launcher/Launcher.qml` |
|
||||||
| Image picker | `omarchy.image-picker` | `overlay` | `image-picker/ImagePicker.qml` |
|
| Image picker | `omarchy.image-picker` | `overlay` | `image-picker/ImagePicker.qml` |
|
||||||
| Emoji picker | `omarchy.emoji-picker` | `overlay` | `emoji-picker/EmojiPicker.qml` |
|
| Emoji picker | `omarchy.emoji-picker` | `overlay` | `emoji-picker/EmojiPicker.qml` |
|
||||||
| Clipboard mgr | `omarchy.clipboard-picker`| `overlay` | `clipboard-picker/ClipboardPicker.qml`|
|
| Clipboard mgr | `omarchy.clipboard` | `overlay` | `clipboard/Clipboard.qml` |
|
||||||
| Omarchy menu | `omarchy.menu` | `menu` | `menu/Menu.qml` |
|
| Omarchy menu | `omarchy.menu` | `menu` | `menu/Menu.qml` |
|
||||||
| Notifications | `omarchy.notifications` | `service` | `notifications/Service.qml` |
|
| Notifications | `omarchy.notifications` | `service` | `notifications/Service.qml` |
|
||||||
| Battery | `omarchy.battery` | `service` | `services/battery/Service.qml` |
|
| Battery | `omarchy.battery` | `service` | `services/battery/Service.qml` |
|
||||||
|
|||||||
+2
-2
@@ -17,7 +17,7 @@ Item {
|
|||||||
property string historyPath: Quickshell.env("HOME") + "/.local/state/omarchy/clipboard-history.json"
|
property string historyPath: Quickshell.env("HOME") + "/.local/state/omarchy/clipboard-history.json"
|
||||||
property string captureScript: root.omarchyPath + "/shell/scripts/clipboard-capture.sh"
|
property string captureScript: root.omarchyPath + "/shell/scripts/clipboard-capture.sh"
|
||||||
// Shares the [menu] surface tokens — themes that style the menu also
|
// Shares the [menu] surface tokens — themes that style the menu also
|
||||||
// style the clipboard picker. Selected-row colors composed in the
|
// style the clipboard. Selected-row colors composed in the
|
||||||
// singleton so consumers drop them straight into Rectangle bindings.
|
// singleton so consumers drop them straight into Rectangle bindings.
|
||||||
property color background: Color.menu.background
|
property color background: Color.menu.background
|
||||||
property color foreground: Color.menu.text
|
property color foreground: Color.menu.text
|
||||||
@@ -241,7 +241,7 @@ Item {
|
|||||||
visible: root.opened
|
visible: root.opened
|
||||||
anchors { top: true; bottom: true; left: true; right: true }
|
anchors { top: true; bottom: true; left: true; right: true }
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
WlrLayershell.namespace: "omarchy-clipboard-picker"
|
WlrLayershell.namespace: "omarchy-clipboard"
|
||||||
WlrLayershell.layer: WlrLayer.Overlay
|
WlrLayershell.layer: WlrLayer.Overlay
|
||||||
WlrLayershell.keyboardFocus: WlrKeyboardFocus.Exclusive
|
WlrLayershell.keyboardFocus: WlrKeyboardFocus.Exclusive
|
||||||
exclusionMode: ExclusionMode.Ignore
|
exclusionMode: ExclusionMode.Ignore
|
||||||
+3
-3
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"schemaVersion": 1,
|
"schemaVersion": 1,
|
||||||
"id": "omarchy.clipboard-picker",
|
"id": "omarchy.clipboard",
|
||||||
"name": "Clipboard picker",
|
"name": "Clipboard",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"author": "Omarchy",
|
"author": "Omarchy",
|
||||||
"description": "A clipboard manager to view and paste history",
|
"description": "A clipboard manager to view and paste history",
|
||||||
@@ -10,6 +10,6 @@
|
|||||||
],
|
],
|
||||||
"keepLoaded": true,
|
"keepLoaded": true,
|
||||||
"entryPoints": {
|
"entryPoints": {
|
||||||
"overlay": "ClipboardPicker.qml"
|
"overlay": "Clipboard.qml"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user