xcwd
print the current working directory of the focused window
Install
- All systems
-
curl cmd.cat/xcwd.sh
- Debian
-
apt-get install xcwd - Ubuntu
-
apt-get install xcwd - Kali Linux
-
apt-get install xcwd - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install xcwd
xcwd
print the current working directory of the focused window
xcwd is a simple tool which prints the current working directory of the focused window. It's useful for launching applications directly into the same directory as the focused application.