From b714d64b4ffee94474eb7d01fb43f558f7a6c3a1 Mon Sep 17 00:00:00 2001 From: Filip Rojek Date: Sun, 9 Nov 2025 13:43:46 +0100 Subject: [PATCH] some changes in .bashrc for new wayland setup probably not important changes in .xinitrc and .xprofile - last before migrating to wayland --- .bashrc | 22 ++++++++++++++++++++-- .xinitrc | 14 +++++++++++++- .xprofile | 17 +++++++++++++++++ 3 files changed, 50 insertions(+), 3 deletions(-) diff --git a/.bashrc b/.bashrc index 1645f3e..03c3816 100644 --- a/.bashrc +++ b/.bashrc @@ -138,6 +138,23 @@ gpg_decrypt () { gpg --decrypt --output ${output} "${1}" && echo "${1} -> ${output}" } +# for spawning new terminal instances in the current working directory in foot terminal +osc7_cwd() { + local strlen=${#PWD} + local encoded="" + local pos c o + for (( pos=0; pos