Skip to content

Instantly share code, notes, and snippets.

View SebastianMusic's full-sized avatar
🎸

Sebastian SebastianMusic

🎸
  • JO SEBASTIAN SALTE-TINDERHOLT
  • Norway
  • 13:13 (UTC +01:00)
View GitHub Profile
@SebastianMusic
SebastianMusic / passwordlauncher.sh
Created February 13, 2026 18:45
Solve a simple challange before launching an application
#!/usr/bin/env bash
# usage: passwordlauncher.sh <name of app>
# example passwordlauncher.sh discord
#
# I use this script to wrap the executable in the .desktop file for apps which
# i sometimes open mindlessly and reflexively.
#
# The goal of this script is to give you a large enough cognitive challenge
# such that you can make the decision if you actually want to use the
# application you just tried to open or if it was just a reflex, without being