chore(hyprland): add clipboard-sync to sync xwayland and wayland clipboards
This commit is contained in:
parent
194f04fda5
commit
8334109245
|
@ -14,6 +14,11 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
clipboard-sync = {
|
||||
url = "github:dnut/clipboard-sync";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, clipboard-sync, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
@ -69,6 +69,7 @@
|
|||
lazygit
|
||||
|
||||
## Desktop environment
|
||||
clipboard-sync.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||
cliphist
|
||||
grim
|
||||
libsForQt5.ark
|
||||
|
|
|
@ -56,4 +56,9 @@ pkgs.writeShellScriptBin "start_services" ''
|
|||
# Clipboard manager
|
||||
#
|
||||
${pkgs.wl-clipboard}/bin/wl-paste --watch cliphist store &
|
||||
|
||||
#
|
||||
# Service that syncs X11 and Wayland clipboards
|
||||
#
|
||||
clipboard-sync
|
||||
''
|
||||
|
|
Loading…
Reference in a new issue