Clipman -> copyq

This commit is contained in:
Alexander Bantyev 2022-05-30 11:20:34 +04:00
parent 7037e0d384
commit 5ffa356e29
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5
4 changed files with 22 additions and 8 deletions

View File

@ -1,7 +0,0 @@
{ config, pkgs, ... }: {
environment.systemPackages = [ pkgs.clipman ];
home-manager.users.balsoft = {
wayland.windowManager.sway.config.startup =
[{ command = "${pkgs.wl-clipboard}/bin/wl-paste -t text --watch ${pkgs.clipman}/bin/clipman store"; }];
};
}

View File

@ -0,0 +1,19 @@
{ 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"; }];
};
};
}

View File

@ -171,6 +171,8 @@ in {
"${modifier}+k" = "exec ${pkgs.playerctl}/bin/playerctl play-pause";
"${modifier}+l" = "exec ${pkgs.playerctl}/bin/playerctl next";
"${modifier}+Slash" = "exec ${pkgs.copyq}/bin/copyq menu";
"${modifier}+Print" = script "screenshot"
"${pkgs.grim}/bin/grim Pictures/$(date +'%Y-%m-%d+%H:%M:%S').png";

View File

@ -27,7 +27,7 @@
nheko
packages
clipman
copyq
cursor
direnv
fonts