New backup 2025-08-23 11:15:02
This commit is contained in:
parent
1b23a431a0
commit
d5ed1d388d
2 changed files with 9 additions and 5 deletions
|
|
@ -172,8 +172,8 @@ SetEditor=false
|
||||||
1920x1200 screen: Width=636
|
1920x1200 screen: Width=636
|
||||||
2 screens: Height=1108
|
2 screens: Height=1108
|
||||||
2 screens: Width=1020
|
2 screens: Width=1020
|
||||||
2048x1280 screen: Height=588
|
2048x1280 screen: Height=474
|
||||||
2048x1280 screen: Width=1005
|
2048x1280 screen: Width=666
|
||||||
3 screens: Height=1054
|
3 screens: Height=1054
|
||||||
3 screens: Width=975
|
3 screens: Width=975
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,12 @@ dol() {
|
||||||
if [[ -z ${1} ]];then
|
if [[ -z ${1} ]];then
|
||||||
DOLPHIN_OPEN_DIR="$(pwd)"
|
DOLPHIN_OPEN_DIR="$(pwd)"
|
||||||
else
|
else
|
||||||
|
if [[ ${1:0:1} == "~" ]];then
|
||||||
DOLPHIN_OPEN_DIR="$(realpath """${1/\~/${HOME}}""")"
|
DOLPHIN_OPEN_DIR="$(realpath """${1/\~/${HOME}}""")"
|
||||||
|
else
|
||||||
|
DOLPHIN_OPEN_DIR="$(realpath """${1}""")"
|
||||||
fi
|
fi
|
||||||
echo "${DOLPHIN_OPEN_DIR}"
|
fi
|
||||||
# swaymsg exec "dolphin \"${DOLPHIN_OPEN_DIR}\""
|
printf '[-] opening [%s] in dolphin...\n' "${DOLPHIN_OPEN_DIR}"
|
||||||
|
swaymsg exec "dolphin --new-window """${DOLPHIN_OPEN_DIR}""""
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue