diff --git a/bash/.bashrc b/bash/.bashrc index 5cef53b..6133607 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -14,6 +14,8 @@ export MACHINE_START_SWAY=false # Whether to start Sway from bash # Source machine-specific config [[ -f ~/.machine_config ]] && source ~/.machine_config +alias ssh="TERM=xterm-256color ssh" + # SSH without checking or adding host keys to known_hosts # Useful for cloud server rescue environment & installation alias sshtmp="ssh -o 'UserKnownHostsFile /dev/null' -o 'StrictHostKeyChecking no'" diff --git a/rime/.local/share/fcitx5/rime/.gitignore b/rime/.local/share/fcitx5/rime/.gitignore index c618849..764daa4 100644 --- a/rime/.local/share/fcitx5/rime/.gitignore +++ b/rime/.local/share/fcitx5/rime/.gitignore @@ -2,3 +2,4 @@ build/ installation.yaml *.userdb/ user.yaml +sync diff --git a/sway/.config/sway/config b/sway/.config/sway/config index 33ff9b5..1fa1f2e 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -273,8 +273,6 @@ client.focused_inactive 00000000 #bdae93 #282828 00000000 # This is annoying -- just turn it off focus_follows_mouse no -for_window [app_id="pavucontrol"] floating enable - # Start the systemd-user target for sway and import environment # Makes service management a bit cleaner exec_always "systemctl --user import-environment; systemctl --user start sway-session.target" @@ -285,3 +283,8 @@ exec_always dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CUR # Restart kanshi if it is running # This restores monitor configuration on reload exec_always "systemctl --user is-active kanshi && systemctl --user restart kanshi" + +# Floating window rules +for_window [app_id="pavucontrol"] floating enable +for_window [app_id="qalculate-qt"] floating enable, resize set width 800 px height 800 px, opacity 1 +for_window [app_id="thunderbird" title="Write.*"] floating enable, resize set width 800 px height 800 px