kitty: plain Ctrl+C/V; Thunar file manager with kitty actions and Super+O

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-28 11:18:31 +05:00
co-authored by Claude Sonnet 5.5
parent 58f70553b8
commit dbd9880ddd
6 changed files with 49 additions and 3 deletions
+31
View File
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<actions>
<action>
<icon>utilities-terminal</icon>
<name>Open kitty here</name>
<submenu></submenu>
<unique-id>1761600000000001</unique-id>
<command>kitty --directory %f</command>
<description>Open a kitty terminal in this folder</description>
<range></range>
<patterns>*</patterns>
<startup-notify/>
<directories/>
</action>
<action>
<icon>edit-copy</icon>
<name>Copy path</name>
<submenu></submenu>
<unique-id>1761600000000002</unique-id>
<command>sh -c 'printf %s "%f" | wl-copy'</command>
<description>Copy the full path to the clipboard</description>
<range></range>
<patterns>*</patterns>
<directories/>
<audio-files/>
<image-files/>
<other-files/>
<text-files/>
<video-files/>
</action>
</actions>
+3
View File
@@ -99,6 +99,9 @@ color7 #a9b1d6
color15 #c0caf5
# ---------- Shortcuts ----------
# Plain Ctrl+C / Ctrl+V: Ctrl+C copies when text is selected, otherwise it is the usual interrupt (SIGINT)
map ctrl+c copy_or_interrupt
map ctrl+v paste_from_clipboard
map ctrl+shift+t new_tab_with_cwd
map ctrl+shift+enter launch --location=vsplit --cwd=current
map ctrl+alt+enter launch --location=hsplit --cwd=current
+1
View File
@@ -29,6 +29,7 @@ for_window [app_id="firefox"] inhibit_idle fullscreen
for_window [app_id="mpv"] floating enable, dim_inactive 0
# Rice helpers
bindsym --to-code $mod+o exec thunar
bindsym --to-code $mod+F1 exec ~/.config/sway/cheatsheet.sh
# Performance mode: toggle blur + shadows
bindsym --to-code $mod+Shift+b blur toggle; shadows toggle
+1
View File
@@ -0,0 +1 @@
TerminalEmulator=kitty