diff --git a/bin/executable_handle_vscode b/bin/executable_handle_vscode new file mode 100644 index 0000000..d5ffea2 --- /dev/null +++ b/bin/executable_handle_vscode @@ -0,0 +1,21 @@ +#!/bin/php +[^/]*)\.git$|', $remote, $res); + +$repo = $res['repo']; + +chdir('/home/vladimir/jopixel/'); +exec("git clone '$remote'"); +chdir('/home/vladimir/jopixel/'.$repo); +pcntl_exec('/bin/zsh'); diff --git a/dot_local/share/applications/man.desktop b/dot_local/share/applications/man.desktop new file mode 100644 index 0000000..bb00ca2 --- /dev/null +++ b/dot_local/share/applications/man.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=Man +Comment=Manual pages reader +Terminal=true +Exec=/home/vladimir/bin/manurlhandler %u diff --git a/dot_local/share/applications/vscode-url-handler.desktop b/dot_local/share/applications/vscode-url-handler.desktop new file mode 100644 index 0000000..bb1270d --- /dev/null +++ b/dot_local/share/applications/vscode-url-handler.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=Vscode +Comment=open vscode urls +Terminal=true +Exec=/home/vladimir/bin/handle_vscode %u