several updates

This commit is contained in:
Miguel Palhas
2026-02-25 21:53:21 +00:00
parent 6584bf521f
commit 1e1238a6c1
8 changed files with 45 additions and 19 deletions
+3 -3
View File
@@ -8,7 +8,7 @@ let
if grep -q '^image/' <<<"$types"; then
ext=$(grep -m1 '^image/' <<<"$types" | cut -d/ -f2 | cut -d';' -f1)
file="/tmp/clip_$(date +%s).''${ext}"
wl-paste > "$file"
wl-paste --type "image/''${ext}" > "$file"
printf '%q' "$file" | kitty @ send-text --stdin
else
wl-paste --no-newline | kitty @ send-text --stdin
@@ -82,8 +82,7 @@ in
"kitty_mod+i" = "next_tab";
"ctrl+shift+c" = "copy_to_clipboard";
"ctrl+shift+v" = "paste_from_clipboard";
"ctrl+v" = "launch --type=background --allow-remote-control --keep-focus ${clip2path}";
"ctrl+shift+v" = "launch --type=background --allow-remote-control --keep-focus ${clip2path}";
"ctrl+shift+l" = "next_layout";
"ctrl+shift+left" = "resize_window narrower";
@@ -105,6 +104,7 @@ in
extraConfig = ''
include themes/noctalia.conf
cursor_shape block
'';
};