Detect toolbox
TODO: Update other scripts to skip actions (eg. launching sway) if in toolbox
This commit is contained in:
parent
87a8141336
commit
384e96c6cb
|
@ -44,3 +44,6 @@ alias blc="${HOME}/scripts/thinkpad/blc.pl --notify"
|
||||||
|
|
||||||
# Flatpaks
|
# Flatpaks
|
||||||
alias mpv="flatpak run io.mpv.Mpv"
|
alias mpv="flatpak run io.mpv.Mpv"
|
||||||
|
|
||||||
|
# Detect if I'm in a toolbox
|
||||||
|
alias istoolbox='[ -f "/run/.toolboxenv" ] && grep -oP "(?<=name=\")[^\";]+" /run/.containerenv'
|
||||||
|
|
Loading…
Reference in New Issue