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
+3 -9
View File
@@ -50,7 +50,7 @@ CORE_PKGS=(
sway-systemd # session target + env for portals
kitty swaylock swayidle grim swappy jq wl-clipboard brightnessctl libnotify
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
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"
run mkdir -p "$BACKUP"
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
done
@@ -180,12 +180,6 @@ apply_gtk_theme() {
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() {
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
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
setup_outputs
verify