This repository has been archived on 2026-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
ollie-kde/dolphin/ollie-session-here

12 lines
429 B
Bash
Executable File

#!/bin/sh
# ollie-session-here: start a session in the given directory
TARGET="$1"
[ -f "$TARGET" ] && TARGET="$(dirname "$TARGET")"
[ -z "$TARGET" ] && TARGET="$HOME"
dbus-send --session --dest=org.ollie.SessionManager --type=method_call \
/org/ollie/SessionManager org.ollie.SessionManager.CreateSession \
string:"$TARGET" string:"" string:"" string:"default"
notify-send -t 3000 "Ollie" "Session started in $TARGET"