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";
|
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";
|
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, clipboard-sync, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
@ -69,6 +69,7 @@
|
||||||
lazygit
|
lazygit
|
||||||
|
|
||||||
## Desktop environment
|
## Desktop environment
|
||||||
|
clipboard-sync.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||||
cliphist
|
cliphist
|
||||||
grim
|
grim
|
||||||
libsForQt5.ark
|
libsForQt5.ark
|
||||||
|
|
|
@ -56,4 +56,9 @@ pkgs.writeShellScriptBin "start_services" ''
|
||||||
# Clipboard manager
|
# Clipboard manager
|
||||||
#
|
#
|
||||||
${pkgs.wl-clipboard}/bin/wl-paste --watch cliphist store &
|
${pkgs.wl-clipboard}/bin/wl-paste --watch cliphist store &
|
||||||
|
|
||||||
|
#
|
||||||
|
# Service that syncs X11 and Wayland clipboards
|
||||||
|
#
|
||||||
|
clipboard-sync
|
||||||
''
|
''
|
||||||
|
|
Loading…
Reference in a new issue