nixos-config/profiles/workspace/copyq.nix

20 lines
469 B
Nix
Raw Permalink Normal View History

2022-05-30 11:20:34 +04:00
{ config, pkgs, ... }: {
environment.systemPackages = [ pkgs.copyq ];
home-manager.users.balsoft = {
wayland.windowManager.sway.config = {
window.commands = [
{
criteria = { title = ".*CopyQ"; };
command = "floating enable";
}
{
criteria = { title = ".*CopyQ"; };
command = "move position mouse";
}
];
startup = [{ command = "${pkgs.copyq}/bin/copyq"; }];
};
};
}