Nautilus on Super+O instead of Thunar; kitty tabs on Ctrl+Shift+Left/Right, splits on Ctrl+Alt+arrows

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-28 11:26:05 +05:00
co-authored by Claude Sonnet 5.5
parent dbd9880ddd
commit a640b0d742
6 changed files with 13 additions and 51 deletions
-31
View File
@@ -1,31 +0,0 @@
<?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>
+7 -6
View File
@@ -105,16 +105,17 @@ map ctrl+v paste_from_clipboard
map ctrl+shift+t new_tab_with_cwd map ctrl+shift+t new_tab_with_cwd
map ctrl+shift+enter launch --location=vsplit --cwd=current map ctrl+shift+enter launch --location=vsplit --cwd=current
map ctrl+alt+enter launch --location=hsplit --cwd=current map ctrl+alt+enter launch --location=hsplit --cwd=current
map ctrl+shift+left neighboring_window left # Tabs: Ctrl+Shift+Left/Right (kitty default). Splits: Ctrl+Alt+arrows
map ctrl+shift+right neighboring_window right map ctrl+shift+left previous_tab
map ctrl+shift+up neighboring_window up map ctrl+shift+right next_tab
map ctrl+shift+down neighboring_window down map ctrl+alt+left neighboring_window left
map ctrl+alt+right neighboring_window right
map ctrl+alt+up neighboring_window up
map ctrl+alt+down neighboring_window down
map ctrl+shift+z toggle_layout stack map ctrl+shift+z toggle_layout stack
map ctrl+shift+equal change_font_size current +1.0 map ctrl+shift+equal change_font_size current +1.0
map ctrl+shift+minus change_font_size current -1.0 map ctrl+shift+minus change_font_size current -1.0
map ctrl+shift+0 change_font_size current 0 map ctrl+shift+0 change_font_size current 0
map ctrl+shift+alt+left previous_tab
map ctrl+shift+alt+right next_tab
map ctrl+shift+f show_scrollback map ctrl+shift+f show_scrollback
map ctrl+shift+o kitten hints --type path --program - map ctrl+shift+o kitten hints --type path --program -
map ctrl+shift+e kitten hints --type url map ctrl+shift+e kitten hints --type url
+1 -1
View File
@@ -29,7 +29,7 @@ for_window [app_id="firefox"] inhibit_idle fullscreen
for_window [app_id="mpv"] floating enable, dim_inactive 0 for_window [app_id="mpv"] floating enable, dim_inactive 0
# Rice helpers # Rice helpers
bindsym --to-code $mod+o exec thunar bindsym --to-code $mod+o exec nautilus --new-window
bindsym --to-code $mod+F1 exec ~/.config/sway/cheatsheet.sh bindsym --to-code $mod+F1 exec ~/.config/sway/cheatsheet.sh
# Performance mode: toggle blur + shadows # Performance mode: toggle blur + shadows
bindsym --to-code $mod+Shift+b blur toggle; shadows toggle bindsym --to-code $mod+Shift+b blur toggle; shadows toggle
-1
View File
@@ -1 +0,0 @@
TerminalEmulator=kitty
+2 -3
View File
@@ -19,8 +19,7 @@
| `.config/sway/{lock,idle,cheatsheet}.sh` | блокировка (DMS, запасной swaylock), swayidle, шпаргалка по хоткеям | | `.config/sway/{lock,idle,cheatsheet}.sh` | блокировка (DMS, запасной swaylock), swayidle, шпаргалка по хоткеям |
| `.config/sway/outputs-setup.sh`, `doctor.sh` | настройка мониторов под новое железо; проверка здоровья системы | | `.config/sway/outputs-setup.sh`, `doctor.sh` | настройка мониторов под новое железо; проверка здоровья системы |
| `.config/dms/settings.json` | настройки DMS: виджеты бара (раскладка, VPN, температура, приватность), шрифты, панель управления | | `.config/dms/settings.json` | настройки DMS: виджеты бара (раскладка, VPN, температура, приватность), шрифты, панель управления |
| `.config/kitty/kitty.conf` | JetBrains Mono, палитра Tokyo Night, прозрачность, вкладки и сплиты; `Ctrl+C` копирует выделенное (без выделения прерывает), `Ctrl+V` вставляет | | `.config/kitty/kitty.conf` | JetBrains Mono, палитра Tokyo Night, прозрачность, вкладки (`Ctrl+Shift+←/→`) и сплиты (`Ctrl+Alt+стрелки`); `Ctrl+C` копирует выделенное (без выделения прерывает), `Ctrl+V` вставляет |
| `.config/Thunar/uca.xml`, `.config/xfce4/helpers.rc` | файловый менеджер: «Open kitty here», «Copy path» в контекстном меню, терминал kitty |
| `.config/swappy/config` | редактор скриншотов (стрелки, текст, размытие) | | `.config/swappy/config` | редактор скриншотов (стрелки, текст, размытие) |
| `.config/swaylock/` | запасная блокировка, если DMS не запущен | | `.config/swaylock/` | запасная блокировка, если DMS не запущен |
| `home/.tmux.conf`, `home/.zshrc`, `home/.oh-my-zsh/custom/sysadmin.zsh` | tmux, zsh, алиасы сисадмина; fzf / zoxide / eza подключаются сами | | `home/.tmux.conf`, `home/.zshrc`, `home/.oh-my-zsh/custom/sysadmin.zsh` | tmux, zsh, алиасы сисадмина; fzf / zoxide / eza подключаются сами |
@@ -50,7 +49,7 @@
| `Super+N` | панель управления DMS (Wi-Fi, Bluetooth, VPN, звук, яркость) | | `Super+N` | панель управления DMS (Wi-Fi, Bluetooth, VPN, звук, яркость) |
| `Super+Shift+N` | центр уведомлений | | `Super+Shift+N` | центр уведомлений |
| `Super+Shift+V` | история буфера обмена | | `Super+Shift+V` | история буфера обмена |
| `Super+O` | файловый менеджер (Thunar) | | `Super+O` | файловый менеджер (Nautilus) |
| `Super+Shift+Q` | закрыть окно | | `Super+Shift+Q` | закрыть окно |
| `Super+Shift+C` | перезагрузить конфиг | | `Super+Shift+C` | перезагрузить конфиг |
| `Super+Shift+E` / `Super+Shift+P` | меню выключения DMS | | `Super+Shift+E` / `Super+Shift+P` | меню выключения DMS |
+3 -9
View File
@@ -50,7 +50,7 @@ CORE_PKGS=(
sway-systemd # session target + env for portals sway-systemd # session target + env for portals
kitty swaylock swayidle grim swappy jq wl-clipboard brightnessctl libnotify kitty swaylock swayidle grim swappy jq wl-clipboard brightnessctl libnotify
pavucontrol network-manager-applet wireplumber pipewire-pulseaudio pavucontrol network-manager-applet wireplumber pipewire-pulseaudio
Thunar thunar-archive-plugin thunar-volman tumbler ffmpegthumbnailer file-roller # file manager (Super+O) nautilus # file manager (Super+O)
xdg-desktop-portal xdg-desktop-portal-wlr xdg-desktop-portal-gtk xdg-desktop-portal xdg-desktop-portal-wlr xdg-desktop-portal-gtk
jetbrains-mono-fonts fontawesome-6-free-fonts adw-gtk3-theme jetbrains-mono-fonts fontawesome-6-free-fonts adw-gtk3-theme
) )
@@ -129,7 +129,7 @@ backup_and_copy_configs() {
say "Backing up existing configs to $BACKUP" say "Backing up existing configs to $BACKUP"
run mkdir -p "$BACKUP" run mkdir -p "$BACKUP"
local d local d
for d in sway swaylock kitty dms swappy Thunar xfce4 waybar rofi dunst swaync; do # last four: legacy, only backed up for d in sway swaylock kitty dms swappy waybar rofi dunst swaync; do # last four: legacy, only backed up
if [ -e "$CFG/$d" ]; then run cp -a "$CFG/$d" "$BACKUP/"; fi if [ -e "$CFG/$d" ]; then run cp -a "$CFG/$d" "$BACKUP/"; fi
done done
@@ -180,12 +180,6 @@ apply_gtk_theme() {
run gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' || true run gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' || true
} }
# Thunar as the default folder handler (Nautilus stays installed for GNOME sessions)
apply_file_manager() {
[ -e /usr/share/applications/thunar.desktop ] || return 0
have xdg-mime || return 0
run xdg-mime default thunar.desktop inode/directory || true
}
setup_outputs() { setup_outputs() {
if [ -e "$CFG/sway/config.d/05-outputs.conf" ]; then say "Monitor layout already configured (05-outputs.conf)"; return 0; fi if [ -e "$CFG/sway/config.d/05-outputs.conf" ]; then say "Monitor layout already configured (05-outputs.conf)"; return 0; fi
@@ -231,7 +225,7 @@ if [ "$PACKAGES" = 1 ]; then
fi fi
backup_and_copy_configs backup_and_copy_configs
if [ "$PACKAGES" = 1 ]; then apply_gtk_theme; apply_file_manager; fi if [ "$PACKAGES" = 1 ]; then apply_gtk_theme; fi
if [ "$SHELLSETUP" = 1 ]; then install_shell_extras; fi if [ "$SHELLSETUP" = 1 ]; then install_shell_extras; fi
setup_outputs setup_outputs
verify verify