First Commit

This commit is contained in:
ant 2024-02-27 16:03:12 +01:00
commit cae9d57360
22 changed files with 1957 additions and 0 deletions

6
bin/window_dir Executable file
View file

@ -0,0 +1,6 @@
#!/bin/sh
PID=$(hyprctl activewindow | grep pid | cut -d' ' -f 2)
PID=$(echo $(ps --ppid $PID -o pid | tail -n1))
cwd=$(readlink /proc/"$PID"/cwd)
echo "$cwd"