This commit is contained in:
2024-02-27 13:55:59 -07:00
parent 8bef0233ba
commit 33df980fa6
36 changed files with 586 additions and 241 deletions

View File

@@ -0,0 +1,7 @@
server_endpoint = "/run/user/1000/clipcat/grpc.sock"
[log]
emit_journald = true
emit_stdout = false
emit_stderr = false
level = "INFO"

View File

@@ -0,0 +1,44 @@
daemonize = true
pid_file = "/run/user/1000/clipcatd.pid"
max_history = 50
synchronize_selection_with_clipboard = true
history_file_path = "/home/dakedres/.cache/clipcat/clipcatd-history"
snippets = []
[log]
emit_journald = true
emit_stdout = false
emit_stderr = false
level = "INFO"
[watcher]
enable_clipboard = true
enable_primary = true
enable_secondary = true
sensitive_x11_atoms = ["x-kde-passwordManagerHint"]
filter_text_min_length = 1
filter_text_max_length = 20000000
denied_text_regex_patterns = []
capture_image = true
filter_image_max_size = 5242880
[grpc]
enable_http = false
enable_local_socket = true
host = "127.0.0.1"
port = 45045
local_socket = "/run/user/1000/clipcat/grpc.sock"
[dbus]
enable = true
[metrics]
enable = true
host = "127.0.0.1"
port = 45047
[desktop_notification]
enable = true
icon = "accessories-clipboard"
timeout_ms = 2000
long_plaintext_length = 2000

View File

@@ -0,0 +1,12 @@
{ pkgs, ... }: {
home.packages = [
pkgs.sselp
pkgs.xclip
pkgs.clipcat
];
xdg.configFile."clipcat/clipcatd.toml".source = ./clipcatd.toml;
xdg.configFile."clipcat/clipcatctl.toml".source = ./clipcatctl.toml;
xsession.initExtra = "clipcatd";
}