rename script to better avoid unwanted auto-suggestions.

This commit is contained in:
2025-12-22 00:36:27 +08:00
parent 1a286af126
commit 78ca119a76
4 changed files with 9 additions and 6 deletions

View File

@@ -1,3 +1,3 @@
#!/bin/bash
option=$(fuzzel --dmenu --prompt-only="Command to execute: ")
[ -z "$option" ] || runbg -- $option
[ -z "$option" ] || startb -- $option

View File

@@ -12,4 +12,4 @@ for item in $(ls $desktop); do
done
fsarg=$(echo -en "$options" | fuzzel --dmenu --prompt="Open Project with VSCode:")
[ -z "$fsarg" ] || runbg -- code "$desktop/$fsarg"
[ -z "$fsarg" ] || startb -- code "$desktop/$fsarg"

View File

@@ -1,11 +1,14 @@
#!/bin/bash
#systemd-run --user --scope --slice=YukiLauncher.slice --unit="$1-$$".scope /bin/sh -c '"$@"' _ "$@"
# like `start /b` in Windows CMD.
# goddamn nvm-sh !!!
# have to update PATH before launch
PATH=$(zsh -c -i 'echo $PATH')
export PATH
# https://vescrity.github.io/post/systemd-desktop-suspend/
#systemd-run --user --scope --slice=YukiLauncher.slice --unit="$1-$$".scope /bin/sh -c '"$@"' _ "$@"
# Generated by GitHub Copilot.
# start-bg-journal.sh - start a command as a detached daemon and send stdout/stderr to systemd-journald
#