Skip to content

Instantly share code, notes, and snippets.

@devsk
devsk / .aliases
Last active March 26, 2025 03:20
Set of bash functions that implement session save and restore using kdotool. Save the contents in ~/.aliases
function echoWithDate()
{
msg="$(date): ${*}"
echo "${msg}"
}
# run this in the background, create a window with the title and this function will raise it above all.
# pass it the amount of time you think the app takes to create window with the title.
#
# This is used to bring the dialog box to the top of all the windows that get created in the single desktop