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:
@@ -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>
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
TerminalEmulator=kitty
|
||||
Reference in New Issue
Block a user