+ Added all my custom commands
This commit is contained in:
parent
6746bd9869
commit
a4c0a67040
13 changed files with 878 additions and 0 deletions
7
.local/bin/custom/mcpelauncher-dmenu
Executable file
7
.local/bin/custom/mcpelauncher-dmenu
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
version=$(find ~/.local/share/mcpelauncher/versions -maxdepth 1 | sort -r | awk '!/ns$/ && !/.ini/' | sed "s/^.*s\///" | dmenu -l 10 -i -p "MCPE Versions")
|
||||
[ -z $version ] && exit 1
|
||||
|
||||
gamemoderun mcpelauncher-client -dg ~/.local/share/mcpelauncher/versions/$version &
|
||||
sleep 5s && mcpelauncher-rpc "$version"
|
Loading…
Add table
Add a link
Reference in a new issue