[wayland] Adds clipboard fix for wine
This commit is contained in:
@@ -50,6 +50,10 @@ in
|
|||||||
|
|
||||||
# WoW addon updater
|
# WoW addon updater
|
||||||
wowup-cf
|
wowup-cf
|
||||||
|
|
||||||
|
# For clipboard management. See below.
|
||||||
|
wl-clipboard
|
||||||
|
xclip
|
||||||
];
|
];
|
||||||
|
|
||||||
# xdg.dataFile."applications/wowup-cf.desktop" = {
|
# xdg.dataFile."applications/wowup-cf.desktop" = {
|
||||||
@@ -57,6 +61,14 @@ in
|
|||||||
# source = "${patched-desktop}/wowup-cf.desktop";
|
# source = "${patched-desktop}/wowup-cf.desktop";
|
||||||
# };
|
# };
|
||||||
|
|
||||||
|
wayland.windowManager.hyprland.settings.exec-once = [
|
||||||
|
# Hyprland doesn't paste into Wine apps. This program is a workaround.
|
||||||
|
# See https://github.com/hyprwm/Hyprland/issues/2319
|
||||||
|
# -t text = Only handle text
|
||||||
|
# -w xclip -selection clipboard = Watch for events and invoke xclip
|
||||||
|
"wl-paste -t text -w xclip -selection clipboard"
|
||||||
|
];
|
||||||
|
|
||||||
# wowup needs options to work under wayland.
|
# wowup needs options to work under wayland.
|
||||||
xdg.desktopEntries.wowup-cf = local.electronDesktopEntry {
|
xdg.desktopEntries.wowup-cf = local.electronDesktopEntry {
|
||||||
name = "WowUp";
|
name = "WowUp";
|
||||||
|
|||||||
Reference in New Issue
Block a user