forked from lijiext/lammps
Add desktop integration for LAMMPS shell
This commit is contained in:
parent
c29474c533
commit
8854e7b8de
|
@ -41,6 +41,8 @@ if(BUILD_LAMMPS_SHELL)
|
|||
endif()
|
||||
target_link_libraries(lammps-shell PRIVATE lammps PkgConfig::READLINE)
|
||||
install(TARGETS lammps-shell EXPORT LAMMPS_Targets DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
install(DIRECTORY icons DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/)
|
||||
install(FILES lammps-shell.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications/)
|
||||
endif()
|
||||
|
||||
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 39 KiB |
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
|
@ -0,0 +1,10 @@
|
|||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Categories=Science;Engineering;
|
||||
Exec=/bin/sh -c "echo -e -n \"\033]0;The LAMMPS Shell\007\"; f=%f; test -n \"$f\" && d=`dirname \$f` && cd \$d; LC_ALL=C lammps-shell \$f"
|
||||
Name=The LAMMPS Shell
|
||||
Terminal=true
|
||||
GenericName=MD Simulator
|
||||
Keywords=MD Simulation;LAMMPS;Molecular Dynamics;N-Body
|
||||
Icon=lammps
|
Loading…
Reference in New Issue